summaryrefslogtreecommitdiff
path: root/src/i965_post_processing.h
diff options
context:
space:
mode:
authorZhao, Yakui <yakui.zhao@intel.com>2014-11-13 21:42:11 -0700
committerZhao, Yakui <yakui.zhao@intel.com>2014-11-17 09:24:55 +0800
commit8e34fb34ed402811e512f9d41b14345f3795bac5 (patch)
treec586c893b70a6b55d1b878b9fe1c928a5a9f7a19 /src/i965_post_processing.h
parentb98dc440b705d36ec68926f5238995c60c89984b (diff)
Rendering: Align the origin coordinate of internal buffer during AVS conversion to fix greenline
The video post-processing is based on 16x16 and will be called by vaPutsurface under some scenario. But Sometimes the region of internal buffer is not aligned during VPP AVS conversion. In such case the greenline will appear on some regions. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/i965_post_processing.h')
-rwxr-xr-xsrc/i965_post_processing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i965_post_processing.h b/src/i965_post_processing.h
index 271941e..d434527 100755
--- a/src/i965_post_processing.h
+++ b/src/i965_post_processing.h
@@ -558,7 +558,8 @@ i965_post_processing(
const VARectangle *src_rect,
const VARectangle *dst_rect,
unsigned int va_flags,
- int *has_done_scaling
+ int *has_done_scaling,
+ VARectangle *calibrated_rect
);
VAStatus