diff options
author | Deb Mukherjee <debargha@google.com> | 2013-11-05 17:25:38 -0800 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2013-11-12 10:13:27 -0800 |
commit | 5ade423774690e2bf877559dc1a1f9547db5dac1 (patch) | |
tree | 877a9fa9e499faaa5acccec5c2eb1c67cc6ea1e5 /vp9/decoder/vp9_detokenize.h | |
parent | e5ed605f01f8b75a8e7db1561bdbb373f8040de3 (diff) | |
download | libvpx-5ade423774690e2bf877559dc1a1f9547db5dac1.tar libvpx-5ade423774690e2bf877559dc1a1f9547db5dac1.tar.gz libvpx-5ade423774690e2bf877559dc1a1f9547db5dac1.tar.bz2 libvpx-5ade423774690e2bf877559dc1a1f9547db5dac1.zip |
Removes conditional statements from band getting
Implements scan order to band map with arrays in both the encoder
and decoder to remove conditional statements.
Encoding seems to be about 1% faster at speed 0, tested on football.
Decoding seems to be about 0.5-1% faster on a set of 25 videos.
Change-Id: Idb233ca0b9e0efd790e30880642e8717e1c5c8dd
Diffstat (limited to 'vp9/decoder/vp9_detokenize.h')
-rw-r--r-- | vp9/decoder/vp9_detokenize.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_detokenize.h b/vp9/decoder/vp9_detokenize.h index 04939ead3..9b8c17a45 100644 --- a/vp9/decoder/vp9_detokenize.h +++ b/vp9/decoder/vp9_detokenize.h @@ -18,6 +18,7 @@ int vp9_decode_block_tokens(VP9_COMMON *cm, MACROBLOCKD *xd, int plane, int block, BLOCK_SIZE plane_bsize, TX_SIZE tx_size, vp9_reader *r, - uint8_t *token_cache); + uint8_t *token_cache, + const uint8_t *band_translate[2]); #endif // VP9_DECODER_VP9_DETOKENIZE_H_ |