OSDN Git Service

Move the function declaration to an internal header file
authorHaihao Xiang <haihao.xiang@intel.com>
Tue, 15 May 2018 05:02:22 +0000 (13:02 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 3 Jul 2018 06:19:04 +0000 (14:19 +0800)
gen9_p010_scaling_post_processing was added for VPP internal usage only

Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
src/intel_common_vpp_internal.h
src/intel_gen_vppapi.h

index b46a9e5..b0c4e9b 100644 (file)
@@ -146,4 +146,12 @@ gen9_8bit_420_rgb32_scaling_post_processing(VADriverContextP   ctx,
                                             struct i965_surface *dst_surface,
                                             VARectangle *dst_rect);
 
+VAStatus
+gen9_p010_scaling_post_processing(VADriverContextP   ctx,
+                                  struct i965_post_processing_context *pp_context,
+                                  struct i965_surface *src_surface,
+                                  VARectangle *src_rect,
+                                  struct i965_surface *dst_surface,
+                                  VARectangle *dst_rect);
+
 #endif  // _INTEL_COMMON_VPP_INTERNAL_H_
index 30d3138..f3253c4 100644 (file)
@@ -37,15 +37,6 @@ struct i965_surface;
 struct i965_post_processing_context;
 */
 
-extern VAStatus
-gen9_p010_scaling_post_processing(
-    VADriverContextP   ctx,
-    struct i965_post_processing_context *pp_context,
-    struct i965_surface *src_surface,
-    VARectangle *src_rect,
-    struct i965_surface *dst_surface,
-    VARectangle *dst_rect);
-
 VAStatus
 intel_common_scaling_post_processing(VADriverContextP ctx,
                                      struct i965_post_processing_context *pp_context,