diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-10 05:35:49 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-13 18:06:01 +0300 |
commit | eb4b5ff738db3655838718b743907b04dcb539ff (patch) | |
tree | e655c6403d77a2f7c1d9aee2776452bd46270635 /tests/checkasm | |
parent | 488fadebbc4b6716be319c4c7bb7d7e8652a9653 (diff) |
vp9: add itxfm_add eob shortcuts to 10/12bpp functions.
These aren't quite as helpful as the ones in 8bpp, since over there,
we can use pmulhrsw, but here the coefficients have too many bits to
be able to take advantage of pmulhrsw. However, we can still skip
cols for which all coefs are 0, and instead just zero the input data
for the row itx. This helps a few % on overall decoding speed.
Diffstat (limited to 'tests/checkasm')
-rw-r--r-- | tests/checkasm/vp9dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c index 37a3ca6738..c1e13764e2 100644 --- a/tests/checkasm/vp9dsp.c +++ b/tests/checkasm/vp9dsp.c @@ -337,7 +337,7 @@ static void check_itxfm(void) randomize_buffers(); ftx(coef, tx, txtp, sz, bit_depth); - for (sub = (txtp == 0) ? 1 : sz; sub <= sz; sub <<= 1) { + for (sub = (txtp == 0) ? 1 : 2; sub <= sz; sub <<= 1) { int eob; if (sub < sz) { |