VPP: remove needless functions and parameters in gpe pipeline
authorLi Xiaowei <xiaowei.a.li@intel.com>
Thu, 18 Jul 2013 11:18:54 +0000 (19:18 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 6 Sep 2013 07:28:27 +0000 (15:28 +0800)
(cherry picked from commit ab0546e76967e5e7c465569f90e192b560678d8c)

src/gen75_vpp_gpe.c
src/gen75_vpp_gpe.h

index 70f229b..236ccaf 100644 (file)
@@ -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;
index 5232214..97ee72d 100644 (file)
@@ -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,