shithub: libvpx

Download patch

ref: d03e974fbd0d04c41609357f39442564f8707eb7
parent: 26e24b1dd73a53e46122093b151df7367aac72ce
author: Jingning Han <[email protected]>
date: Thu Jun 6 06:02:08 EDT 2013

Bug fix in rd_pick_inter_mode_sb_

Fix the calculation of step size in height.

Change-Id: I0e0c0175f141f5a41214ae51cef233d13942d3c5

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2552,7 +2552,7 @@
   PARTITION_INFO best_partition;
   int bwsl = b_width_log2(bsize);
   int bws = (1 << bwsl) / 4;  // mode_info step for subsize
-  int bhsl = b_width_log2(bsize);
+  int bhsl = b_height_log2(bsize);
   int bhs = (1 << bhsl) / 4;  // mode_info step for subsize
 
   for (i = 0; i < 4; i++) {