[FFmpeg-devel] [PATCH] HWAccel infrastructure (take 2)

Diego Biurrun diego
Wed Feb 18 11:37:28 CET 2009


On Wed, Feb 18, 2009 at 11:30:56AM +0100, Gwenole Beauchesne wrote:
>
> Here is a new round. BTW, I finally changed my mind and created an  
> avcodec_internal.h header instead.

Just call it internal.h, like we do for the other libs.

> --- /dev/null
> +++ b/libavcodec/avcodec_internal.h
> @@ -0,0 +1,72 @@
> +/*
> + * copyright (c) 2001 Fabrice Bellard

Fabrice did not write this, much less in 2001.  Why do people
continuously come up with this nonsense?


This header should #include its requirements to at least pass 'make
checkheaders'.  In this case I think it means stdint.h and avcodec.h.

> +int ff_hwaccel_decode_slice(AVCodecContext *avctx, const uint8_t *buf, uint32_t buf_offset, uint32_t buf_size);

extra good karma for breaking these long lines

Diego




More information about the ffmpeg-devel mailing list