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)
committerXiang, Haihao <haihao.xiang@intel.com>
Thu, 29 Mar 2012 08:23:03 +0000 (16:23 +0800)
commitd200efacbd8daf115dad5077edd8be710905756e
tree570d6cf7c38644f10f38e13d4b3d3d2c6d2a6aa1
parent7e717c78b060936d5fec714b26aa00b682d216b8
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>
(cherry picked from commit 298dc939835e3080c9330b4e52e8dfac25bf3060)

Conflicts:

NEWS
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