libavfilter/libmpcodecs/libvo/video_out.h File Reference

#include <inttypes.h>
#include <stdarg.h>
#include "../img_format.h"

Go to the source code of this file.

Data Structures

struct  mp_colorkey_t
struct  mp_win_t
struct  vo_info_s
struct  vo_functions_s
struct  range_t
struct  mp_keymap
struct  vo_rect

Defines

#define VO_EVENT_EXPOSE   1
#define VO_EVENT_RESIZE   2
#define VO_EVENT_KEYPRESS   4
#define VO_EVENT_REINIT   8
#define VO_EVENT_MOVE   16
#define VOCTRL_QUERY_FORMAT   2
#define VOCTRL_RESET   3
#define VOCTRL_GUISUPPORT   4
#define VOCTRL_GUI_NOWINDOW   19
#define VOCTRL_FULLSCREEN   5
#define VOCTRL_PAUSE   7
#define VOCTRL_RESUME   8
#define VOCTRL_GET_IMAGE   9
#define VOCTRL_DRAW_IMAGE   13
#define VOCTRL_SET_SPU_PALETTE   14
#define VOCTRL_GET_NUM_FRAMES   10
#define VOCTRL_GET_FRAME_NUM   11
#define VOCTRL_SET_FRAME_NUM   12
#define VOCTRL_GET_PANSCAN   15
#define VOCTRL_SET_PANSCAN   16
#define VOCTRL_SET_EQUALIZER   17
#define VOCTRL_GET_EQUALIZER   18
#define VOCTRL_DUPLICATE_FRAME   20
#define VOCTRL_START_SLICE   21
#define VOCTRL_ONTOP   25
#define VOCTRL_ROOTWIN   26
#define VOCTRL_BORDER   27
#define VOCTRL_DRAW_EOSD   28
#define VOCTRL_GET_EOSD_RES   29
#define VOCTRL_SET_DEINTERLACE   30
#define VOCTRL_GET_DEINTERLACE   31
#define VOCTRL_UPDATE_SCREENINFO   32
#define VOCTRL_XOVERLAY_SUPPORT   22
#define VOCTRL_XOVERLAY_SET_COLORKEY   24
#define VOCTRL_XOVERLAY_SET_WIN   23
#define VO_TRUE   1
#define VO_FALSE   0
#define VO_ERROR   -1
#define VO_NOTAVAIL   -2
#define VO_NOTIMPL   -3
#define VOFLAG_FULLSCREEN   0x01
#define VOFLAG_MODESWITCHING   0x02
#define VOFLAG_SWSCALE   0x04
#define VOFLAG_FLIPPING   0x08
#define VOFLAG_HIDDEN   0x10
#define VOFLAG_STEREO   0x20
#define VOFLAG_XOVERLAY_SUB_VO   0x10000

Typedefs

typedef struct vo_info_s vo_info_t
typedef struct vo_functions_s vo_functions_t

Functions

const vo_functions_tinit_best_video_out (char **vo_list)
int config_video_out (const vo_functions_t *vo, uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
void list_video_out (void)
float range_max (range_t *r)
int in_range (range_t *r, float f)
range_tstr2range (char *s)
int lookup_keymap_table (const struct mp_keymap *map, int key)
void calc_src_dst_rects (int src_width, int src_height, struct vo_rect *src, struct vo_rect *dst, struct vo_rect *borders, const struct vo_rect *crop)
void vo_mouse_movement (int posx, int posy)

Variables

const vo_functions_t *const video_out_drivers []
int vo_flags
int vo_config_count
int xinerama_screen
int xinerama_x
int xinerama_y
int vo_depthonscreen
int vo_screenwidth
int vo_screenheight
int vo_dx
int vo_dy
int vo_dwidth
int vo_dheight
int vo_dbpp
int vo_grabpointer
int vo_doublebuffering
int vo_directrendering
int vo_vsync
int vo_fsmode
float vo_panscan
int vo_adapter_num
int vo_refresh_rate
int vo_keepaspect
int vo_rootwin
int vo_ontop
int vo_border
int vo_gamma_gamma
int vo_gamma_brightness
int vo_gamma_saturation
int vo_gamma_contrast
int vo_gamma_hue
int vo_gamma_red_intensity
int vo_gamma_green_intensity
int vo_gamma_blue_intensity
int vo_nomouse_input
int enable_mouse_movements
int vo_pts
float vo_fps
char * vo_subdevice
int vo_colorkey
char * vo_winname
char * vo_wintitle
int64_t WinID
char * monitor_hfreq_str
char * monitor_vfreq_str
char * monitor_dotclock_str


Define Documentation

#define VO_ERROR   -1

Definition at line 100 of file video_out.h.

#define VO_EVENT_EXPOSE   1

Definition at line 33 of file video_out.h.

#define VO_EVENT_KEYPRESS   4

Definition at line 35 of file video_out.h.

#define VO_EVENT_MOVE   16

Definition at line 37 of file video_out.h.

#define VO_EVENT_REINIT   8

Definition at line 36 of file video_out.h.

#define VO_EVENT_RESIZE   2

Definition at line 34 of file video_out.h.

#define VO_FALSE   0

Definition at line 99 of file video_out.h.

#define VO_NOTAVAIL   -2

Definition at line 101 of file video_out.h.

#define VO_NOTIMPL   -3

Definition at line 102 of file video_out.h.

#define VO_TRUE   1

Definition at line 98 of file video_out.h.

#define VOCTRL_BORDER   27

Definition at line 74 of file video_out.h.

#define VOCTRL_DRAW_EOSD   28

Definition at line 75 of file video_out.h.

#define VOCTRL_DRAW_IMAGE   13

Definition at line 55 of file video_out.h.

#define VOCTRL_DUPLICATE_FRAME   20

Definition at line 68 of file video_out.h.

#define VOCTRL_FULLSCREEN   5

Definition at line 48 of file video_out.h.

#define VOCTRL_GET_DEINTERLACE   31

Definition at line 79 of file video_out.h.

#define VOCTRL_GET_EOSD_RES   29

Definition at line 76 of file video_out.h.

#define VOCTRL_GET_EQUALIZER   18

Definition at line 65 of file video_out.h.

#define VOCTRL_GET_FRAME_NUM   11

Definition at line 59 of file video_out.h.

#define VOCTRL_GET_IMAGE   9

Definition at line 54 of file video_out.h.

#define VOCTRL_GET_NUM_FRAMES   10

Definition at line 58 of file video_out.h.

#define VOCTRL_GET_PANSCAN   15

Definition at line 61 of file video_out.h.

#define VOCTRL_GUI_NOWINDOW   19

Definition at line 46 of file video_out.h.

#define VOCTRL_GUISUPPORT   4

Definition at line 45 of file video_out.h.

#define VOCTRL_ONTOP   25

Definition at line 72 of file video_out.h.

#define VOCTRL_PAUSE   7

Definition at line 50 of file video_out.h.

#define VOCTRL_QUERY_FORMAT   2

Definition at line 41 of file video_out.h.

#define VOCTRL_RESET   3

Definition at line 43 of file video_out.h.

#define VOCTRL_RESUME   8

Definition at line 52 of file video_out.h.

#define VOCTRL_ROOTWIN   26

Definition at line 73 of file video_out.h.

#define VOCTRL_SET_DEINTERLACE   30

Definition at line 78 of file video_out.h.

#define VOCTRL_SET_EQUALIZER   17

Definition at line 64 of file video_out.h.

#define VOCTRL_SET_FRAME_NUM   12

Definition at line 60 of file video_out.h.

#define VOCTRL_SET_PANSCAN   16

Definition at line 62 of file video_out.h.

#define VOCTRL_SET_SPU_PALETTE   14

Definition at line 56 of file video_out.h.

#define VOCTRL_START_SLICE   21

Definition at line 70 of file video_out.h.

#define VOCTRL_UPDATE_SCREENINFO   32

Definition at line 81 of file video_out.h.

#define VOCTRL_XOVERLAY_SET_COLORKEY   24

Definition at line 86 of file video_out.h.

#define VOCTRL_XOVERLAY_SET_WIN   23

Definition at line 92 of file video_out.h.

#define VOCTRL_XOVERLAY_SUPPORT   22

Definition at line 84 of file video_out.h.

#define VOFLAG_FLIPPING   0x08

Definition at line 107 of file video_out.h.

#define VOFLAG_FULLSCREEN   0x01

Definition at line 104 of file video_out.h.

#define VOFLAG_HIDDEN   0x10

Definition at line 108 of file video_out.h.

#define VOFLAG_MODESWITCHING   0x02

Definition at line 105 of file video_out.h.

#define VOFLAG_STEREO   0x20

Definition at line 109 of file video_out.h.

#define VOFLAG_SWSCALE   0x04

Definition at line 106 of file video_out.h.

#define VOFLAG_XOVERLAY_SUB_VO   0x10000

Definition at line 110 of file video_out.h.


Typedef Documentation

typedef struct vo_info_s vo_info_t


Function Documentation

void calc_src_dst_rects ( int  src_width,
int  src_height,
struct vo_rect src,
struct vo_rect dst,
struct vo_rect borders,
const struct vo_rect crop 
)

int config_video_out ( const vo_functions_t vo,
uint32_t  width,
uint32_t  height,
uint32_t  d_width,
uint32_t  d_height,
uint32_t  flags,
char *  title,
uint32_t  format 
)

int in_range ( range_t r,
float  f 
)

const vo_functions_t* init_best_video_out ( char **  vo_list  ) 

void list_video_out ( void   ) 

int lookup_keymap_table ( const struct mp_keymap map,
int  key 
)

float range_max ( range_t r  ) 

range_t* str2range ( char *  s  ) 

void vo_mouse_movement ( int  posx,
int  posy 
)


Variable Documentation

float vo_fps

float vo_panscan

char* vo_subdevice

char* vo_winname

char* vo_wintitle

int64_t WinID


Generated on Fri Oct 26 02:50:09 2012 for FFmpeg by  doxygen 1.5.8