Hi, This patch series contains a few changes I was wondering for some time now and had finally some time to work on recently. This is preparatory and minimal work in view to supporting other (WIP) changes.
For convenience, I have placed the code here: <https://github.com/gbeauchesne/FFmpeg/tree/10.vaapi.lavc.fixes> Regards, Gwenole Beauchesne (4): vaapi: define a single pixel format for VA-API (AV_PIX_FMT_VAAPI). vaapi: streamline public context structure. vaapi: fix usage of invalid buffer ids. vaapi: add interfaces to properly initialize context. libavcodec/h263dec.c | 2 +- libavcodec/h264_slice.c | 2 +- libavcodec/mpeg12dec.c | 2 +- libavcodec/vaapi.c | 84 ++++++++++++++++++++++++++++++++++++--------- libavcodec/vaapi.h | 75 +++++++++++++++++++++++++++++++++++++--- libavcodec/vaapi_h264.c | 12 ++++--- libavcodec/vaapi_internal.h | 43 +++++++++++++++++++---- libavcodec/vaapi_mpeg2.c | 10 ++++-- libavcodec/vaapi_mpeg4.c | 15 +++++--- libavcodec/vaapi_vc1.c | 15 +++++--- libavcodec/vc1dec.c | 2 +- libavcodec/version.h | 3 ++ libavutil/pixdesc.c | 9 +++++ libavutil/pixfmt.h | 11 ++++++ libavutil/version.h | 3 ++ 15 files changed, 241 insertions(+), 47 deletions(-) -- 1.9.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel