From 10d8eed3dfeb435c2b05a13884fe461d377eaaf2 Mon Sep 17 00:00:00 2001 From: Nanxin Qin Date: Mon, 27 May 2019 00:22:30 +0800 Subject: [PATCH] media: add interface for checks the video profile. [1/2] 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 --- include/linux/amlogic/media/utils/amstream.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/amlogic/media/utils/amstream.h b/include/linux/amlogic/media/utils/amstream.h index 1343d43..3ff4932 100644 --- a/include/linux/amlogic/media/utils/amstream.h +++ b/include/linux/amlogic/media/utils/amstream.h @@ -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 -- 2.7.4