summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaihao Xiang <haihao.xiang@intel.com>2019-03-08 12:22:52 +0800
committerTim-Philipp Müller <tim@centricular.com>2019-03-25 09:50:33 +0000
commitac1408874bfe2e58b89594ca889d5840ac3816f5 (patch)
tree590691a2e9e03e3aab173fdb839a84c6a9c4e7e0
parent8389e88840b9e2c7abc1b78f71c75a8d7c094553 (diff)
downloadgstreamer-plugins-bad-ac1408874bfe2e58b89594ca889d5840ac3816f5.tar.gz
msdkvpp: add VUYA format in the src and sink pads
-rw-r--r--sys/msdk/gstmsdkvpp.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/msdk/gstmsdkvpp.c b/sys/msdk/gstmsdkvpp.c
index 71d5feccc..4038d666d 100644
--- a/sys/msdk/gstmsdkvpp.c
+++ b/sys/msdk/gstmsdkvpp.c
@@ -53,14 +53,14 @@ GST_DEBUG_CATEGORY_EXTERN (gst_msdkvpp_debug);
#if (MFX_VERSION >= 1028)
#define SUPPORTED_SYSTEM_FORMAT \
- "{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, RGB16, P010_10LE }"
+ "{ NV12, YV12, I420, YUY2, UYVY, VUYA, BGRA, BGRx, RGB16, P010_10LE }"
#define SUPPORTED_DMABUF_FORMAT \
- "{ NV12, BGRA, YUY2, UYVY, RGB16, P010_10LE}"
+ "{ NV12, BGRA, YUY2, UYVY, VUYA, RGB16, P010_10LE}"
#else
#define SUPPORTED_SYSTEM_FORMAT \
- "{ NV12, YV12, I420, YUY2, UYVY, BGRA, BGRx, P010_10LE }"
+ "{ NV12, YV12, I420, YUY2, UYVY, VUYA, BGRA, BGRx, P010_10LE }"
#define SUPPORTED_DMABUF_FORMAT \
- "{ NV12, BGRA, YUY2, UYVY, P010_10LE}"
+ "{ NV12, BGRA, YUY2, UYVY, VUYA, P010_10LE}"
#endif
static GstStaticPadTemplate gst_msdkvpp_sink_factory =
@@ -78,8 +78,9 @@ static GstStaticPadTemplate gst_msdkvpp_src_factory =
GST_PAD_ALWAYS,
GST_STATIC_CAPS (GST_VIDEO_CAPS_MAKE_WITH_FEATURES
(GST_CAPS_FEATURE_MEMORY_DMABUF,
- "{ BGRA, YUY2, UYVY, NV12, BGRx, P010_10LE}") ";"
- GST_VIDEO_CAPS_MAKE ("{ BGRA, NV12, YUY2, UYVY, BGRx, P010_10LE }") ", "
+ "{ BGRA, YUY2, UYVY, NV12, VUYA, BGRx, P010_10LE}") ";"
+ GST_VIDEO_CAPS_MAKE
+ ("{ BGRA, NV12, YUY2, UYVY, VUYA, BGRx, P010_10LE }") ", "
"interlace-mode = (string){ progressive, interleaved, mixed }" ";"));
enum