diff options
author | Deb Mukherjee <debargha@google.com> | 2013-11-04 16:34:18 -0800 |
---|---|---|
committer | Deb Mukherjee <debargha@google.com> | 2013-11-05 09:32:58 -0800 |
commit | 3a833ea38f1231dd940eb129b0f1caccd370ff10 (patch) | |
tree | d9245e799b3862a8636216e13c77811bc86fa525 /vp9/decoder/vp9_onyxd_int.h | |
parent | be8a4cbbdd3fad2d7bf72ac12e3b66df8fcb3434 (diff) | |
download | libvpx-3a833ea38f1231dd940eb129b0f1caccd370ff10.tar libvpx-3a833ea38f1231dd940eb129b0f1caccd370ff10.tar.gz libvpx-3a833ea38f1231dd940eb129b0f1caccd370ff10.tar.bz2 libvpx-3a833ea38f1231dd940eb129b0f1caccd370ff10.zip |
token_cache changes in decoder
Removes stack-alocation of token_cache in decode_coefs function
Seems to achieve about 1% decode speed improvement as tested on
25 480p videos.
Change-Id: I8e7eb3361fa09d9654dfad0677a6d606701fdc6e
Diffstat (limited to 'vp9/decoder/vp9_onyxd_int.h')
-rw-r--r-- | vp9/decoder/vp9_onyxd_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/decoder/vp9_onyxd_int.h b/vp9/decoder/vp9_onyxd_int.h index 83ea96771..7c4c9db36 100644 --- a/vp9/decoder/vp9_onyxd_int.h +++ b/vp9/decoder/vp9_onyxd_int.h @@ -49,6 +49,8 @@ typedef struct VP9Decompressor { ENTROPY_CONTEXT *above_context[MAX_MB_PLANE]; PARTITION_CONTEXT *above_seg_context; + + DECLARE_ALIGNED(16, unsigned char, token_cache[1024]); } VP9D_COMP; #endif // VP9_DECODER_VP9_ONYXD_INT_H_ |