msdk: map GST_VIDEO_FORMAT_BGR10A2_LE to MFX_FOURCC_A2RGB10

This commit is contained in:
Haihao Xiang 2019-03-22 13:43:23 +08:00 committed by Víctor Manuel Jáquez Leal
parent 58b5d5e10d
commit 53fd4a1564

View file

@ -62,6 +62,7 @@ static const struct map gst_msdk_video_format_to_mfx_map[] = {
GST_VIDEO_INFO_TO_MFX_MAP (RGB16, YUV444, RGB565), GST_VIDEO_INFO_TO_MFX_MAP (RGB16, YUV444, RGB565),
#endif #endif
GST_VIDEO_INFO_TO_MFX_MAP (VUYA, YUV444, AYUV), GST_VIDEO_INFO_TO_MFX_MAP (VUYA, YUV444, AYUV),
GST_VIDEO_INFO_TO_MFX_MAP (BGR10A2_LE, YUV444, A2RGB10),
{0, 0, 0} {0, 0, 0}
}; };