Go to the documentation of this file.
24 #ifndef VLC_VOUT_DISPLAY_H
25 #define VLC_VOUT_DISPLAY_H 1
84 #if defined(_WIN32) || defined(__OS2__)
151 #if defined(_WIN32) || defined(__OS2__)
199 #if defined(_WIN32) || defined(__OS2__)
200 VOUT_DISPLAY_EVENT_FULLSCREEN,
201 VOUT_DISPLAY_EVENT_WINDOW_STATE,
351 va_start(args, query);
372 #if defined(_WIN32) || defined(__OS2__)
373 static inline void vout_display_SendEventFullscreen(
vout_display_t *vd,
bool is_fullscreen,
374 bool is_window_fullscreen)
378 static inline void vout_display_SendWindowState(
vout_display_t *vd,
unsigned state)
432 return window != NULL;
Definition: vlc_vout_display.h:144
vout_display_sys_t * sys
Definition: vlc_vout_display.h:339
size_t count
Definition: core.c:461
#define VLC_API
Definition: fourcc_gen.c:30
int horizontal
Definition: vlc_vout_display.h:103
#define VLC_COMMON_MEMBERS
Backward compatibility macro.
Definition: vlc_common.h:457
void vout_display_SendMouseMovedDisplayCoordinates(vout_display_t *vd, video_orientation_t orient_display, int m_x, int m_y, vout_display_place_t *place)
Helper function that applies the necessary transforms to the mouse position and then calls vout_displ...
Definition: display.c:273
#define VLC_DEPRECATED
Definition: vlc_common.h:98
Graphical window.
Definition: vlc_vout_window.h:130
static bool vout_display_IsWindowed(vout_display_t *vd)
Definition: vlc_vout_display.h:427
unsigned width
Definition: vlc_vout_display.h:450
bool is_slow
Definition: vlc_vout_display.h:129
const vlc_fourcc_t * subpicture_chromas
Definition: vlc_vout_display.h:135
Definition: vlc_vout_display.h:169
vlc_viewpoint_t viewpoint
Definition: vlc_vout_display.h:118
Definition: vlc_vout_display.h:61
void(* manage)(vout_display_t *)
Definition: vlc_vout_display.h:333
Definition: vlc_vout_display.h:207
Definition: vlc_vout_display.h:183
static void vout_display_SendEventMouseReleased(vout_display_t *vd, int button)
Definition: vlc_vout_display.h:396
Definition: vlc_vout_display.h:217
video_format_t fmt
Definition: vlc_vout_display.h:286
static void vout_display_SendEventMouseMoved(vout_display_t *vd, int x, int y)
Definition: vlc_vout_display.h:388
const char * title
Definition: vlc_vout_display.h:91
Invalid or unspecified window type.
Definition: vlc_vout_window.h:50
unsigned height
Definition: vlc_vout_display.h:95
static void vout_display_SendEventClose(vout_display_t *vd)
Definition: vlc_vout_display.h:364
vout_display_owner_t owner
Definition: vlc_vout_display.h:345
const vout_display_cfg_t * cfg
Definition: vlc_vout_display.h:268
bool has_pictures_invalid
Definition: vlc_vout_display.h:134
Vout owner structures.
Definition: vlc_vout_display.h:229
Viewpoints.
Definition: vlc_viewpoint.h:44
static void vout_display_SendEventPicturesInvalid(vout_display_t *vd)
Definition: vlc_vout_display.h:360
Definition: vlc_vout_display.h:76
static void vout_display_SendEventMousePressed(vout_display_t *vd, int button)
Definition: vlc_vout_display.h:392
Video picture.
Definition: vlc_picture.h:68
vout_display_info_t info
Definition: vlc_vout_display.h:292
int y
Definition: vlc_vout_display.h:449
Definition: vlc_vout_display.h:208
module_t * module
Definition: vlc_vout_display.h:260
Definition: vlc_vout_display.h:223
unsigned height
Definition: vlc_vout_display.h:451
vout_display_align_t
Possible alignments for vout_display.
Definition: vlc_vout_display.h:59
static void vout_display_SendEventKey(vout_display_t *vd, int key)
Definition: vlc_vout_display.h:368
unsigned width
Definition: vlc_vout_display.h:94
Structure used to store the result of a vout_display_PlacePicture.
Definition: vlc_vout_display.h:447
Definition: vlc_vout_display.h:179
Definition: vlc_vout_display.h:75
Definition: vlc_vout_display.h:218
Definition: picture_pool.c:41
Definition: vlc_vout_display.h:63
video_format_t source
Definition: vlc_vout_display.h:275
Internal module descriptor.
Definition: modules.h:79
Definition: vlc_vout_display.h:66
Information from a vout_display_t to configure the core behaviour.
Definition: vlc_vout_display.h:128
void vout_display_PlacePicture(vout_display_place_t *place, const video_format_t *source, const vout_display_cfg_t *cfg, bool do_clipping)
Computes how to place a picture inside the display to respect the given parameters.
Definition: display.c:189
Definition: vlc_vout_display.h:67
Video subtitle.
Definition: vlc_subpicture.h:153
void(* window_del)(vout_display_t *, vout_window_t *)
Definition: vlc_vout_display.h:253
bool needs_hide_mouse
Definition: vlc_vout_display.h:131
Definition: vlc_vout_display.h:161
vlc_rational_t sar
Definition: vlc_vout_display.h:98
Definition: vlc_vout_display.h:74
int den
Definition: vlc_vout_display.h:115
Definition: vlc_vout_display.h:220
static void vout_display_SendEventMouseDoubleClick(vout_display_t *vd)
Definition: vlc_vout_display.h:400
Definition: fourcc_gen.c:33
Definition: vlc_vout_display.h:149
static void vout_display_SendEventMouseState(vout_display_t *vd, int x, int y, int button_mask)
Definition: vlc_vout_display.h:384
int(* control)(vout_display_t *, int, va_list)
Definition: vlc_vout_display.h:330
static void vout_display_DeleteWindow(vout_display_t *vd, vout_window_t *window)
Deletes a window created by vout_display_NewWindow if window is non NULL or any unused windows otherw...
Definition: vlc_vout_display.h:421
Definition: vlc_vout_display.h:197
int num
Definition: vlc_vout_display.h:114
Initial/Current configuration for a vout_display_t.
Definition: vlc_vout_display.h:83
static void vout_display_SendEventDisplaySize(vout_display_t *vd, int width, int height)
Definition: vlc_vout_display.h:356
Definition: display.c:1258
void(* display)(vout_display_t *, picture_t *, subpicture_t *)
Definition: vlc_vout_display.h:327
vout_window_t *(* window_new)(vout_display_t *, unsigned type)
Definition: vlc_vout_display.h:252
Definition: vlc_vout_display.h:219
bool is_display_filled
Definition: vlc_vout_display.h:108
Definition: vlc_vout_display.h:165
#define VLC_DEPRECATED_ENUM
Definition: vlc_common.h:99
void(* event)(vout_display_t *, int, va_list)
Definition: vlc_vout_display.h:245
Definition: vlc_vout_display.h:214
static void vout_display_SendEventViewpointMoved(vout_display_t *vd, const vlc_viewpoint_t *vp)
Definition: vlc_vout_display.h:404
Definition: vlc_vout_display.h:77
Definition: vlc_vout_display.h:256
static void vout_display_SendEvent(vout_display_t *vd, int query,...)
Definition: vlc_vout_display.h:348
int x
Definition: vlc_vout_display.h:448
video_orientation_t
Picture orientation.
Definition: vlc_es.h:165
int vertical
Definition: vlc_vout_display.h:104
bool has_double_click
Definition: vlc_vout_display.h:130
Definition: vlc_vout_display.h:64
Definition: vlc_vout_display.h:173
void * sys
Definition: vlc_vout_display.h:232
static vout_window_t * vout_display_NewWindow(vout_display_t *vd, unsigned type)
Asks for a new window of a given type.
Definition: vlc_vout_display.h:413
void vout_display_GetDefaultDisplaySize(unsigned *width, unsigned *height, const video_format_t *source, const vout_display_cfg_t *)
Computes the default display size given the source and the display configuration.
Definition: display.c:154
uint32_t vlc_fourcc_t
Definition: fourcc_gen.c:32
Definition: vlc_vout_display.h:204
void(* prepare)(vout_display_t *, picture_t *, subpicture_t *)
Definition: vlc_vout_display.h:315