diff options
author | Martin Storsjö <martin@martin.st> | 2016-11-14 23:44:06 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-11-16 10:06:32 +0200 |
commit | 81d7f0bbca837afda1f7e60d3ae52ab1360ab44b (patch) | |
tree | b1149bcdd5bc3a7d974b31917440870922d01473 /tests/checkasm/vp9dsp.c | |
parent | e7ae8f7a715843a5089d18e033afb3ee19ab3057 (diff) | |
download | ffmpeg-81d7f0bbca837afda1f7e60d3ae52ab1360ab44b.tar.gz |
checkasm: vp9dsp: Benchmark the dc-only version of idct_idct separately
The dc-only mode is already checked to work correctly above, but this
allows benchmarking this mode for performance tuning, and allows making
sure that it actually is correctly hooked up.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/checkasm/vp9dsp.c')
-rw-r--r-- | tests/checkasm/vp9dsp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 690e0cf536..b9d1c73ea4 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -297,6 +297,12 @@ static void check_itxfm(void) } bench_new(dst, sz * SIZEOF_PIXEL, coef, sz * sz); } + if (txtp == 0 && tx != 4) { + if (check_func(dsp.itxfm_add[tx][txtp], "vp9_inv_%s_%dx%d_dc_add", + txtp_types[txtp], sz, sz)) { + bench_new(dst, sz * SIZEOF_PIXEL, coef, 1); + } + } } } report("itxfm"); |