diff --git a/tests/mts_tests.c b/tests/mts_tests.c index 4fe7dad9..f607b77d 100644 --- a/tests/mts_tests.c +++ b/tests/mts_tests.c @@ -109,6 +109,8 @@ static void setup_tests() cu_info_t tu; tu.type = CU_INTRA; tu.tr_idx = MTS_DST7_DST7 + trafo; + tu.lfnst_idx = 0; + tu.cr_lfnst_idx = 0; mts_generic(UVG_BIT_DEPTH, COLOR_Y, &tu, 1 << (LCU_MIN_LOG_W + block), dct_bufs[trafo*NUM_SIZES+block], dct_result[trafo][block], UVG_MTS_BOTH); } } @@ -130,6 +132,8 @@ static void setup_tests() cu_info_t tu; tu.type = CU_INTRA; tu.tr_idx = MTS_DST7_DST7 + trafo; + tu.lfnst_idx = 0; + tu.cr_lfnst_idx = 0; idct_generic(UVG_BIT_DEPTH, COLOR_Y, &tu, 1 << (LCU_MIN_LOG_W + block), dct_bufs[trafo * NUM_SIZES + block], idct_result[trafo][block], UVG_MTS_BOTH); } } @@ -158,6 +162,7 @@ TEST dct(void) tu.type = CU_INTRA; tu.tr_idx = MTS_DST7_DST7 + trafo; tu.lfnst_idx = 0; + tu.cr_lfnst_idx = 0; int16_t* buf = dct_bufs[trafo * NUM_SIZES + blocksize]; ALIGNED(32) int16_t test_result[LCU_WIDTH * LCU_WIDTH] = { 0 };