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

msdk: map GST_VIDEO_FORMAT_Y410 to VA_FOURCC_Y410

parent 9b43a562
...@@ -513,6 +513,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context, ...@@ -513,6 +513,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
va_chroma = VA_RT_FORMAT_YUV422_10; va_chroma = VA_RT_FORMAT_YUV422_10;
va_fourcc = VA_FOURCC_Y210; va_fourcc = VA_FOURCC_Y210;
break; break;
case GST_VIDEO_FORMAT_Y410:
va_chroma = VA_RT_FORMAT_YUV444_10;
va_fourcc = VA_FOURCC_Y410;
break;
#endif #endif
default: default:
goto error_unsupported_format; 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