msdk: Add more video format mapping

BGRx format can be supported with Msdk's RGB4
This commit is contained in:
Sreerenj Balachandran 2018-04-24 16:46:20 -08:00
parent 5184f85d77
commit 96c6a04d7a

View file

@ -56,6 +56,7 @@ static const struct map gst_msdk_video_format_to_mfx_map[] = {
GST_VIDEO_INFO_TO_MFX_MAP (YUY2, YUV422, YUY2),
GST_VIDEO_INFO_TO_MFX_MAP (UYVY, YUV422, UYVY),
GST_VIDEO_INFO_TO_MFX_MAP (BGRA, YUV444, RGB4),
GST_VIDEO_INFO_TO_MFX_MAP (BGRx, YUV444, RGB4),
{0, 0, 0}
};