static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)

{

        mp_image_t *dmpi;



        // hope we'll get DR buffer:

        dmpi=ff_vf_get_image(vf->next, IMGFMT_YV12,

                          MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |

                          ((vf->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0),

                          mpi->w * vf->priv->scalew,

                          mpi->h / vf->priv->scaleh - vf->priv->skipline);



        toright(dmpi->planes, mpi->planes, dmpi->stride,

                mpi->stride, mpi->w, mpi->h, vf->priv);



        return ff_vf_next_put_image(vf,dmpi, pts);

}

static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)

{

        mp_image_t *dmpi;



        

        dmpi=ff_vf_get_image(vf->next, IMGFMT_YV12,

                          MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |

                          ((vf->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0),

                          mpi->w * vf->priv->scalew,

                          mpi->h / vf->priv->scaleh - vf->priv->skipline);



        toright(dmpi->planes, mpi->planes, dmpi->stride,

                mpi->stride, mpi->w, mpi->h, vf->priv);



        return ff_vf_next_put_image(vf,dmpi, pts);

}

static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)         mp_image_t *dmpi;         dmpi=ff_vf_get_image(vf->next, IMGFMT_YV12,                           MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |                           ((vf->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0),                           mpi->w * vf->priv->scalew,                           mpi->h / vf->priv->scaleh - vf->priv->skipline);         toright(dmpi->planes, mpi->planes, dmpi->stride,                 mpi->stride, mpi->w, mpi->h, vf->priv);         return ff_vf_next_put_image(vf,dmpi, pts);
static int FUNC_0(struct vf_instance *VAR_0, mp_image_t *VAR_1, double VAR_2)

{

        mp_image_t *dmpi;



        

        dmpi=ff_vf_get_image(VAR_0->next, IMGFMT_YV12,

                          MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |

                          ((VAR_0->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0),

                          VAR_1->w * VAR_0->priv->scalew,

                          VAR_1->h / VAR_0->priv->scaleh - VAR_0->priv->skipline);



        toright(dmpi->planes, VAR_1->planes, dmpi->stride,

                VAR_1->stride, VAR_1->w, VAR_1->h, VAR_0->priv);



        return ff_vf_next_put_image(VAR_0,dmpi, VAR_2);

}

static int FUNC_0(struct vf_instance *VAR_0, mp_image_t *VAR_1, double VAR_2)
{ mp_image_t *dmpi; dmpi=ff_vf_get_image(VAR_0->next, IMGFMT_YV12,
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE |
((VAR_0->priv->scaleh == 1) ? MP_IMGFLAG_READABLE : 0),
VAR_1->w * VAR_0->priv->scalew,
VAR_1->h / VAR_0->priv->scaleh - VAR_0->priv->skipline); toright(dmpi->planes, VAR_1->planes, dmpi->stride,
VAR_1->stride, VAR_1->w, VAR_1->h, VAR_0->priv); return ff_vf_next_put_image(VAR_0,dmpi, VAR_2); }