hardware/intel/common/libva
Revision | b9129d15890daf28535bb73c15dd6dee1f883ddf (tree) |
---|---|
Time | 2009-09-15 14:51:25 |
Author | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
i965_drv_driver: use the horizontal position of a slice.
@@ -868,7 +868,7 @@ i965_media_mpeg2_objects(VADriverContextP ctx, struct decode_state *decode_state | ||
868 | 868 | I915_GEM_DOMAIN_SAMPLER, 0, |
869 | 869 | slice_param->slice_data_offset + (slice_param->macroblock_offset >> 3)); |
870 | 870 | OUT_BATCH(ctx, |
871 | - ((0 << 24) | | |
871 | + ((slice_param->slice_horizontal_position << 24) | | |
872 | 872 | (slice_param->slice_vertical_position << 16) | |
873 | 873 | (127 << 8) | |
874 | 874 | (slice_param->macroblock_offset & 0x7))); |