Mercurial > mplayer.hg
diff libmpcodecs/vf_gradfun.c @ 30642:a972c1a4a012
cosmetics: Rename struct vf_instance_s --> vf_instance.
author | diego |
---|---|
date | Sun, 21 Feb 2010 15:48:03 +0000 |
parents | a7b908875c14 |
children | 570e001f2e53 |
line wrap: on
line diff
--- a/libmpcodecs/vf_gradfun.c Sun Feb 21 14:43:36 2010 +0000 +++ b/libmpcodecs/vf_gradfun.c Sun Feb 21 15:48:03 2010 +0000 @@ -273,7 +273,7 @@ } } -static void get_image(struct vf_instance_s* vf, mp_image_t *mpi) +static void get_image(struct vf_instance *vf, mp_image_t *mpi) { if (mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change // ok, we can do pp in-place: @@ -291,7 +291,7 @@ mpi->flags |= MP_IMGFLAG_DIRECT; } -static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts) +static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) { mp_image_t *dmpi = vf->dmpi; int p; @@ -325,7 +325,7 @@ return vf_next_put_image(vf, dmpi, pts); } -static int query_format(struct vf_instance_s* vf, unsigned int fmt) +static int query_format(struct vf_instance *vf, unsigned int fmt) { switch (fmt){ case IMGFMT_YVU9: @@ -347,7 +347,7 @@ return 0; } -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) { @@ -356,7 +356,7 @@ return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); } -static void uninit(struct vf_instance_s* vf) +static void uninit(struct vf_instance *vf) { if (!vf->priv) return; av_free(vf->priv->buf);