summaryrefslogtreecommitdiff
path: root/vp8/encoder/block.h
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2011-04-13 13:45:58 -0400
committerJohann <johannkoenig@google.com>2011-04-13 13:50:12 -0400
commit70f30aa95d70d07808af01c368a5687cbc06e6a5 (patch)
tree120382efe76d2a304e11fbda485d8531f1b9f444 /vp8/encoder/block.h
parent538f1104078c444f962ed615b873d2d551758843 (diff)
downloadlibvpx-70f30aa95d70d07808af01c368a5687cbc06e6a5.tar
libvpx-70f30aa95d70d07808af01c368a5687cbc06e6a5.tar.gz
libvpx-70f30aa95d70d07808af01c368a5687cbc06e6a5.tar.bz2
libvpx-70f30aa95d70d07808af01c368a5687cbc06e6a5.zip
store quant_shift as an unsigned char
in encodframe.c, quant_shift is set to 0 or 1 in vp8cx_invert_quant only use 8 bits to store this, instead of 16. will allow saving an xmm register in an updated version of the regular quantize Change-Id: Ie88c47fe2aff5af0283dab1147fb2791e4b12f90
Diffstat (limited to 'vp8/encoder/block.h')
-rw-r--r--vp8/encoder/block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/block.h b/vp8/encoder/block.h
index 5a2568dde..6de4c8517 100644
--- a/vp8/encoder/block.h
+++ b/vp8/encoder/block.h
@@ -34,7 +34,7 @@ typedef struct
// 16 Y blocks, 4 U blocks, 4 V blocks each with 16 entries
short *quant;
short *quant_fast;
- short *quant_shift;
+ unsigned char *quant_shift;
short *zbin;
short *zrun_zbin_boost;
short *round;