From b483f3499a3ddee78f1f77dc4466ae18142fb0de Mon Sep 17 00:00:00 2001 From: Haihao Xiang Date: Fri, 31 May 2019 16:34:54 +0800 Subject: [PATCH] msdkh265dec: add support for main-444-10/main-444-10-intra profile The output format is Y410 --- sys/msdk/gstmsdkh265dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/msdk/gstmsdkh265dec.c b/sys/msdk/gstmsdkh265dec.c index 83b46ad46c..1d4dc4967f 100644 --- a/sys/msdk/gstmsdkh265dec.c +++ b/sys/msdk/gstmsdkh265dec.c @@ -48,19 +48,19 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_CAPS ("video/x-h265, " "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], " "stream-format = (string) byte-stream , alignment = (string) au , " - "profile = (string) { main, main-10, main-422-10, main-422-10-intra, main-444 } ") + "profile = (string) { main, main-10, main-422-10, main-422-10-intra, main-444, main-444-10, main-444-10-intra } ") ); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-raw, " - "format = (string) { NV12, P010_10LE, YUY2, Y210, VUYA }, " + "format = (string) { NV12, P010_10LE, YUY2, Y210, VUYA, Y410 }, " "framerate = (fraction) [0, MAX], " "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ]," "interlace-mode = (string) progressive;" GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, - "{ NV12, P010_10LE, YUY2, Y210, VUYA }") ";") + "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410 }") ";") ); #define gst_msdkh265dec_parent_class parent_class