From 57d51835107784de2c2847c53393697d359c5e63 Mon Sep 17 00:00:00 2001 From: Li Xiaowei Date: Thu, 18 Jul 2013 19:18:54 +0800 Subject: VPP: remove needless functions and parameters in gpe pipeline (cherry picked from commit ab0546e76967e5e7c465569f90e192b560678d8c) --- src/gen75_vpp_gpe.c | 1 - src/gen75_vpp_gpe.h | 9 --------- 2 files changed, 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, -- cgit v1.2.3