From: Sunyoung Kang Date: Wed, 28 Nov 2018 05:15:08 +0000 (+0900) Subject: [RAMEN9610-8977][COMMON] media: mfc: support COPY_NOT_CODED_FRAME for VP9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7ddee62c1a004974d3371f6d19872af464c4d4fe;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [RAMEN9610-8977][COMMON] media: mfc: support COPY_NOT_CODED_FRAME for VP9 In the CTS-9.0_r4 version, the below test case is failed option: -m CtsMediaTestCases -t android.media.cts.DecoderConformanceTest#testVP9Other The reason is that the test vector has 'not coded frame' This adds to enable 'COPY_NOT_CODED_FRAME' feature for VP9. Change-Id: I19896516d49e6cc7240dd8c7e8c14e8135051162 Signed-off-by: Sunyoung Kang --- diff --git a/drivers/media/platform/exynos/mfc/mfc_common.h b/drivers/media/platform/exynos/mfc/mfc_common.h index 99f0d8218a11..0e7c28c29862 100644 --- a/drivers/media/platform/exynos/mfc/mfc_common.h +++ b/drivers/media/platform/exynos/mfc/mfc_common.h @@ -131,7 +131,8 @@ #define IS_VP9_ENC(ctx) ((ctx)->codec_mode == MFC_REG_CODEC_VP9_ENC) #define IS_BPG_ENC(ctx) ((ctx)->codec_mode == MFC_REG_CODEC_BPG_ENC) -#define CODEC_NOT_CODED(ctx) (IS_MPEG4_DEC(ctx) || IS_VC1_DEC(ctx) || IS_VC1_RCV_DEC(ctx)) +#define CODEC_NOT_CODED(ctx) (IS_MPEG4_DEC(ctx) || IS_VC1_DEC(ctx) || \ + IS_VC1_RCV_DEC(ctx) || IS_VP9_DEC(ctx)) #define CODEC_INTERLACED(ctx) (IS_H264_DEC(ctx) || IS_H264_MVC_DEC(ctx) || \ IS_MPEG2_DEC(ctx) || IS_MPEG4_DEC(ctx) || \ IS_VC1_DEC(ctx) || IS_VC1_RCV_DEC(ctx))