diff options
Diffstat (limited to 'libavfilter/libmpcodecs/vf_uspp.c')
-rw-r--r-- | libavfilter/libmpcodecs/vf_uspp.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/libmpcodecs/vf_uspp.c b/libavfilter/libmpcodecs/vf_uspp.c index 1c683f72cf..7444e03328 100644 --- a/libavfilter/libmpcodecs/vf_uspp.c +++ b/libavfilter/libmpcodecs/vf_uspp.c @@ -243,13 +243,13 @@ static int config(struct vf_instance *vf, vf->priv->outbuf_size= (width + BLOCK)*(height + BLOCK)*10; vf->priv->outbuf= malloc(vf->priv->outbuf_size); - 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]; @@ -268,11 +268,11 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ if(!(mpi->flags&MP_IMGFLAG_DIRECT)){ // 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); }else{ dmpi=vf->dmpi; } @@ -289,13 +289,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){ @@ -324,7 +324,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){ case IMGFMT_IYUV: case IMGFMT_Y800: case IMGFMT_Y8: - return vf_next_query_format(vf,fmt); + return ff_vf_next_query_format(vf,fmt); } return 0; } @@ -338,7 +338,7 @@ static int control(struct vf_instance *vf, int request, void* data){ //FIXME we have to realloc a few things here return CONTROL_TRUE; } - 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){ @@ -354,7 +354,7 @@ static int vf_open(vf_instance_t *vf, char *args){ vf->priv=malloc(sizeof(struct vf_priv_s)); memset(vf->priv, 0, sizeof(struct vf_priv_s)); - init_avcodec(); + ff_init_avcodec(); vf->priv->log2_count= 4; @@ -367,7 +367,7 @@ static int vf_open(vf_instance_t *vf, char *args){ vf->priv->qp = 0; // #if HAVE_MMX -// if(gCpuCaps.hasMMX){ +// if(ff_gCpuCaps.hasMMX){ // store_slice= store_slice_mmx; // } // #endif @@ -375,7 +375,7 @@ static int vf_open(vf_instance_t *vf, char *args){ return 1; } -const vf_info_t vf_info_uspp = { +const vf_info_t ff_vf_info_uspp = { "ultra simple/slow postprocess", "uspp", "Michael Niedermayer", |