msdkvpp: add VUYA format in the src and sink pads
This commit is contained in:
parent
8389e88840
commit
ac1408874b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user