msdkh265dec: add support for main-422-12, main-422-12-intra profiles

The video format is Y212_LE
This commit is contained in:
Haihao Xiang 2020-03-11 14:55:33 +08:00
parent 01edef09a3
commit 3de690ceda

View file

@ -39,7 +39,8 @@
GST_DEBUG_CATEGORY_EXTERN (gst_msdkh265dec_debug); GST_DEBUG_CATEGORY_EXTERN (gst_msdkh265dec_debug);
#define GST_CAT_DEFAULT gst_msdkh265dec_debug #define GST_CAT_DEFAULT gst_msdkh265dec_debug
#define COMMON_FORMAT "{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE }" #define COMMON_FORMAT \
"{ NV12, P010_10LE, YUY2, Y210, VUYA, Y410, P012_LE, Y212_LE }"
/* TODO: update both sink and src dynamically */ /* TODO: update both sink and src dynamically */
static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",