43 int state = vf->priv->state;
54 flags & MP_IMGFIELD_TOP_FIRST)) {
56 "softpulldown: Unexpected field flags: state=%d top_field_first=%d repeat_first_field=%d\n",
58 (flags & MP_IMGFIELD_TOP_FIRST) != 0,
127 vf->priv->state =
state;
132 static int config(
struct vf_instance *vf,
134 unsigned int flags,
unsigned int outfmt)
139 static void uninit(
struct vf_instance *vf)
157 "mpeg2 soft 3:2 pulldown",
159 "Tobias Diedrich <ranma+mplayer@tdiedrich.de>",
mp_image_t * ff_vf_get_image(vf_instance_t *vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h)
#define MP_IMGFLAG_PRESERVE
int ff_vf_next_config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
#define MP_IMGFIELD_REPEAT_FIRST
static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
unsigned int default_reqs
int(* put_image)(struct vf_instance *vf, mp_image_t *mpi, double pts)
static void uninit(struct vf_instance *vf)
static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
#define MP_IMGTYPE_STATIC
void(* uninit)(struct vf_instance *vf)
static int vf_open(vf_instance_t *vf, char *args)
#define MP_IMGFIELD_TOP_FIRST
const vf_info_t ff_vf_info_softpulldown
int stride[MP_MAX_PLANES]
BYTE int const BYTE int int int height
unsigned char * planes[MP_MAX_PLANES]
#define my_memcpy_pic(d, s, b, h, ds, ss)
int(* config)(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
void ff_mp_msg(int mod, int lev, const char *format,...)
#define MP_IMGFLAG_PLANAR
int ff_vf_next_put_image(struct vf_instance *vf, mp_image_t *mpi, double pts)
#define MP_IMGFLAG_ACCEPT_STRIDE
#define VFCAP_ACCEPT_STRIDE