static int config(struct vf_instance *vf,

    int width, int height, int d_width, int d_height,

    unsigned int flags, unsigned int outfmt)

{

    switch (vf->priv->mode) {

    case 0:

    case 3:

        return ff_vf_next_config(vf,width,height*2,d_width,d_height*2,flags,outfmt);

    case 1:            /* odd frames */

    case 2:            /* even frames */

    case 4:            /* alternate frame (height-preserving) interlacing */

        return ff_vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);

    }

    return 0;

}

static int config(struct vf_instance *vf,

    int width, int height, int d_width, int d_height,

    unsigned int flags, unsigned int outfmt)

{

    switch (vf->priv->mode) {

    case 0:

    case 3:

        return ff_vf_next_config(vf,width,height*2,d_width,d_height*2,flags,outfmt);

    case 1:            

    case 2:            

    case 4:            

        return ff_vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);

    }

    return 0;

}

static int FUNC_0(struct vf_instance *VAR_0,

    int VAR_1, int VAR_2, int VAR_3, int VAR_4,

    unsigned int VAR_5, unsigned int VAR_6)

{

    switch (VAR_0->priv->mode) {

    case 0:

    case 3:

        return ff_vf_next_config(VAR_0,VAR_1,VAR_2*2,VAR_3,VAR_4*2,VAR_5,VAR_6);

    case 1:            

    case 2:            

    case 4:            

        return ff_vf_next_config(VAR_0,VAR_1,VAR_2,VAR_3,VAR_4,VAR_5,VAR_6);

    }

    return 0;

}

static int FUNC_0(struct vf_instance *VAR_0,
int VAR_1, int VAR_2, int VAR_3, int VAR_4,
unsigned int VAR_5, unsigned int VAR_6)
{ switch (VAR_0->priv->mode) { case 0:
case 3:
return ff_vf_next_config(VAR_0,VAR_1,VAR_2*2,VAR_3,VAR_4*2,VAR_5,VAR_6); case 1:
case 2:
case 4:
return ff_vf_next_config(VAR_0,VAR_1,VAR_2,VAR_3,VAR_4,VAR_5,VAR_6); } return 0; }