summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_onyxd_int.h
diff options
context:
space:
mode:
authorDeb Mukherjee <debargha@google.com>2013-11-05 17:25:38 -0800
committerDeb Mukherjee <debargha@google.com>2013-11-12 10:13:27 -0800
commit5ade423774690e2bf877559dc1a1f9547db5dac1 (patch)
tree877a9fa9e499faaa5acccec5c2eb1c67cc6ea1e5 /vp9/decoder/vp9_onyxd_int.h
parente5ed605f01f8b75a8e7db1561bdbb373f8040de3 (diff)
downloadlibvpx-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_onyxd_int.h')
-rw-r--r--vp9/decoder/vp9_onyxd_int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp9/decoder/vp9_onyxd_int.h b/vp9/decoder/vp9_onyxd_int.h
index 7ad05e6b2..e29b453ff 100644
--- a/vp9/decoder/vp9_onyxd_int.h
+++ b/vp9/decoder/vp9_onyxd_int.h
@@ -54,7 +54,8 @@ typedef struct VP9Decompressor {
ENTROPY_CONTEXT *above_context[MAX_MB_PLANE];
PARTITION_CONTEXT *above_seg_context;
- DECLARE_ALIGNED(16, unsigned char, token_cache[1024]);
+ DECLARE_ALIGNED(16, uint8_t, token_cache[1024]);
+ DECLARE_ALIGNED(16, uint8_t, coefband_trans_8x8plus[1024]);
} VP9D_COMP;
#endif // VP9_DECODER_VP9_ONYXD_INT_H_