From: Nanxin Qin Date: Sun, 26 May 2019 16:22:30 +0000 (+0800) Subject: media: add interface for checks the video profile. [1/2] X-Git-Tag: khadas-vims-v0.9.6-release~306 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10d8eed3dfeb435c2b05a13884fe461d377eaaf2;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- 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