From aef6cd4303e96be39a3225a3308c18c81af04b19 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Tue, 28 Jun 2022 13:55:35 +0300 Subject: [PATCH] [tests] set lfnst idx to zero --- tests/mts_tests.c | 5 +++++ 1 file changed, 5 insertions(+) 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 };