diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2018-11-16 14:36:31 +0800 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-11-26 16:47:17 +0000 |
commit | eeb58f64c22b7a4a81deb66772c17762b401481e (patch) | |
tree | 7d8936f6b680af7d26a715649459ea9f44fce4f9 /sys/msdk | |
parent | 7d58424611c124445528dd02cf449b3307ab335a (diff) | |
download | gstreamer-plugins-bad-eeb58f64c22b7a4a81deb66772c17762b401481e.tar.gz |
msdk: create VA_FOURCC_P010 surface from dmabuf
Diffstat (limited to 'sys/msdk')
-rw-r--r-- | sys/msdk/gstmsdkallocator_libva.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/msdk/gstmsdkallocator_libva.c b/sys/msdk/gstmsdkallocator_libva.c index 354376e78..caa955195 100644 --- a/sys/msdk/gstmsdkallocator_libva.c +++ b/sys/msdk/gstmsdkallocator_libva.c @@ -421,6 +421,10 @@ gst_msdk_export_dmabuf_to_vasurface (GstMsdkContext * context, va_chroma = VA_RT_FORMAT_YUV422; va_fourcc = VA_FOURCC_YUY2; break; + case GST_VIDEO_FORMAT_P010_10LE: + va_chroma = VA_RT_FORMAT_YUV420_10; + va_fourcc = VA_FOURCC_P010; + break; default: goto error_unsupported_format; } |