diff options
author | Ronald S. Bultje <rbultje@google.com> | 2013-04-13 12:40:34 -0700 |
---|---|---|
committer | Ronald S. Bultje <rbultje@google.com> | 2013-04-15 09:58:27 -0700 |
commit | f551c2d1c07fef2fc6d1b4b08737c66ac2a89f07 (patch) | |
tree | 76249f432ea89a0bd6098244b53644a115394407 /vp9/encoder/vp9_quantize.c | |
parent | aa53ae05910dae16826a1e671e041dcd7aab15ed (diff) | |
download | libvpx-f551c2d1c07fef2fc6d1b4b08737c66ac2a89f07.tar libvpx-f551c2d1c07fef2fc6d1b4b08737c66ac2a89f07.tar.gz libvpx-f551c2d1c07fef2fc6d1b4b08737c66ac2a89f07.tar.bz2 libvpx-f551c2d1c07fef2fc6d1b4b08737c66ac2a89f07.zip |
Fix width/height switch-up in U/V SB quantize code.
Change-Id: I697514efd6024e1b4153bbde58ae5e323b030981
Diffstat (limited to 'vp9/encoder/vp9_quantize.c')
-rw-r--r-- | vp9/encoder/vp9_quantize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_quantize.c b/vp9/encoder/vp9_quantize.c index 83fa1dafd..1401bd64e 100644 --- a/vp9/encoder/vp9_quantize.c +++ b/vp9/encoder/vp9_quantize.c @@ -477,7 +477,7 @@ void vp9_quantize_sbuv_32x32(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { void vp9_quantize_sbuv_16x16(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { const int bwl = mb_width_log2(bsize); - const int bhl = mb_width_log2(bsize); + const int bhl = mb_height_log2(bsize); const int uoff = 16 << (bhl + bwl); int i; @@ -487,7 +487,7 @@ void vp9_quantize_sbuv_16x16(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { void vp9_quantize_sbuv_8x8(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { const int bwl = mb_width_log2(bsize); - const int bhl = mb_width_log2(bsize); + const int bhl = mb_height_log2(bsize); const int uoff = 16 << (bhl + bwl); int i; @@ -497,7 +497,7 @@ void vp9_quantize_sbuv_8x8(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { void vp9_quantize_sbuv_4x4(MACROBLOCK *x, BLOCK_SIZE_TYPE bsize) { const int bwl = mb_width_log2(bsize); - const int bhl = mb_width_log2(bsize); + const int bhl = mb_height_log2(bsize); const int uoff = 16 << (bhl + bwl); int i; |