diff options
author | Li Xiaowei <xiaowei.a.li@intel.com> | 2013-07-18 19:18:54 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-09-06 15:28:27 +0800 |
commit | 57d51835107784de2c2847c53393697d359c5e63 (patch) | |
tree | 509d0e36d3c4ebdfae048e7a40aeca669f75f742 | |
parent | f4cf05a9d4821d13bc60681fde3fd9700bb640a5 (diff) |
VPP: remove needless functions and parameters in gpe pipeline
(cherry picked from commit ab0546e76967e5e7c465569f90e192b560678d8c)
-rw-r--r-- | src/gen75_vpp_gpe.c | 1 | ||||
-rw-r--r-- | src/gen75_vpp_gpe.h | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/gen75_vpp_gpe.c b/src/gen75_vpp_gpe.c index 70f229b..236ccaf 100644 --- a/src/gen75_vpp_gpe.c +++ b/src/gen75_vpp_gpe.c @@ -595,7 +595,6 @@ gen75_gpe_context_init(VADriverContextP ctx) gpe_ctx->vfe_state.urb_entry_size = 59 - 1; gpe_ctx->vfe_state.curbe_allocation_size = CURBE_ALLOCATION_SIZE - 1; - vpp_gpe_ctx->vpp_surface2_setup = gen7_gpe_surface2_setup; vpp_gpe_ctx->vpp_media_rw_surface_setup = gen7_gpe_media_rw_surface_setup; vpp_gpe_ctx->vpp_buffer_surface_setup = gen7_gpe_buffer_suface_setup; vpp_gpe_ctx->vpp_media_chroma_surface_setup = gen75_gpe_media_chroma_surface_setup; diff --git a/src/gen75_vpp_gpe.h b/src/gen75_vpp_gpe.h index 5232214..97ee72d 100644 --- a/src/gen75_vpp_gpe.h +++ b/src/gen75_vpp_gpe.h @@ -91,19 +91,10 @@ struct vpp_gpe_context{ unsigned int forward_surf_sum; unsigned int backward_surf_sum; - unsigned int x_step; - unsigned int y_step; - unsigned int in_frame_w; unsigned int in_frame_h; unsigned int is_first_frame; - void (*vpp_surface2_setup)(VADriverContextP ctx, - struct i965_gpe_context *gpe_context, - struct object_surface *obj_surface, - unsigned long binding_table_offset, - unsigned long surface_state_offset); - void (*vpp_media_rw_surface_setup)(VADriverContextP ctx, struct i965_gpe_context *gpe_context, struct object_surface *obj_surface, |