mpeg2: fix incorrect slice_vertical_position from codec layers.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 12 Mar 2012 15:40:59 +0000 (16:40 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 18 Mar 2012 08:10:11 +0000 (09:10 +0100)
commit298dc939835e3080c9330b4e52e8dfac25bf3060
treea985f174ab987722f1ed56febe9889094feda33f
parent2447c981a84cd9dc1eddf8e4258cef555503024f
mpeg2: fix incorrect slice_vertical_position from codec layers.

Correctly emit slice_vertical_position, as per the definition from
the bitstream, to the HW decoder (MFD_MPEG2_BSD_OBJECT).

Add workaround for players that have not fixed their usage of
slice_vertical_position. That field shall represent the slice vertical
position as it comes from the bitstream.

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