summaryrefslogtreecommitdiff
path: root/i965_drv_video
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2009-09-15 13:39:31 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2009-09-15 13:51:25 +0800
commitb9129d15890daf28535bb73c15dd6dee1f883ddf (patch)
tree6d19125c8b1e08a8e0f1e6e5196f0c4bbc5bb92c /i965_drv_video
parent201210bc42750d08ff2f3d8117722f683eade3c2 (diff)
i965_drv_driver: use the horizontal position of a slice.
Diffstat (limited to 'i965_drv_video')
-rw-r--r--i965_drv_video/i965_media_mpeg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i965_drv_video/i965_media_mpeg2.c b/i965_drv_video/i965_media_mpeg2.c
index 17b4679..6a14e9e 100644
--- a/i965_drv_video/i965_media_mpeg2.c
+++ b/i965_drv_video/i965_media_mpeg2.c
@@ -868,7 +868,7 @@ i965_media_mpeg2_objects(VADriverContextP ctx, struct decode_state *decode_state
I915_GEM_DOMAIN_SAMPLER, 0,
slice_param->slice_data_offset + (slice_param->macroblock_offset >> 3));
OUT_BATCH(ctx,
- ((0 << 24) |
+ ((slice_param->slice_horizontal_position << 24) |
(slice_param->slice_vertical_position << 16) |
(127 << 8) |
(slice_param->macroblock_offset & 0x7)));