vp8: fix support for segmentation-enabled streams.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Apr 2014 15:23:21 +0000 (17:23 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 24 Apr 2014 09:28:27 +0000 (11:28 +0200)
commit61fbb1bba1ad8a41ffae4fd1ba90391adf819b6e
tree676948fcaf4315b2f002985ab52f3edddbadf41a
parent0d3462360f624750233d77771d55f48bc00039e5
vp8: fix support for segmentation-enabled streams.

If segmentation is enabled, then the segmentation map shall be live
across frames until the current frame updates the segment ids. This
means that the driver needs to maintain the segmentation map buffer
allocation and enable writes (resp. reads) whenever necessary.

This fixes decoding of 00-comprehensive-010.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
src/gen7_mfd.h
src/gen8_mfd.c
src/i965_decoder_utils.c
src/i965_decoder_utils.h