summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-10-09 22:35:49 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2015-10-13 11:06:01 -0400
commiteb4b5ff738db3655838718b743907b04dcb539ff (patch)
treee655c6403d77a2f7c1d9aee2776452bd46270635 /tests
parent488fadebbc4b6716be319c4c7bb7d7e8652a9653 (diff)
downloadffmpeg-streaming-eb4b5ff738db3655838718b743907b04dcb539ff.zip
ffmpeg-streaming-eb4b5ff738db3655838718b743907b04dcb539ff.tar.gz
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')
-rw-r--r--tests/checkasm/vp9dsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/vp9dsp.c b/tests/checkasm/vp9dsp.c
index 37a3ca6..c1e1376 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) {
OpenPOWER on IntegriCloud