Commit 81d7f0bb authored by Martin Storsjö's avatar Martin Storsjö

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: 's avatarMartin Storsjö <martin@martin.st>
parent e7ae8f7a
...@@ -297,6 +297,12 @@ static void check_itxfm(void) ...@@ -297,6 +297,12 @@ static void check_itxfm(void)
} }
bench_new(dst, sz * SIZEOF_PIXEL, coef, sz * sz); 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"); report("itxfm");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment