summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.h
diff options
context:
space:
mode:
authorHangyu Kuang <hkuang@google.com>2015-02-20 10:58:12 -0800
committerHangyu Kuang <hkuang@google.com>2015-02-20 11:12:42 -0800
commit8724d31d126b9a147dd80ca61010cb642ec375dd (patch)
treebfea9009cf09aaf03bbdea72f19e8e63c9f9294c /vp9/encoder/vp9_encoder.h
parenta1b402e71caa78695d2350d5b05c802bd464f80c (diff)
downloadlibvpx-8724d31d126b9a147dd80ca61010cb642ec375dd.tar.gz
Move dequant table from VP9_COMMON to VP9_COMP as decoder
does not need it any more. This reduces VP9_COMMON size from 25776 bytes to 17584 bytes(~31%). Change-Id: Ic5daea732ccefb6d512b048af7983f0efe08589b
Diffstat (limited to 'vp9/encoder/vp9_encoder.h')
-rw-r--r--vp9/encoder/vp9_encoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.h b/vp9/encoder/vp9_encoder.h
index 35c5a487b..69edfded1 100644
--- a/vp9/encoder/vp9_encoder.h
+++ b/vp9/encoder/vp9_encoder.h
@@ -269,6 +269,8 @@ struct EncWorkerData;
typedef struct VP9_COMP {
QUANTS quants;
ThreadData td;
+ DECLARE_ALIGNED(16, int16_t, y_dequant[QINDEX_RANGE][8]);
+ DECLARE_ALIGNED(16, int16_t, uv_dequant[QINDEX_RANGE][8]);
VP9_COMMON common;
VP9EncoderConfig oxcf;
struct lookahead_ctx *lookahead;