VLC 4.0.0-dev
|
Data Structures | |
struct | vlc_window_ack_data |
struct | vout_display_window |
Macros | |
#define | DOUBLE_CLICK_TIME VLC_TICK_FROM_MS(300) |
Typedefs | |
typedef struct vout_display_window | vout_display_window_t |
Functions | |
static void | vlc_window_Ack (void *data) |
static void | vout_display_window_ResizeNotify (vlc_window_t *window, unsigned width, unsigned height, vlc_window_ack_cb cb, void *opaque) |
static void | vout_display_window_CloseNotify (vlc_window_t *window) |
static void | vout_display_window_StateNotify (vlc_window_t *window, unsigned window_state) |
static void | vout_display_window_FullscreenNotify (vlc_window_t *window, const char *id) |
static void | vout_display_window_WindowingNotify (vlc_window_t *window) |
static void | vout_display_window_MouseEvent (vlc_window_t *window, const vlc_window_mouse_event_t *ev) |
static void | vout_display_window_KeyboardEvent (vlc_window_t *window, unsigned key) |
static void | vout_display_window_OutputEvent (vlc_window_t *window, const char *name, const char *desc) |
static void | vout_display_window_IccEvent (vlc_window_t *window, vlc_icc_profile_t *profile) |
void | vout_display_window_SetMouseHandler (vlc_window_t *window, vlc_mouse_event event, void *opaque) |
static void | vout_display_SizeWindow (unsigned *restrict width, unsigned *restrict height, const video_format_t *restrict original, const vlc_rational_t *restrict dar, const struct vout_crop *restrict crop, const struct vout_display_placement *restrict dp) |
void | vout_display_ResizeWindow (struct vlc_window *window, const video_format_t *restrict original, const vlc_rational_t *restrict dar, const struct vout_crop *restrict crop, const struct vout_display_placement *restrict dp) |
vlc_window_t * | vout_display_window_New (vout_thread_t *vout) |
Creates a video window, initially without any attached display. | |
void | vout_display_window_Delete (vlc_window_t *window) |
Destroys a video window. | |
Variables | |
static const struct vlc_window_callbacks | vout_display_window_cbs |
#define DOUBLE_CLICK_TIME VLC_TICK_FROM_MS(300) |
typedef struct vout_display_window vout_display_window_t |
|
static |
void vout_display_ResizeWindow | ( | struct vlc_window * | window, |
const video_format_t *restrict | original, | ||
const vlc_rational_t *restrict | dar, | ||
const struct vout_crop *restrict | crop, | ||
const struct vout_display_placement *restrict | dp | ||
) |
References msg_Dbg, vlc_window::owner, state, vlc_window_owner::sys, video_format_Clean(), video_format_Copy(), vlc_mutex_lock(), vlc_mutex_unlock(), vlc_window_SetSize(), and vout_display_SizeWindow().
Referenced by vout_UpdateWindowSizeLocked().
|
static |
References ORIENT_IS_SWAP, vlc_ureduce(), VOUT_CROP_BORDER, VOUT_CROP_NONE, VOUT_CROP_RATIO, and VOUT_CROP_WINDOW.
Referenced by vout_display_ResizeWindow().
|
static |
References msg_Err, and vlc_window_ack_data::window.
void vout_display_window_Delete | ( | vlc_window_t * | window | ) |
Destroys a video window.
References vlc_window::owner, state, vlc_window_owner::sys, var_Destroy(), video_format_Clean(), and vlc_window_Delete().
Referenced by vout_Release().
|
static |
References msg_Dbg, vlc_window::owner, state, vlc_window_owner::sys, var_SetBool(), var_SetString(), and vlc_window_ack_data::window.
|
static |
|
static |
References var_SetInteger(), vlc_object_instance, and vlc_window_ack_data::window.
|
static |
References vlc_mouse_t::b_double_click, vlc_window_mouse_event::button_mask, DOUBLE_CLICK_TIME, vlc_window::has_double_click, vlc_mouse_t::i_pressed, vlc_mouse_t::i_x, vlc_mouse_t::i_y, vlc_window::info, likely, MOUSE_BUTTON_LEFT, vlc_window::owner, state, vlc_window_owner::sys, vlc_window_mouse_event::type, var_SetCoords(), var_SetInteger(), var_ToggleBool(), vlc_assert_unreachable, vlc_mouse_HasButton(), vlc_mouse_HasMoved(), vlc_mouse_IsLeftPressed(), vlc_mouse_SetPosition(), vlc_mouse_SetPressed(), vlc_mouse_SetReleased(), vlc_mutex_lock(), vlc_mutex_unlock(), VLC_TICK_MIN, vlc_tick_now(), VLC_WINDOW_MOUSE_DOUBLE_CLICK, VLC_WINDOW_MOUSE_MOVED, VLC_WINDOW_MOUSE_PRESSED, VLC_WINDOW_MOUSE_RELEASED, vout_display_TranslateCoordinates(), vout_FilterMouse(), vlc_window_ack_data::window, vlc_window_mouse_event::x, and vlc_window_mouse_event::y.
vlc_window_t * vout_display_window_New | ( | vout_thread_t * | vout | ) |
Creates a video window, initially without any attached display.
References vlc_window_owner::cbs, vlc_window_cfg::is_fullscreen, vout_thread_t::obj, state, var_Create(), var_GetBool(), var_InheritBool(), var_InheritInteger(), var_InheritString(), video_format_Init(), vlc_mouse_Init(), vlc_mutex_init(), VLC_OBJECT, VLC_TICK_MIN, VLC_VAR_BOOL, VLC_VAR_INTEGER, VLC_VAR_STRING, vlc_window_New(), and vout_display_window_cbs.
Referenced by vout_Create().
|
static |
References msg_Dbg, name, and vlc_window_ack_data::window.
|
static |
void vout_display_window_SetMouseHandler | ( | vlc_window_t * | window, |
vlc_mouse_event | event, | ||
void * | opaque | ||
) |
References vlc_window::owner, state, vlc_window_owner::sys, vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by vout_ReleaseDisplay(), and vout_Start().
|
static |
|
static |
References msg_Dbg, vlc_window::owner, state, vlc_window_owner::sys, var_SetBool(), and vlc_window_ack_data::window.
|
static |
Referenced by vout_display_window_New().