VLC
4.0.0-dev
|
Video output display modules interface. More...
Go to the source code of this file.
Data Structures | |
struct | vlc_video_align |
struct | vout_display_cfg |
Initial/Current configuration for a vout_display_t. More... | |
struct | vout_display_info_t |
Information from a vout_display_t to configure the core behaviour. More... | |
struct | vout_display_owner_t |
Vout owner structures. More... | |
struct | vout_display_t |
struct | vout_display_place_t |
Structure used to store the result of a vout_display_PlacePicture. More... | |
Macros | |
#define | VLC_VIDEO_ALIGN_CENTER 0 |
Possible alignments for vout_display. More... | |
#define | VLC_VIDEO_ALIGN_LEFT 1 |
#define | VLC_VIDEO_ALIGN_RIGHT 2 |
#define | VLC_VIDEO_ALIGN_TOP 1 |
#define | VLC_VIDEO_ALIGN_BOTTOM 2 |
#define | set_callback_display(activate, priority) |
Typedefs | |
typedef struct vout_display_t | vout_display_t |
typedef struct vout_display_sys_t | vout_display_sys_t |
typedef struct vout_display_owner_t | vout_display_owner_t |
typedef struct vlc_video_align | vlc_video_align_t |
typedef struct vout_display_cfg | vout_display_cfg_t |
Initial/Current configuration for a vout_display_t. More... | |
typedef int(* | vout_display_open_cb) (vout_display_t *vd, const vout_display_cfg_t *cfg, video_format_t *fmtp, vlc_video_context *context) |
"vout display" open callback More... | |
Enumerations | |
enum | { VOUT_DISPLAY_RESET_PICTURES, VOUT_DISPLAY_CHANGE_DISPLAY_SIZE, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED, VOUT_DISPLAY_CHANGE_ZOOM, VOUT_DISPLAY_CHANGE_SOURCE_ASPECT, VOUT_DISPLAY_CHANGE_SOURCE_CROP, VOUT_DISPLAY_CHANGE_VIEWPOINT } |
Control query for vout_display_t. More... | |
enum | { VOUT_DISPLAY_EVENT_VIEWPOINT_MOVED } |
Event from vout_display_t. More... | |
Functions | |
vout_display_t * | vout_display_New (vlc_object_t *, const video_format_t *, vlc_video_context *, const vout_display_cfg_t *, const char *module, const vout_display_owner_t *) |
Creates video output display. More... | |
void | vout_display_Delete (vout_display_t *) |
Destroys a video output display. More... | |
picture_t * | vout_display_Prepare (vout_display_t *vd, picture_t *picture, subpicture_t *subpic, vlc_tick_t date) |
Prepares a picture for display. More... | |
static void | vout_display_Display (vout_display_t *vd, picture_t *picture) |
Displays a picture. More... | |
void | vout_display_SetSize (vout_display_t *vd, unsigned width, unsigned height) |
static int | vout_display_Control (vout_display_t *vd, int query,...) |
void | vout_display_SendEventPicturesInvalid (vout_display_t *vd) |
static void | vout_display_SendEventMousePressed (vout_display_t *vd, int button) |
static void | vout_display_SendEventMouseReleased (vout_display_t *vd, int button) |
static void | vout_display_SendEventMouseDoubleClick (vout_display_t *vd) |
static void | vout_display_SendEventViewpointMoved (vout_display_t *vd, const vlc_viewpoint_t *vp) |
static void | vout_display_SendMouseMovedDisplayCoordinates (vout_display_t *vd, int m_x, int m_y) |
Helper function that applies the necessary transforms to the mouse position and then calls vout_display_SendEventMouseMoved. More... | |
static bool | vout_display_cfg_IsWindowed (const vout_display_cfg_t *cfg) |
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. More... | |
static bool | vout_display_PlaceEquals (const vout_display_place_t *p1, const vout_display_place_t *p2) |
void | vout_display_PlacePicture (vout_display_place_t *place, const video_format_t *source, const vout_display_cfg_t *cfg) |
Computes how to place a picture inside the display to respect the given parameters. More... | |
void | vout_display_TranslateMouseState (vout_display_t *vd, vlc_mouse_t *video, const vlc_mouse_t *window) |
Translates mouse state. More... | |
Video output display modules interface.