#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_t * | vf_get_image (vf_instance_t *vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h) |
vf_instance_t * | vf_open_plugin (const vf_info_t *const *filter_list, vf_instance_t *next, const char *name, char **args) |
vf_instance_t * | vf_open_filter (vf_instance_t *next, const char *name, char **args) |
vf_instance_t * | vf_add_before_vo (vf_instance_t **vf, char *name, char **args) |
vf_instance_t * | vf_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_t * | append_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 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 |
typedef struct vf_seteq_s vf_equalizer_t |
typedef struct vf_image_context_s vf_image_context_t |
typedef struct vf_instance vf_instance_t |
vf_instance_t* append_filters | ( | vf_instance_t * | last | ) |
static int norm_qscale | ( | int | qscale, | |
int | type | |||
) | [inline, static] |
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 | |||
) |
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 445 of file vf_mp.c.
Referenced by config(), get_image(), put_image(), and start_slice().
unsigned int vf_match_csp | ( | vf_instance_t ** | vfp, | |
const unsigned int * | list, | |||
unsigned int | preferred | |||
) |
void vf_mpi_clear | ( | mp_image_t * | mpi, | |
int | x0, | |||
int | y0, | |||
int | w, | |||
int | h | |||
) |
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_next_draw_slice | ( | struct vf_instance * | vf, | |
unsigned char ** | src, | |||
int * | stride, | |||
int | w, | |||
int | h, | |||
int | x, | |||
int | y | |||
) |
int vf_next_put_image | ( | struct vf_instance * | vf, | |
mp_image_t * | mpi, | |||
double | pts | |||
) |
Definition at line 603 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 | |||
) |
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 | ) |