OSDN Git Service
(root)
/
android-x86
/
hardware-intel-libva.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201210b
)
i965_drv_driver: use the horizontal position of a slice.
author
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 15 Sep 2009 05:39:31 +0000
(13:39 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Tue, 15 Sep 2009 05:51:25 +0000
(13:51 +0800)
i965_drv_video/i965_media_mpeg2.c
patch
|
blob
|
history
diff --git
a/i965_drv_video/i965_media_mpeg2.c
b/i965_drv_video/i965_media_mpeg2.c
index
17b4679
..
6a14e9e
100644
(file)
--- 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)));