diff options
author | 2010-02-21 15:48:03 +0000 | |
---|---|---|
committer | 2010-02-21 15:48:03 +0000 | |
commit | e0bc115b4d20cc2f46ac7773e7a6b3ba5d912f97 (patch) | |
tree | e773a5f9f3a5ab15b1d2e2f2fd570524e3aca8dd /libmpcodecs/vf_vo.c | |
parent | 160b880c4fd10cec41ba2c14c846d0a7e7f21048 (diff) |
cosmetics: Rename struct vf_instance_s --> vf_instance.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30684 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_vo.c')
-rw-r--r-- | libmpcodecs/vf_vo.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libmpcodecs/vf_vo.c b/libmpcodecs/vf_vo.c index 6c4e899d8e..1022e45e0f 100644 --- a/libmpcodecs/vf_vo.c +++ b/libmpcodecs/vf_vo.c @@ -48,10 +48,10 @@ struct vf_priv_s { }; #define video_out (vf->priv->vo) -static int query_format(struct vf_instance_s* vf, unsigned int fmt); /* forward declaration */ -static void draw_slice(struct vf_instance_s* vf, unsigned char** src, int* stride, int w,int h, int x, int y); +static int query_format(struct vf_instance *vf, unsigned int fmt); /* forward declaration */ +static void draw_slice(struct vf_instance *vf, unsigned char** src, int* stride, int w,int h, int x, int y); -static int config(struct vf_instance_s* vf, +static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt){ @@ -93,7 +93,7 @@ static int config(struct vf_instance_s* vf, return 1; } -static int control(struct vf_instance_s* vf, int request, void* data) +static int control(struct vf_instance *vf, int request, void* data) { switch(request){ case VFCTRL_GET_DEINTERLACE: @@ -178,7 +178,7 @@ static int control(struct vf_instance_s* vf, int request, void* data) return CONTROL_UNKNOWN; } -static int query_format(struct vf_instance_s* vf, unsigned int fmt){ +static int query_format(struct vf_instance *vf, unsigned int fmt){ int flags=video_out->control(VOCTRL_QUERY_FORMAT,&fmt); // draw_slice() accepts stride, draw_frame() doesn't: if(flags) @@ -187,7 +187,7 @@ static int query_format(struct vf_instance_s* vf, unsigned int fmt){ return flags; } -static void get_image(struct vf_instance_s* vf, +static void get_image(struct vf_instance *vf, mp_image_t *mpi){ if(!vo_config_count) return; // GET_IMAGE is required for hardware-accelerated formats @@ -196,7 +196,7 @@ static void get_image(struct vf_instance_s* vf, video_out->control(VOCTRL_GET_IMAGE,mpi); } -static int put_image(struct vf_instance_s* vf, +static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ if(!vo_config_count) return 0; // vo not configured? // record pts (potentially modified by filters) for main loop @@ -215,19 +215,19 @@ static int put_image(struct vf_instance_s* vf, return 1; } -static void start_slice(struct vf_instance_s* vf, +static void start_slice(struct vf_instance *vf, mp_image_t *mpi) { if(!vo_config_count) return; // vo not configured? video_out->control(VOCTRL_START_SLICE,mpi); } -static void draw_slice(struct vf_instance_s* vf, +static void draw_slice(struct vf_instance *vf, unsigned char** src, int* stride, int w,int h, int x, int y){ if(!vo_config_count) return; // vo not configured? video_out->draw_slice(src,stride,w,h,x,y); } -static void uninit(struct vf_instance_s* vf) +static void uninit(struct vf_instance *vf) { if (vf->priv) { #ifdef CONFIG_ASS |