checkasm: hevc: Iterate over features first, then over bitdepths
This avoids listing the same feature multiple times in the test output. Previously the output contained something like this: SSE2: - hevc_mc.qpel [OK] - hevc_mc.epel [OK] - hevc_mc.unweighted_pred [OK] - hevc_mc.qpel [OK] - hevc_mc.epel [OK] - hevc_mc.unweighted_pred [OK] Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -304,17 +304,25 @@ void checkasm_check_hevc_mc(void)
|
|||||||
|
|
||||||
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
||||||
ff_hevc_dsp_init(&h, bit_depth);
|
ff_hevc_dsp_init(&h, bit_depth);
|
||||||
|
|
||||||
check_qpel(&h, buf16_0, buf16_1, buf8_0, mcbuffer, bit_depth);
|
check_qpel(&h, buf16_0, buf16_1, buf8_0, mcbuffer, bit_depth);
|
||||||
report("qpel");
|
|
||||||
|
|
||||||
check_epel(&h, buf16_0, buf16_1, buf8_0, mcbuffer, bit_depth);
|
|
||||||
report("epel");
|
|
||||||
|
|
||||||
check_unweighted_pred(&h, buf8_0, buf8_1, buf16_0, buf16_1, bit_depth);
|
|
||||||
report("unweighted_pred");
|
|
||||||
|
|
||||||
check_weighted_pred(&h, buf8_0, buf8_1, buf16_0, buf16_1, bit_depth);
|
|
||||||
report("weighted_pred");
|
|
||||||
}
|
}
|
||||||
|
report("qpel");
|
||||||
|
|
||||||
|
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
||||||
|
ff_hevc_dsp_init(&h, bit_depth);
|
||||||
|
check_epel(&h, buf16_0, buf16_1, buf8_0, mcbuffer, bit_depth);
|
||||||
|
}
|
||||||
|
report("epel");
|
||||||
|
|
||||||
|
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
||||||
|
ff_hevc_dsp_init(&h, bit_depth);
|
||||||
|
check_unweighted_pred(&h, buf8_0, buf8_1, buf16_0, buf16_1, bit_depth);
|
||||||
|
}
|
||||||
|
report("unweighted_pred");
|
||||||
|
|
||||||
|
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
||||||
|
ff_hevc_dsp_init(&h, bit_depth);
|
||||||
|
check_weighted_pred(&h, buf8_0, buf8_1, buf16_0, buf16_1, bit_depth);
|
||||||
|
}
|
||||||
|
report("weighted_pred");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user