vdec: change to support vc1 decoder [1/1]
authorHui Zhang <hui.zhang@amlogic.com>
Thu, 14 Jan 2021 03:07:56 +0000 (11:07 +0800)
committerHui Zhang <hui.zhang@amlogic.com>
Wed, 20 Jan 2021 03:05:34 +0000 (19:05 -0800)
PD#SWPL-39316

Problem:
vdec driver profile report no_single

Solution:
remove no_single in profile,
becuase single mode can be supportted  on SC2

Verify:
AH212

Change-Id: Id5bb11a46d5c65e0417c2c25484334fe471346eb
Signed-off-by: Hui Zhang <hui.zhang@amlogic.com>
drivers/frame_provider/decoder/utils/vdec.c

index a60494eb841039cbad1e95c1cb0f29e1611792bf..e2d44c8a3990f9c66e88e7899d9042ae6ae0441b 100644 (file)
@@ -5580,9 +5580,6 @@ int vdec_module_init(void)
        }
        INIT_REG_NODE_CONFIGS("media.decoder", &vdec_node,
                "vdec", vdec_configs, CONFIG_FOR_RW);
-       if (get_cpu_major_id() >= AM_MESON_CPU_MAJOR_ID_SC2) {
-               amvdec_common_profile.profile = "vdec, no_single";
-       }
        vcodec_profile_register(&amvdec_common_profile);
 
        vcodec_profile_register(&amvdec_input_profile);