libavfilter/libmpcodecs/vf.h File Reference

#include "mp_image.h"
#include "mpc_info.h"
#include "vfcap.h"

Go to the source code of this file.

Data Structures

struct  vf_info_s
struct  vf_image_context_s
struct  vf_format_context_t
struct  vf_instance
struct  vf_seteq_s

Defines

#define NUM_NUMBERED_MPI   50
#define VFCTRL_QUERY_MAX_PP_LEVEL   4
#define VFCTRL_SET_PP_LEVEL   5
#define VFCTRL_SET_EQUALIZER   6
#define VFCTRL_GET_EQUALIZER   8
#define VFCTRL_DRAW_OSD   7
#define VFCTRL_CHANGE_RECTANGLE   9
#define VFCTRL_FLIP_PAGE   10
#define VFCTRL_DUPLICATE_FRAME   11
#define VFCTRL_SKIP_NEXT_FRAME   12
#define VFCTRL_FLUSH_FRAMES   13
#define VFCTRL_SCREENSHOT   14
#define VFCTRL_INIT_EOSD   15
#define VFCTRL_DRAW_EOSD   16
#define VFCTRL_GET_PTS   17
#define VFCTRL_SET_DEINTERLACE   18
#define VFCTRL_GET_DEINTERLACE   19
#define MP_NOPTS_VALUE   (-1LL<<63)

Typedefs

typedef struct vf_info_s vf_info_t
typedef struct vf_image_context_s vf_image_context_t
typedef struct vf_instance vf_instance_t
typedef struct vf_seteq_s vf_equalizer_t

Functions

void vf_mpi_clear (mp_image_t *mpi, int x0, int y0, int w, int h)
mp_image_tvf_get_image (vf_instance_t *vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h)
vf_instance_tvf_open_plugin (const vf_info_t *const *filter_list, vf_instance_t *next, const char *name, char **args)
vf_instance_tvf_open_filter (vf_instance_t *next, const char *name, char **args)
vf_instance_tvf_add_before_vo (vf_instance_t **vf, char *name, char **args)
vf_instance_tvf_open_encoder (vf_instance_t *next, const char *name, char *args)
unsigned int vf_match_csp (vf_instance_t **vfp, const unsigned int *list, unsigned int preferred)
void vf_clone_mpi_attributes (mp_image_t *dst, mp_image_t *src)
void vf_queue_frame (vf_instance_t *vf, int(*)(vf_instance_t *))
int vf_output_queued_frame (vf_instance_t *vf)
int vf_next_config (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
int vf_next_control (struct vf_instance *vf, int request, void *data)
void vf_extra_flip (struct vf_instance *vf)
int vf_next_query_format (struct vf_instance *vf, unsigned int fmt)
int vf_next_put_image (struct vf_instance *vf, mp_image_t *mpi, double pts)
void vf_next_draw_slice (struct vf_instance *vf, unsigned char **src, int *stride, int w, int h, int x, int y)
vf_instance_tappend_filters (vf_instance_t *last)
void vf_uninit_filter (vf_instance_t *vf)
void vf_uninit_filter_chain (vf_instance_t *vf)
int vf_config_wrapper (struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt)
static int norm_qscale (int qscale, int type)


Define Documentation

#define MP_NOPTS_VALUE   (-1LL<<63)

Definition at line 118 of file vf.h.

Referenced by control(), do_put_image(), end_frame(), put_image(), and vf_next_put_image().

#define NUM_NUMBERED_MPI   50

Definition at line 41 of file vf.h.

Referenced by vf_get_image().

#define VFCTRL_CHANGE_RECTANGLE   9

Definition at line 103 of file vf.h.

Referenced by control().

#define VFCTRL_DRAW_EOSD   16

Definition at line 110 of file vf.h.

#define VFCTRL_DRAW_OSD   7

Definition at line 102 of file vf.h.

#define VFCTRL_DUPLICATE_FRAME   11

Definition at line 105 of file vf.h.

Referenced by control().

#define VFCTRL_FLIP_PAGE   10

Definition at line 104 of file vf.h.

#define VFCTRL_FLUSH_FRAMES   13

Definition at line 107 of file vf.h.

#define VFCTRL_GET_DEINTERLACE   19

Definition at line 113 of file vf.h.

Referenced by control().

#define VFCTRL_GET_EQUALIZER   8

Definition at line 101 of file vf.h.

Referenced by control().

#define VFCTRL_GET_PTS   17

Definition at line 111 of file vf.h.

#define VFCTRL_INIT_EOSD   15

Definition at line 109 of file vf.h.

#define VFCTRL_QUERY_MAX_PP_LEVEL   4

Definition at line 98 of file vf.h.

Referenced by control().

#define VFCTRL_SCREENSHOT   14

Definition at line 108 of file vf.h.

#define VFCTRL_SET_DEINTERLACE   18

Definition at line 112 of file vf.h.

Referenced by control().

#define VFCTRL_SET_EQUALIZER   6

Definition at line 100 of file vf.h.

Referenced by control().

#define VFCTRL_SET_PP_LEVEL   5

Definition at line 99 of file vf.h.

Referenced by control().

#define VFCTRL_SKIP_NEXT_FRAME   12

Definition at line 106 of file vf.h.

Referenced by control().


Typedef Documentation

typedef struct vf_seteq_s vf_equalizer_t

typedef struct vf_info_s vf_info_t

typedef struct vf_instance vf_instance_t


Function Documentation

vf_instance_t* append_filters ( vf_instance_t last  ) 

static int norm_qscale ( int  qscale,
int  type 
) [inline, static]

Definition at line 154 of file vf.h.

Referenced by filter().

vf_instance_t* vf_add_before_vo ( vf_instance_t **  vf,
char *  name,
char **  args 
)

void vf_clone_mpi_attributes ( mp_image_t dst,
mp_image_t src 
)

Definition at line 349 of file vf_mp.c.

Referenced by put_image().

int vf_config_wrapper ( struct vf_instance vf,
int  width,
int  height,
int  d_width,
int  d_height,
unsigned int  flags,
unsigned int  outfmt 
)

void vf_extra_flip ( struct vf_instance vf  ) 

mp_image_t* vf_get_image ( vf_instance_t vf,
unsigned int  outfmt,
int  mp_imgtype,
int  mp_imgflag,
int  w,
int  h 
)

Definition at line 436 of file vf_mp.c.

Referenced by config(), get_image(), and put_image().

unsigned int vf_match_csp ( vf_instance_t **  vfp,
const unsigned int *  list,
unsigned int  preferred 
)

Definition at line 432 of file vf_mp.c.

Referenced by vf_open().

void vf_mpi_clear ( mp_image_t mpi,
int  x0,
int  y0,
int  w,
int  h 
)

Definition at line 383 of file vf_mp.c.

Referenced by put_image(), and vf_get_image().

int vf_next_config ( struct vf_instance vf,
int  width,
int  height,
int  d_width,
int  d_height,
unsigned int  flags,
unsigned int  outfmt 
)

Definition at line 651 of file vf_mp.c.

Referenced by config(), and init().

int vf_next_control ( struct vf_instance vf,
int  request,
void *  data 
)

Definition at line 680 of file vf_mp.c.

Referenced by control(), and init().

void vf_next_draw_slice ( struct vf_instance vf,
unsigned char **  src,
int *  stride,
int  w,
int  h,
int  x,
int  y 
)

Definition at line 360 of file vf_mp.c.

Referenced by config(), and vf_open().

int vf_next_put_image ( struct vf_instance vf,
mp_image_t mpi,
double  pts 
)

Definition at line 594 of file vf_mp.c.

Referenced by config(), do_put_image(), init(), and put_image().

int vf_next_query_format ( struct vf_instance vf,
unsigned int  fmt 
)

Definition at line 427 of file vf_mp.c.

Referenced by config(), and query_format().

vf_instance_t* vf_open_encoder ( vf_instance_t next,
const char *  name,
char *  args 
)

vf_instance_t* vf_open_filter ( vf_instance_t next,
const char *  name,
char **  args 
)

Referenced by vf_next_config().

vf_instance_t* vf_open_plugin ( const vf_info_t *const *  filter_list,
vf_instance_t next,
const char *  name,
char **  args 
)

int vf_output_queued_frame ( vf_instance_t vf  ) 

void vf_queue_frame ( vf_instance_t vf,
int(*)(vf_instance_t *)   
)

void vf_uninit_filter ( vf_instance_t vf  ) 

void vf_uninit_filter_chain ( vf_instance_t vf  ) 


Generated on Fri Oct 26 02:48:00 2012 for FFmpeg by  doxygen 1.5.8