From 1069c12cf4cd137663d22c02791b746ea6e2aa15 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 2 May 2013 16:40:57 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.50.1