diff options
author | Jim Bankoski <jimbankoski@google.com> | 2013-07-23 06:51:44 -0700 |
---|---|---|
committer | Jim Bankoski <jimbankoski@google.com> | 2013-07-23 06:51:44 -0700 |
commit | 86a9dec73cb1a7c05f33f0ed5b5134882d831de9 (patch) | |
tree | ccc99f82a068283a750dddb0034af24a525b2c5a /vp9/encoder/vp9_encodemb.c | |
parent | 7c134bc0cdad93bf2b6037ca56e91a6af74eadba (diff) | |
download | libvpx-86a9dec73cb1a7c05f33f0ed5b5134882d831de9.tar libvpx-86a9dec73cb1a7c05f33f0ed5b5134882d831de9.tar.gz libvpx-86a9dec73cb1a7c05f33f0ed5b5134882d831de9.tar.bz2 libvpx-86a9dec73cb1a7c05f33f0ed5b5134882d831de9.zip |
clean up bw, bh
many structures use bw and bh and they have different meanings. This cl attempts
to start this clean up and remove unneccessary 2 step look up log and then
shift operations...
also removed partition type multiple operation code in bitstream.c.
Change-Id: I7e03e552bdfc0939738e430862e3073d30fdd5db
Diffstat (limited to 'vp9/encoder/vp9_encodemb.c')
-rw-r--r-- | vp9/encoder/vp9_encodemb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodemb.c b/vp9/encoder/vp9_encodemb.c index 6a918926d..28f8d0807 100644 --- a/vp9/encoder/vp9_encodemb.c +++ b/vp9/encoder/vp9_encodemb.c @@ -441,7 +441,7 @@ void xform_quant(int plane, int block, BLOCK_SIZE_TYPE bsize, TX_TYPE tx_type; const int16_t *scan, *iscan; uint16_t *eob = &pd->eobs[block]; - const int bwl = b_width_log2(bsize) - pd->subsampling_x, bw = 1 << bwl; + const int bwl = plane_block_width_log2by4(bsize, pd), bw = 1 << bwl; const int twl = bwl - tx_size, twmask = (1 << twl) - 1; int xoff, yoff; int16_t *src_diff; |