Commit 49ae5c2d authored by Haihao Xiang's avatar Haihao Xiang Committed by Víctor Manuel Jáquez Leal

msdkh265dec: add support for main-444 profile

The output format is VUYA
parent 1ee2adc5
...@@ -48,19 +48,19 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", ...@@ -48,19 +48,19 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_STATIC_CAPS ("video/x-h265, " GST_STATIC_CAPS ("video/x-h265, "
"width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], " "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], "
"stream-format = (string) byte-stream , alignment = (string) au , " "stream-format = (string) byte-stream , alignment = (string) au , "
"profile = (string) { main, main-10, main-422-10, main-422-10-intra } ") "profile = (string) { main, main-10, main-422-10, main-422-10-intra, main-444 } ")
); );
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-raw, " GST_STATIC_CAPS ("video/x-raw, "
"format = (string) { NV12, P010_10LE, YUY2, Y210 }, " "format = (string) { NV12, P010_10LE, YUY2, Y210, VUYA }, "
"framerate = (fraction) [0, MAX], " "framerate = (fraction) [0, MAX], "
"width = (int) [ 1, MAX ], height = (int) [ 1, MAX ]," "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ],"
"interlace-mode = (string) progressive;" "interlace-mode = (string) progressive;"
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF, GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_DMABUF,
"{ NV12, P010_10LE, YUY2, Y210 }") ";") "{ NV12, P010_10LE, YUY2, Y210, VUYA }") ";")
); );
#define gst_msdkh265dec_parent_class parent_class #define gst_msdkh265dec_parent_class parent_class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment