Commit 47bb53a8 authored by Haihao Xiang's avatar Haihao Xiang Committed by Víctor Manuel Jáquez Leal

msdk: map GST_VIDEO_FORMAT_Y210 to VA_FOURCC_Y210

parent 24da8ec4
......@@ -493,6 +493,12 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
va_chroma = VA_RT_FORMAT_RGB32_10;
va_fourcc = VA_FOURCC_A2R10G10B10;
break;
#endif
#if VA_CHECK_VERSION(1, 2, 0)
case GST_VIDEO_FORMAT_Y210:
va_chroma = VA_RT_FORMAT_YUV422_10;
va_fourcc = VA_FOURCC_Y210;
break;
#endif
default:
goto error_unsupported_format;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment