mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-08 14:29:15 +00:00
lavu/hwcontext_vaapi: add vaapi_format_map support for x2rgb10
Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
1 parent
c721b45014
commit
c00264f501
1 file changed
+3
@@ -136,6 +136,9 @@ static const VAAPIFormatDescriptor vaapi_format_map[] = {
|
||||
#endif
|
||||
MAP(ARGB, RGB32, ARGB, 0),
|
||||
MAP(XRGB, RGB32, 0RGB, 0),
|
||||
#ifdef VA_FOURCC_X2R10G10B10
|
||||
MAP(X2R10G10B10, RGB32_10, X2RGB10, 0),
|
||||
#endif
|
||||
};
|
||||
#undef MAP
|
||||
|
||||
|
||||
Reference in new issue
Block a user