vpx/vp8
John Koleszar 136857475e Centralize mb skip state calculation
This patch moves the scattered updates to the mb skip state
(mode_info_context->mbmi.mb_skip_coeff) to vp8_tokenize_mb. Recent
changes to the quantizer exposed a bug where if a macroblock
could be coded as a skip but isn't, the encoder would run the
loopfilter but the decoder wouldn't, causing a reference buffer
mismatch.

The loopfilter is controlled by a flag called dc_diff. The decoder
looks at the number of decoded coefficients when setting this flag.
The encoder sets this flag based on the skip state, since any
skippable macroblock should be transmitted as a skip. The coefficient
optimization pass (vp8_optimize_b()) could change the coefficients
such that a block that was not a skip becomes one. The encoder was
not updating the skip state in this situation for intra coded blocks.

The underlying issue predates it, but this bug was recently triggered
by enabling trellis quantization on the Y2 block in commit dcd29e3,
and by changing the quantizer range control in commit 305be4e.

Change-Id: I5cce5da0dbc2d22f7d79ee48149f01e868a64802
2010-10-12 09:03:19 -04:00
..
common nasm: movhps compatibility QWORD->MMWORD 2010-10-04 20:47:19 -04:00
decoder nasm: address labels 'rel label' vice 'wrt rip' 2010-10-04 19:47:54 -04:00
encoder Centralize mb skip state calculation 2010-10-12 09:03:19 -04:00
exports_dec Add getter functions for the interface data symbols 2010-09-23 14:58:43 -04:00
exports_enc Add getter functions for the interface data symbols 2010-09-23 14:58:43 -04:00
vp8_common.mk move reconintra_mt to decoder (for now) 2010-09-24 11:23:06 -04:00
vp8_cx_iface.c Changed defaults & range checking for AltRef params 2010-09-30 10:06:09 +01:00
vp8_dx_iface.c Add getter functions for the interface data symbols 2010-09-23 14:58:43 -04:00
vp8cx_arm.mk Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
vp8cx.mk Use WebM in copyright notice for consistency 2010-09-09 10:01:21 -04:00
vp8dx_arm.mk Update NEON wide idcts 2010-09-09 14:08:12 -04:00
vp8dx.mk move reconintra_mt to decoder (for now) 2010-09-24 11:23:06 -04:00