msdk: map GST_VIDEO_FORMAT_P010_10LE to MFX_FOURCC_P010

This commit is contained in:
Haihao Xiang 2018-10-19 16:23:21 +08:00 committed by Víctor Manuel Jáquez Leal
parent 1d97a6f00e
commit 54451b7303

View file

@ -53,6 +53,7 @@ static const struct map gst_msdk_video_format_to_mfx_map[] = {
GST_VIDEO_INFO_TO_MFX_MAP (NV12, YUV420, NV12),
GST_VIDEO_INFO_TO_MFX_MAP (YV12, YUV420, YV12),
GST_VIDEO_INFO_TO_MFX_MAP (I420, YUV420, YV12),
GST_VIDEO_INFO_TO_MFX_MAP (P010_10LE, YUV420, P010),
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),