projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f58c4
)
Fix the width of the UV surface for AVS on IVB
author
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 27 Jun 2012 07:20:22 +0000
(15:20 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Wed, 27 Jun 2012 07:20:22 +0000
(15:20 +0800)
The width is specified in units of pixel.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c
patch
|
blob
|
history
diff --git
a/src/i965_post_processing.c
b/src/i965_post_processing.c
index
4bb2a74
..
5b0f09c
100755
(executable)
--- a/
src/i965_post_processing.c
+++ b/
src/i965_post_processing.c
@@
-1388,7
+1388,7
@@
gen7_pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_proc
offset[0] = obj_image->image.offsets[0];
if (interleaved_uv) {
- width[1] = obj_image->image.width;
+ width[1] = obj_image->image.width
/ 2
;
height[1] = obj_image->image.height / 2;
pitch[1] = obj_image->image.pitches[1];
offset[1] = obj_image->image.offsets[1];