Commit 1069c12c authored by Ronald S. Bultje's avatar Ronald S. Bultje

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
parent 879a2f05
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment