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:
40d6c94
)
Handle the pitch when using RGBX surface in VPP
author
Zhao Yakui
<yakui.zhao@intel.com>
Wed, 3 Apr 2013 01:47:53 +0000
(09:47 +0800)
committer
Yakui Zhao
<yakui.zhao@intel.com>
Wed, 3 Apr 2013 01:47:53 +0000
(09:47 +0800)
Signed-off-by: Ung, Teng En <teng.en.ung@intel.com>
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
2907cf7
..
4e678d3
100755
(executable)
--- a/
src/i965_post_processing.c
+++ b/
src/i965_post_processing.c
@@
-1766,6
+1766,7
@@
gen7_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;