diff options
author | Martin Storsjö <martin@martin.st> | 2016-06-28 23:58:04 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-06-29 21:12:05 +0300 |
commit | 67cb2c0f73ec08bdcecd675c1ffe25c3a5b26ef2 (patch) | |
tree | f64b69c2959793e0f2602f72ef7f3fe1da71a4aa | |
parent | fe27792fd779ac4cdd5e57be5f6f488483c307b2 (diff) | |
download | ffmpeg-67cb2c0f73ec08bdcecd675c1ffe25c3a5b26ef2.tar.gz |
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>
-rw-r--r-- | tests/checkasm/hevc_mc.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/tests/checkasm/hevc_mc.c b/tests/checkasm/hevc_mc.c index 7139369b1d..385c33eec7 100644 --- a/tests/checkasm/hevc_mc.c +++ b/tests/checkasm/hevc_mc.c @@ -304,17 +304,25 @@ void checkasm_check_hevc_mc(void) for (bit_depth = 8; bit_depth <= 10; bit_depth++) { ff_hevc_dsp_init(&h, bit_depth); - check_qpel(&h, buf16_0, buf16_1, buf8_0, mcbuffer, bit_depth); - report("qpel"); + } + 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"); + } + 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"); + } + 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"); } + report("weighted_pred"); } |