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 <sy0816.kang@samsung.com>
#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))