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:
f1952f9
)
update image width of packed format
author
Zhao halley
<halley.zhao@intel.com>
Thu, 31 May 2012 09:00:29 +0000
(17:00 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Mon, 25 Jun 2012 01:00:00 +0000
(09:00 +0800)
src/i965_post_processing.c
patch
|
blob
|
history
diff --git
a/src/i965_post_processing.c
b/src/i965_post_processing.c
index
0eea6db
..
3e3a513
100755
(executable)
--- a/
src/i965_post_processing.c
+++ b/
src/i965_post_processing.c
@@
-1257,7
+1257,10
@@
pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_processin
pitch[0] = obj_image->image.pitches[0];
offset[0] = obj_image->image.offsets[0];
- if (interleaved_uv) {
+ if (packed_yuv ) {
+ width[0] = obj_image->image.width * 2;
+ }
+ else if (interleaved_uv) {
width[1] = obj_image->image.width;
height[1] = obj_image->image.height / 2;
pitch[1] = obj_image->image.pitches[1];