]> git.sesse.net Git - ffmpeg/commit
lavu/hwcontext_vaapi: add vaapi_format_map support for Y210
authorLinjie Fu <linjie.fu@intel.com>
Wed, 15 Jan 2020 07:00:12 +0000 (15:00 +0800)
committerMark Thompson <sw@jkqxz.net>
Mon, 24 Feb 2020 00:09:51 +0000 (00:09 +0000)
commitf4cd4017bff0bcfb252bc1805ed40e738c6a4803
tree5993b54ca4b717e0f42c355ed13ca8906206237f
parentd2aa1fbfd4c4599fc0ae8f32b5e95ad65546944b
lavu/hwcontext_vaapi: add vaapi_format_map support for Y210

VA_RT_FORMAT describes the desired sampling format for surface.

When creating surface, VA_RT_FORMAT will be used firstly to choose
the expected fourcc/media_format for the surface. And the fourcc
will be revised by the value of VASurfaceAttribPixelFormat.

Add vaapi_format_map support for new pixel_format Y210.
This is fundamental for both VA-API and QSV.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
libavutil/hwcontext_vaapi.c