mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavu/hwcontext_vaapi: Add vaapi_drm_format_map support for x2rgb10
Support for allocating frames with x2rgb10 format was added
in c00264f501
, this adds support for importing DMA-BUFs.
This commit is contained in:
parent
3057ce797f
commit
2ec58055f5
@ -1048,6 +1048,9 @@ static const struct {
|
||||
#if defined(VA_FOURCC_Y412) && defined(DRM_FORMAT_XVYU12_16161616)
|
||||
DRM_MAP(Y412, 1, DRM_FORMAT_XVYU12_16161616),
|
||||
#endif
|
||||
#if defined(VA_FOURCC_X2R10G10B10) && defined(DRM_FORMAT_XRGB2101010)
|
||||
DRM_MAP(X2R10G10B10, 1, DRM_FORMAT_XRGB2101010),
|
||||
#endif
|
||||
};
|
||||
#undef DRM_MAP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user