From 3a833ea38f1231dd940eb129b0f1caccd370ff10 Mon Sep 17 00:00:00 2001 From: Deb Mukherjee Date: Mon, 4 Nov 2013 16:34:18 -0800 Subject: 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 --- vp9/decoder/vp9_onyxd_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vp9/decoder/vp9_onyxd_int.h') 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_ -- cgit v1.2.3