[FFmpeg-devel] [PATCH v2 1/3] vaapi: define a unique pixel format for VA-API (AV_PIX_FMT_VAAPI).

Michael Niedermayer michael at niedermayer.cc
Wed Aug 19 12:27:55 CEST 2015


On Wed, Aug 19, 2015 at 11:03:04AM +0200, Gwenole Beauchesne wrote:
> Deprecate older VA pixel formats (MOCO, IDCT) as it is now very unlikely
> to ever be useful in the future. Only keep plain AV_PIX_FMT_VAAPI format
> that is aliased to the older VLD variant.
> 
> This is an API change.
> 
> v2: fix build when FF_API_VAAPI=0, mark older pixel formats as
>   deprecated until we reach lavu major+2, amend doc/APIchanges.
> 
> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
> ---
>  doc/APIchanges           |  6 ++++++
>  libavcodec/h263dec.c     |  2 +-
>  libavcodec/h264_slice.c  |  2 +-
>  libavcodec/mpeg12dec.c   |  2 +-
>  libavcodec/vaapi_h264.c  |  2 +-
>  libavcodec/vaapi_mpeg2.c |  2 +-
>  libavcodec/vaapi_mpeg4.c |  4 ++--
>  libavcodec/vaapi_vc1.c   |  4 ++--
>  libavcodec/vc1dec.c      |  2 +-
>  libavutil/pixdesc.c      |  9 +++++++++
>  libavutil/pixfmt.h       | 12 ++++++++++++
>  libavutil/version.h      |  3 +++
>  12 files changed, 40 insertions(+), 10 deletions(-)
> 
> diff --git a/doc/APIchanges b/doc/APIchanges
> index cce2ddb..f5ba678 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -15,6 +15,12 @@ libavutil:     2014-08-09
>  
>  API changes, most recent first:
>  
> +2015-xx-xx - lavc 54.30.0 - pixfmt.h
                     ^^^^^^^
this looks wrong
that version doesnt exist and doesnt end in 100+

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

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150819/ea492e5f/attachment.sig>


More information about the ffmpeg-devel mailing list