mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
[tests] set lfnst idx to zero
This commit is contained in:
parent
e25ea52f6f
commit
aef6cd4303
|
@ -109,6 +109,8 @@ static void setup_tests()
|
||||||
cu_info_t tu;
|
cu_info_t tu;
|
||||||
tu.type = CU_INTRA;
|
tu.type = CU_INTRA;
|
||||||
tu.tr_idx = MTS_DST7_DST7 + trafo;
|
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);
|
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;
|
cu_info_t tu;
|
||||||
tu.type = CU_INTRA;
|
tu.type = CU_INTRA;
|
||||||
tu.tr_idx = MTS_DST7_DST7 + trafo;
|
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);
|
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.type = CU_INTRA;
|
||||||
tu.tr_idx = MTS_DST7_DST7 + trafo;
|
tu.tr_idx = MTS_DST7_DST7 + trafo;
|
||||||
tu.lfnst_idx = 0;
|
tu.lfnst_idx = 0;
|
||||||
|
tu.cr_lfnst_idx = 0;
|
||||||
|
|
||||||
int16_t* buf = dct_bufs[trafo * NUM_SIZES + blocksize];
|
int16_t* buf = dct_bufs[trafo * NUM_SIZES + blocksize];
|
||||||
ALIGNED(32) int16_t test_result[LCU_WIDTH * LCU_WIDTH] = { 0 };
|
ALIGNED(32) int16_t test_result[LCU_WIDTH * LCU_WIDTH] = { 0 };
|
||||||
|
|
Loading…
Reference in a new issue