projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
821b312
)
Handle the pitch when using RGBX surface in VPP for BDW
author
Zhao Yakui
<yakui.zhao@intel.com>
Thu, 23 May 2013 02:22:09 +0000
(10:22 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:17:02 +0000
(10:17 +0800)
Signed-off-by: Zhao Yakui <yakui.zhao@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
c329600
..
7704f2d
100755
(executable)
--- a/
src/i965_post_processing.c
+++ b/
src/i965_post_processing.c
@@
-2393,6
+2393,7
@@
gen8_pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_proc
} else if (rgbx_format) {
if (is_target)
width[0] = obj_surface->orig_width * 4; /* surface format is R8, so quad the width */
+ pitch[0] = obj_surface->width * 4;
}
width[1] = obj_surface->cb_cr_width;