From: Ronald S. Bultje Date: Thu, 2 May 2013 23:40:57 +0000 (-0700) Subject: Fix 16x16-iteration indexing bug in main encode_sb_row loop. X-Git-Tag: v1.3.0~1106^2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1069c12cf4cd137663d22c02791b746ea6e2aa15;p=libvpx 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 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 1dd280095..3b10aa7fd 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -1220,7 +1220,7 @@ static void encode_sb_row(VP9_COMP *cpi, // 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,