mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
msdk: map GST_VIDEO_FORMAT_RGB16 to VA_FOURCC_RGB565
This commit is contained in:
parent
197f7f569b
commit
a09cff84ce
1 changed files with 4 additions and 0 deletions
|
@ -448,6 +448,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context,
|
||||||
va_chroma = VA_RT_FORMAT_YUV422;
|
va_chroma = VA_RT_FORMAT_YUV422;
|
||||||
va_fourcc = VA_FOURCC_UYVY;
|
va_fourcc = VA_FOURCC_UYVY;
|
||||||
break;
|
break;
|
||||||
|
case GST_VIDEO_FORMAT_RGB16:
|
||||||
|
va_chroma = VA_RT_FORMAT_RGB16;
|
||||||
|
va_fourcc = VA_FOURCC_RGB565;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
goto error_unsupported_format;
|
goto error_unsupported_format;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue