diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-03-12 16:40:59 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-03-29 16:23:03 +0800 |
commit | d200efacbd8daf115dad5077edd8be710905756e (patch) | |
tree | 570d6cf7c38644f10f38e13d4b3d3d2c6d2a6aa1 /src/gen6_mfd.h | |
parent | 7e717c78b060936d5fec714b26aa00b682d216b8 (diff) | |
download | libva-intel-driver-d200efacbd8daf115dad5077edd8be710905756e.tar.gz libva-intel-driver-d200efacbd8daf115dad5077edd8be710905756e.tar.bz2 libva-intel-driver-d200efacbd8daf115dad5077edd8be710905756e.zip |
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
Diffstat (limited to 'src/gen6_mfd.h')
-rw-r--r-- | src/gen6_mfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gen6_mfd.h b/src/gen6_mfd.h index bf06a00..6e20364 100644 --- a/src/gen6_mfd.h +++ b/src/gen6_mfd.h @@ -77,6 +77,8 @@ struct gen6_mfd_context GenBuffer bsd_mpc_row_store_scratch_buffer; GenBuffer mpr_row_store_scratch_buffer; GenBuffer bitplane_read_buffer; + + int wa_mpeg2_slice_vertical_position; }; #endif /* _GEN6_MFD_H_ */ |