media: add interface for checks the video profile. [1/2]
authorNanxin Qin <nanxin.qin@amlogic.com>
Sun, 26 May 2019 16:22:30 +0000 (00:22 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 07:18:12 +0000 (15:18 +0800)
PD#SWPL-8648

Problem:
add interface for checks the video profile

Solution:
add interface for checks the video profile

Verify:
u212

Change-Id: I95d0df62fae2debc6c0cc5a4d2adf002122b7630
Signed-off-by: Nanxin Qin <nanxin.qin@amlogic.com>
include/linux/amlogic/media/utils/amstream.h

index 1343d43..3ff4932 100644 (file)
@@ -752,11 +752,10 @@ struct av_param_qosinfo_t {
        struct vframe_qos_s vframe_qos[QOS_FRAME_NUM];
 };
 
-
-#define SUPPORT_VDEC_NUM       (20)
+#define SUPPORT_VDEC_NUM       (64)
 int vcodec_profile_register(const struct codec_profile_t *vdec_profile);
 ssize_t vcodec_profile_read(char *buf);
-
+bool is_support_profile(char *name);
 #ifdef __KERNEL__
 #include <linux/interrupt.h>