shithub: libvpx

Download patch

ref: 1069c12cf4cd137663d22c02791b746ea6e2aa15
parent: 879a2f053d9ff9d596e939688940fe365bccac38
author: Ronald S. Bultje <rbultje@google.com>
date: Thu May 2 12:40:57 EDT 2013

Fix 16x16-iteration indexing bug in main encode_sb_row loop.

With this, encoder/decoder appear to match with sb8x8 experiment.
Needs some larger-scale testing.

Change-Id: I44d3cac37b3c98264985ed0a0fc763c30089aa64

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1220,7 +1220,7 @@
 
         // Dummy encode, do not do the tokenization
 #if CONFIG_SB8X8
-        encode_sb(cpi, tp, mi_row + y_idx, mi_col + x_idx, 0,
+        encode_sb(cpi, tp, mi_row + y_idx_m, mi_col + x_idx_m, 0,
                   BLOCK_SIZE_MB16X16, mb_partitioning[i][j], NULL, NULL);
 #else
         encode_macroblock(cpi, tp, 0, mi_row + y_idx_m,