ref: fd4eed3b08dc3b8a295f4e7d602435f0b9e364a3
parent: a3664258c5cb8295c128c157bf73363434635960
author: Ronald S. Bultje <[email protected]>
date: Thu Jun 27 15:50:23 EDT 2013
Fix tile independence with both column tiling and static_thresh set. Change-Id: I0b2be0ec2c410a527f88b95a44f24ac967b2dac1
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2132,9 +2132,8 @@
vp9_tokenize_sb(cpi, xd, t, !output_enabled,
(bsize < BLOCK_SIZE_SB8X8) ? BLOCK_SIZE_SB8X8 : bsize);
} else {
- // FIXME(rbultje): not tile-aware (mi - 1)
- int mb_skip_context = (mi - 1)->mbmi.mb_skip_coeff
- + (mi - mis)->mbmi.mb_skip_coeff;
+ int mb_skip_context = xd->left_available ? (mi - 1)->mbmi.mb_skip_coeff : 0;
+ mb_skip_context += (mi - mis)->mbmi.mb_skip_coeff;
mbmi->mb_skip_coeff = 1;
if (output_enabled)