[FFmpeg-devel] [PATCH][VAAPI][1/6] Add VA API formats

Michael Niedermayer michaelni
Thu Feb 26 12:29:33 CET 2009


On Thu, Feb 26, 2009 at 10:45:32AM +0100, Gwenole Beauchesne wrote:
> Hi,
>
> This patch reserves a few PIX_FMTs for VA API and adds PIX_FMT_VAAPI_VLD to 
> the default ff_pixfmt_list_420[] list.

> commit 7e07c0fcb10da17b1a48f489ef2a5d726ab5bbfd
> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
> Date:   Wed Feb 25 15:39:10 2009 +0000
> 
>     Add VA API VLD pixfmt to default ff_pixfmt_list_420[].
> 
> commit 959284b434261af93162b384e27b986779a8e580
> Author: Gwenole Beauchesne <gbeauchesne at splitted-desktop.com>
> Date:   Wed Feb 25 15:05:52 2009 +0000
> 
>     Add VA API pixel formats.
[...]
> diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> index 38aa4d2..83a0842 100644
> --- a/libavcodec/mpegvideo.c
> +++ b/libavcodec/mpegvideo.c
> @@ -76,6 +76,7 @@ const uint8_t ff_mpeg1_dc_scale_table[128]={
>  };
>  
>  const enum PixelFormat ff_pixfmt_list_420[] = {
> +    PIX_FMT_VAAPI_VLD,
>      PIX_FMT_YUV420P,
>      PIX_FMT_NONE
>  };

considering that this list is used by some codecs that VAAPI does not support
this isnt correct

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090226/e71897c2/attachment.pgp>



More information about the ffmpeg-devel mailing list