summaryrefslogtreecommitdiff
path: root/src/i965_post_processing.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-03-04 16:23:08 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-04-23 13:47:24 +0800
commit8e665f172f23acd3a73c387ab10a0eec35655209 (patch)
tree105b748fdca23cd20324e73fc79cb71da60aa712 /src/i965_post_processing.h
parent8eb9d710330410867831c32db0fd0257b81d8f9f (diff)
Use the XXX_post_processing as callback function for post-processing
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit b7da102c3d237ac5553f8c8ada1bb155e5b8ea75)
Diffstat (limited to 'src/i965_post_processing.h')
-rwxr-xr-xsrc/i965_post_processing.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/i965_post_processing.h b/src/i965_post_processing.h
index e525a1a..e76e9c5 100755
--- a/src/i965_post_processing.h
+++ b/src/i965_post_processing.h
@@ -526,6 +526,15 @@ struct i965_post_processing_context
int idrt_size;
unsigned int curbe_offset;
int curbe_size;
+
+ VAStatus (*intel_post_processing)(VADriverContextP ctx,
+ struct i965_post_processing_context *pp_context,
+ const struct i965_surface *src_surface,
+ const VARectangle *src_rect,
+ struct i965_surface *dst_surface,
+ const VARectangle *dst_rect,
+ int pp_index,
+ void * filter_param);
};
struct i965_proc_context