#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_t * | init_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_t * | str2range (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) |
static int | aspect_scaling (void) |
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_fs |
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_EVENT_EXPOSE 1 |
#define VO_EVENT_KEYPRESS 4 |
#define VO_EVENT_REINIT 8 |
#define VO_EVENT_RESIZE 2 |
#define VOCTRL_DRAW_EOSD 28 |
#define VOCTRL_DRAW_IMAGE 13 |
#define VOCTRL_DUPLICATE_FRAME 20 |
#define VOCTRL_FULLSCREEN 5 |
#define VOCTRL_GET_DEINTERLACE 31 |
#define VOCTRL_GET_EOSD_RES 29 |
#define VOCTRL_GET_EQUALIZER 18 |
#define VOCTRL_GET_FRAME_NUM 11 |
#define VOCTRL_GET_IMAGE 9 |
#define VOCTRL_GET_NUM_FRAMES 10 |
#define VOCTRL_GET_PANSCAN 15 |
#define VOCTRL_GUI_NOWINDOW 19 |
#define VOCTRL_GUISUPPORT 4 |
#define VOCTRL_QUERY_FORMAT 2 |
#define VOCTRL_ROOTWIN 26 |
#define VOCTRL_SET_DEINTERLACE 30 |
#define VOCTRL_SET_EQUALIZER 17 |
#define VOCTRL_SET_FRAME_NUM 12 |
#define VOCTRL_SET_PANSCAN 16 |
#define VOCTRL_SET_SPU_PALETTE 14 |
#define VOCTRL_START_SLICE 21 |
#define VOCTRL_UPDATE_SCREENINFO 32 |
#define VOCTRL_XOVERLAY_SET_COLORKEY 24 |
#define VOCTRL_XOVERLAY_SET_WIN 23 |
#define VOCTRL_XOVERLAY_SUPPORT 22 |
#define VOFLAG_FLIPPING 0x08 |
#define VOFLAG_FULLSCREEN 0x01 |
#define VOFLAG_HIDDEN 0x10 |
#define VOFLAG_MODESWITCHING 0x02 |
#define VOFLAG_STEREO 0x20 |
#define VOFLAG_SWSCALE 0x04 |
#define VOFLAG_XOVERLAY_SUB_VO 0x10000 |
Typedef Documentation
Function Documentation
static int aspect_scaling |
( |
void |
| ) |
[inline, static] |
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 |
|
) |
| |
void list_video_out |
( |
void |
| ) |
|
int lookup_keymap_table |
( |
const struct mp_keymap * |
map, |
|
|
int |
key |
|
) |
| |
void vo_mouse_movement |
( |
int |
posx, |
|
|
int |
posy |
|
) |
| |
Variable Documentation