VLC  3.0.21
Data Structures | Typedefs | Functions
window.c File Reference
Include dependency graph for window.c:

Data Structures

struct  window_t
 
struct  vout_display_window
 

Typedefs

typedef struct vout_display_window vout_display_window_t
 

Functions

static int vout_window_start (void *func, va_list ap)
 
vout_window_tvout_window_New (vlc_object_t *obj, const char *module, const vout_window_cfg_t *cfg, const vout_window_owner_t *owner)
 Creates a new window. More...
 
static void vout_window_stop (void *func, va_list ap)
 
void vout_window_Delete (vout_window_t *window)
 Deletes a window created by vout_window_New(). More...
 
void vout_window_SetInhibition (vout_window_t *window, bool enabled)
 
static void vout_display_window_ResizeNotify (vout_window_t *window, unsigned width, unsigned height)
 
static void vout_display_window_CloseNotify (vout_window_t *window)
 
static void vout_display_window_MouseEvent (vout_window_t *window, const vout_window_mouse_event_t *mouse)
 
vout_window_tvout_display_window_New (vout_thread_t *vout, const vout_window_cfg_t *cfg)
 Creates a video window, initially without any attached display. More...
 
void vout_display_window_Attach (vout_window_t *window, vout_display_t *vd)
 Attaches a window to a display. More...
 
void vout_display_window_Detach (vout_window_t *window)
 Detaches a window from a display. More...
 
void vout_display_window_Delete (vout_window_t *window)
 Destroys a video window. More...
 

Typedef Documentation

◆ vout_display_window_t

Function Documentation

◆ vout_display_window_Attach()

void vout_display_window_Attach ( vout_window_t window,
vout_display_t vd 
)

◆ vout_display_window_CloseNotify()

static void vout_display_window_CloseNotify ( vout_window_t window)
static

Referenced by vout_display_window_New().

◆ vout_display_window_Delete()

void vout_display_window_Delete ( vout_window_t window)

Destroys a video window.

Note
The window must be detached.

References vout_display_window::lock, vout_window_t::owner, vout_window_owner::sys, vout_display_window::vd, vlc_mutex_destroy(), and vout_window_Delete().

◆ vout_display_window_Detach()

void vout_display_window_Detach ( vout_window_t window)

Detaches a window from a display.

Window events will no longer be dispatched (except those that do not need a display).

References vout_display_window::lock, vout_window_t::owner, vout_window_owner::sys, vout_display_window::vd, vlc_mutex_lock(), and vlc_mutex_unlock().

◆ vout_display_window_MouseEvent()

static void vout_display_window_MouseEvent ( vout_window_t window,
const vout_window_mouse_event_t mouse 
)
static

Referenced by vout_display_window_New().

◆ vout_display_window_New()

vout_window_t* vout_display_window_New ( vout_thread_t vout,
const vout_window_cfg_t cfg 
)

◆ vout_display_window_ResizeNotify()

static void vout_display_window_ResizeNotify ( vout_window_t window,
unsigned  width,
unsigned  height 
)
static

Referenced by vout_display_window_New().

◆ vout_window_start()

static int vout_window_start ( void *  func,
va_list  ap 
)
static

◆ vout_window_stop()

static void vout_window_stop ( void *  func,
va_list  ap 
)
static