diff options
author | anonymous <anonymous> | 2012-12-05 02:43:08 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-12-06 15:38:37 +0400 |
commit | de42d2a347991a53a2814e52d21d65ddbacf7119 (patch) | |
tree | fb3b9c754178ac0e46a962b4393db4b357113b8c /libavfilter/libmpcodecs/vf_pp7.c | |
parent | 0f65d56080114c59d8c6d3aa3a5f7b7e24966fc1 (diff) |
lavfi/mp: add ff_ prefix to exported symbols
Diffstat (limited to 'libavfilter/libmpcodecs/vf_pp7.c')
-rw-r--r-- | libavfilter/libmpcodecs/vf_pp7.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/libmpcodecs/vf_pp7.c b/libavfilter/libmpcodecs/vf_pp7.c index eae30bf7a1..7f0e39d6ff 100644 --- a/libavfilter/libmpcodecs/vf_pp7.c +++ b/libavfilter/libmpcodecs/vf_pp7.c @@ -354,13 +354,13 @@ static int config(struct vf_instance *vf, vf->priv->temp_stride= (width+16+15)&(~15); vf->priv->src = av_malloc(vf->priv->temp_stride*(h+8)*sizeof(uint8_t)); - return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); + return ff_vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); } 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 (or pp disabled): - vf->dmpi=vf_get_image(vf->next,mpi->imgfmt, + vf->dmpi=ff_vf_get_image(vf->next,mpi->imgfmt, mpi->type, mpi->flags | MP_IMGFLAG_READABLE, mpi->width, mpi->height); mpi->planes[0]=vf->dmpi->planes[0]; mpi->stride[0]=vf->dmpi->stride[0]; @@ -381,11 +381,11 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ dmpi=vf->dmpi; }else{ // no DR, so get a new image! hope we'll get DR buffer: - dmpi=vf_get_image(vf->next,mpi->imgfmt, + dmpi=ff_vf_get_image(vf->next,mpi->imgfmt, MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_PREFER_ALIGNED_STRIDE, mpi->width,mpi->height); - vf_clone_mpi_attributes(dmpi, mpi); + ff_vf_clone_mpi_attributes(dmpi, mpi); } vf->priv->mpeg2= mpi->qscale_type; @@ -400,13 +400,13 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ } #if HAVE_MMX - if(gCpuCaps.hasMMX) __asm__ volatile ("emms\n\t"); + if(ff_gCpuCaps.hasMMX) __asm__ volatile ("emms\n\t"); #endif #if HAVE_MMX2 - if(gCpuCaps.hasMMX2) __asm__ volatile ("sfence\n\t"); + if(ff_gCpuCaps.hasMMX2) __asm__ volatile ("sfence\n\t"); #endif - return vf_next_put_image(vf,dmpi, pts); + return ff_vf_next_put_image(vf,dmpi, pts); } static void uninit(struct vf_instance *vf){ @@ -433,13 +433,13 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){ case IMGFMT_444P: case IMGFMT_422P: case IMGFMT_411P: - return vf_next_query_format(vf,fmt); + return ff_vf_next_query_format(vf,fmt); } return 0; } static int control(struct vf_instance *vf, int request, void* data){ - return vf_next_control(vf,request,data); + return ff_vf_next_control(vf,request,data); } static int vf_open(vf_instance_t *vf, char *args){ @@ -467,12 +467,12 @@ static int vf_open(vf_instance_t *vf, char *args){ } #if HAVE_MMX - if(gCpuCaps.hasMMX){ + if(ff_gCpuCaps.hasMMX){ dctB= dctB_mmx; } #endif #if 0 - if(gCpuCaps.hasMMX){ + if(ff_gCpuCaps.hasMMX){ switch(vf->priv->mode){ case 0: requantize= hardthresh_mmx; break; case 1: requantize= softthresh_mmx; break; @@ -483,7 +483,7 @@ static int vf_open(vf_instance_t *vf, char *args){ return 1; } -const vf_info_t vf_info_pp7 = { +const vf_info_t ff_vf_info_pp7 = { "postprocess 7", "pp7", "Michael Niedermayer", |