[FFmpeg-devel] [PATCH] Port VDPAU to AVHWAccel infrastructure

Stefano Sabatini stefano.sabatini-lala
Mon Jan 4 12:28:02 CET 2010


On date Monday 2010-01-04 11:28:47 +0100, Gwenole Beauchesne encoded:
[...]
> diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
> index ddd17fb..1f17073 100644
> --- a/libavutil/pixfmt.h
> +++ b/libavutil/pixfmt.h
> @@ -124,6 +124,7 @@ enum PixelFormat {
>      PIX_FMT_YUV444P16LE,  ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
>      PIX_FMT_YUV444P16BE,  ///< planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian
>      PIX_FMT_VDPAU_MPEG4,  ///< MPEG4 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
> +    PIX_FMT_VDPAU,     ///< HW decoding with VDPAU, data[3] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers
>      PIX_FMT_NB,        ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions
>  };

Missing libavutil/pixdesc.c entry addition.

Also maybe the already existing PIX_FMT_VDPAU_ defines should be
marked for deletion at the next major bump.

Regards.
-- 
FFmpeg = Fast and Fantastic Mystic Powerful Extended God



More information about the ffmpeg-devel mailing list