Go to the documentation of this file.
25 #ifndef LIBVLC_VOUT_CONTROL_H
26 #define LIBVLC_VOUT_CONTROL_H 1
void vout_EndWrapper(vout_thread_t *)
Definition: vout_wrapper.c:171
static void ThreadFlush(vout_thread_t *vout, bool below, mtime_t date)
Definition: video_output.c:1316
#define HEX2YUV(rgb)
Definition: vout_spuregion_helper.h:26
static void ThreadChangeFilters(vout_thread_t *vout, const video_format_t *source, const char *filters, int deinterlace, bool is_locked)
Definition: video_output.c:724
void vout_WindowMouseEvent(vout_thread_t *vout, const vout_window_mouse_event_t *mouse)
Definition: video_output.c:359
vout_control_t control
Definition: vout_internal.h:76
static void ThreadExecuteCropBorder(vout_thread_t *vout, unsigned left, unsigned top, unsigned right, unsigned bottom)
Definition: video_output.c:1464
void filter_chain_Delete(filter_chain_t *p_chain)
Filter chain destruction.
Definition: filter_chain.c:148
static void vlc_array_append_or_abort(vlc_array_t *ar, void *elem)
Definition: vlc_arrays.h:327
bool b_progressive
is it a progressive frame ?
Definition: vlc_picture.h:90
void spu_ChangeMargin(spu_t *, int)
Definition: vout_subpictures.c:1701
void vout_window_SetInhibition(vout_window_t *window, bool enabled)
Definition: window.c:115
uint16_t i_id
Definition: vlc_epg.h:36
struct vout_control_cmd_t::@77::@82 window
#define STYLE_NO_DEFAULTS
Definition: vlc_text_style.h:85
void picture_fifo_Delete(picture_fifo_t *fifo)
It destroys a fifo created by picture_fifo_New.
Definition: picture_fifo.c:139
int horizontal
Definition: vlc_vout_display.h:103
bool picture_pool_OwnsPic(picture_pool_t *pool, picture_t *pic)
Test if a picture belongs to the picture pool.
Definition: picture_pool.c:299
void vout_Close(vout_thread_t *vout)
This function will close a vout created by vout_Request.
Definition: video_output.c:259
picture_t * picture_pool_Get(picture_pool_t *pool)
Obtains a picture from a pool if any is immediately available.
Definition: picture_pool.c:212
text_style_t * text_style_Create(int i_defaults)
Create a text style.
Definition: text_style.c:38
int integer
Definition: control.h:75
static void ThreadCancel(vout_thread_t *vout, bool canceled)
Definition: video_output.c:1673
static void ThreadFlushSubpicture(vout_thread_t *vout, int channel)
Definition: video_output.c:1257
static int VoutValidateFormat(video_format_t *dst, const video_format_t *src)
Definition: video_output.c:75
enum vout_window_mouse_event_type type
Definition: vlc_vout_window.h:84
picture_t * picture_Hold(picture_t *p_picture)
This function will increase the picture reference count.
Definition: picture.c:290
void vout_ControlChangeZoom(vout_thread_t *vout, int num, int den)
Definition: video_output.c:495
video_frame_format_t format
The properties of the picture.
Definition: vlc_picture.h:73
bool dead
Definition: vout_internal.h:75
vout_snapshot_t snapshot
Definition: vout_internal.h:59
static picture_t * ConvertRGB32AndBlend(vout_thread_t *vout, picture_t *pic, subpicture_t *subpic)
Definition: video_output.c:915
picture_t * picture_fifo_Pop(picture_fifo_t *fifo)
It retreives a picture_t from the fifo.
Definition: picture_fifo.c:84
void vout_UpdateDisplaySourceProperties(vout_display_t *vd, const video_format_t *source)
Definition: display.c:1001
const video_format_t * fmt
Definition: vlc_vout.h:54
char * psz_name
Definition: vlc_epg.h:53
static subpicture_region_t * vout_OSDImage(vlc_object_t *p_obj, int x, int y, int w, int h, const char *psz_uri)
Definition: video_epg.c:225
void vlc_epg_SetCurrent(vlc_epg_t *p_epg, int64_t i_start)
It set the current event of a vlc_epg_t given a start time.
Definition: epg.c:203
void filter_chain_VideoFlush(filter_chain_t *p_chain)
Flush a video filter chain.
Definition: filter_chain.c:435
void vout_NextPicture(vout_thread_t *p_vout, mtime_t *pi_duration)
This function will force to display the next picture while paused.
Definition: video_output.c:343
#define VOUT_SPU_CHANNEL_OSD
Definition: vlc_vout.h:156
#define GRADIENT_COLORS
Definition: video_epg.c:91
static int video_format_Copy(video_format_t *p_dst, const video_format_t *p_src)
Copy video_format_t including the palette.
Definition: vlc_es.h:392
void spu_Attach(spu_t *, vlc_object_t *input, bool)
Attach/Detach the SPU from any input.
Definition: vout_subpictures.c:1383
Graphical window.
Definition: vlc_vout_window.h:130
Text segment for subtitles.
Definition: vlc_text_style.h:131
int i_max_width
try to balance wrapped text lines
Definition: vlc_subpicture.h:73
subpicture_region_t * subpicture_region_New(const video_format_t *p_fmt)
This function will create a new subpicture region.
Definition: subpicture.c:206
text_segment_t * text_segment_New(const char *psz_text)
This function will create a new text segment.
Definition: text_style.c:158
static picture_t * ConvertRGB32AndBlendBufferNew(filter_t *filter)
Definition: video_output.c:910
struct filter_owner_t::@166::@168 video
unsigned width
Definition: vlc_vout_display.h:450
bool is_slow
Definition: vlc_vout_display.h:129
void vout_ControlChangeSubMargin(vout_thread_t *vout, int margin)
Definition: video_output.c:551
#define VOUT_MWAIT_TOLERANCE
Definition: video_output.c:72
#define OSDEPG_PADDING
Definition: video_epg.c:42
const vlc_fourcc_t * subpicture_chromas
Definition: vlc_vout_display.h:135
picture_fifo_t * decoder_fifo
Definition: vout_internal.h:136
Definition: video_epg.c:69
static void ThreadExecuteViewpoint(vout_thread_t *vout, const vlc_viewpoint_t *p_viewpoint)
Definition: video_output.c:1480
static char * GetDefaultArtUri(void)
Definition: video_epg.c:77
void vout_OSDMessage(vout_thread_t *vout, int channel, const char *format,...)
Write an informative message at the default location, for the default duration and only if the OSD op...
Definition: video_text.c:141
vlc_viewpoint_t viewpoint
Definition: vlc_vout_display.h:118
Definition: vlc_subpicture.h:122
int vout_OpenWrapper(vout_thread_t *, const char *, const vout_display_state_t *)
Definition: vout_wrapper.c:46
uint8_t i_outline_alpha
The transparency of the outline.
Definition: vlc_text_style.h:79
Definition: vlc_vout_display.h:61
int64_t time
Definition: video_epg.c:72
#define EPGOSD_TEXTSIZE_NTWK
Definition: video_epg.c:61
void vout_FlushSubpictureChannel(vout_thread_t *vout, int channel)
Definition: video_output.c:389
struct vout_thread_sys_t::@87 displayed
int(* pf_validate)(subpicture_t *, bool has_src_changed, const video_format_t *p_fmt_src, bool has_dst_changed, const video_format_t *p_fmt_dst, mtime_t)
Optional pre update callback, usually useful on video format change.
Definition: vlc_subpicture.h:127
int i_y
position of region, relative to alignment
Definition: vlc_subpicture.h:63
mtime_t date
Definition: vout_internal.h:86
Definition: vlc_vout_osd.h:52
subpicture_updater_t updater
Definition: vlc_subpicture.h:190
text_segment_t * p_text
subtitle text, made of a list of segments
Definition: vlc_subpicture.h:68
void vout_ControlChangeDisplayFilled(vout_thread_t *vout, bool is_filled)
Definition: video_output.c:490
static void ThreadExecuteCropWindow(vout_thread_t *vout, unsigned x, unsigned y, unsigned width, unsigned height)
Definition: video_output.c:1457
static void OSDEpgDestroy(subpicture_t *subpic)
Definition: video_epg.c:537
int i_entries
to keep the compatibility with libavcodec's palette
Definition: vlc_es.h:46
void vout_SetDisplayViewpoint(vout_display_t *vd, const vlc_viewpoint_t *p_viewpoint)
Definition: display.c:1107
mtime_t time
Definition: control.h:72
It holds a state for a vout display.
Definition: vlc_vout_wrapper.h:63
void vout_ReinitInterlacingSupport(vout_thread_t *vout)
Definition: interlacing.c:171
#define STYLE_HAS_FONT_COLOR
Definition: vlc_text_style.h:87
#define var_InheritInteger(o, n)
Definition: vlc_variables.h:612
#define msg_Info(p_this,...)
Definition: vlc_messages.h:80
static void video_format_Clean(video_format_t *p_src)
Cleanup and free palette of this video_format_t.
Definition: vlc_es.h:438
static void * Thread(void *)
Definition: video_output.c:1785
struct filter_chain_t * chain_interactive
Definition: vout_internal.h:125
void spu_ClearChannel(spu_t *spu, int channel)
It clears all subpictures associated to a SPU channel.
Definition: vout_subpictures.c:1641
int i_original_picture_height
original height of the movie
Definition: vlc_subpicture.h:186
#define OSDEPG_WIDTH
Definition: video_epg.c:43
#define EPGOSD_TEXTSIZE_PROG
Definition: video_epg.c:60
int spu_RegisterChannel(spu_t *spu)
It registers a new SPU channel.
Definition: vout_subpictures.c:1630
#define EPGOSD_TEXTSIZE_NAME
Definition: video_epg.c:59
static void vout_display_SendEventMouseReleased(vout_display_t *vd, int button)
Definition: vlc_vout_display.h:396
text_segment_t * p_next
next segment
Definition: vlc_text_style.h:134
char * splitter_name
Definition: vout_internal.h:49
static int vout_window_SetSize(vout_window_t *window, unsigned width, unsigned height)
Configures the window display (i.e.
Definition: vlc_vout_window.h:256
vlc_mutex_t spu_lock
Definition: vout_internal.h:65
vlc_mouse_t mouse
Definition: vout_internal.h:130
video_format_t fmt
Definition: vlc_vout_display.h:286
void vout_InitInterlacingSupport(vout_thread_t *vout, bool is_interlaced)
Definition: interlacing.c:98
void vout_Flush(vout_thread_t *vout, mtime_t date)
This function will ensure that all ready/displayed pictures have at most the provided date.
Definition: video_output.c:328
static void vout_chrono_Init(vout_chrono_t *chrono, int shift, mtime_t avg_initial)
Definition: chrono.h:39
static void vout_display_SendEventMouseMoved(vout_display_t *vd, int x, int y)
Definition: vlc_vout_display.h:388
struct vout_display_cfg_t::@211 align
const char * title
Definition: vlc_vout_display.h:91
#define filter_DelProxyCallbacks(a, b, c)
Definition: vlc_filter.h:252
static void ThreadChangeAspectRatio(vout_thread_t *vout, unsigned num, unsigned den)
Definition: video_output.c:1450
vlc_object_t * obj
Definition: video_epg.c:74
char * art
Definition: video_epg.c:73
unsigned picture_BlendSubpicture(picture_t *dst, filter_t *blend, subpicture_t *src)
This function will blend a given subpicture onto a picture.
Definition: subpicture.c:279
int type
Definition: control.h:68
void vout_control_WaitEmpty(vout_control_t *ctrl)
Definition: control.c:93
static void vout_OSDSegmentSetNoWrap(text_segment_t *p_segment)
Definition: video_epg.c:191
Invalid or unspecified window type.
Definition: vlc_vout_window.h:50
unsigned height
Definition: vlc_vout_display.h:95
static void vout_statistic_AddDisplayed(vout_statistic_t *stat, int displayed)
Definition: statistic.h:54
size_t i_event
Definition: vlc_epg.h:56
#define var_InheritBool(o, n)
Definition: vlc_variables.h:601
union vout_control_cmd_t::@77 u
filter_t * filter_NewBlend(vlc_object_t *p_this, const video_format_t *p_dst_chroma)
It creates a blend filter.
Definition: filter.c:104
void vout_DisplayTitle(vout_thread_t *vout, const char *title)
This function will ask the display of the input title.
Definition: video_output.c:353
#define STYLE_HAS_FONT_ALPHA
Definition: vlc_text_style.h:88
static int OSDEpgValidate(subpicture_t *subpic, bool has_src_changed, const video_format_t *fmt_src, bool has_dst_changed, const video_format_t *fmt_dst, mtime_t ts)
Definition: video_epg.c:500
char * configuration
Definition: vout_internal.h:122
Definition: video_output.c:719
bool b_balanced_text
if the decoder sends row/cols based output
Definition: vlc_subpicture.h:72
static int ThreadDelFilterCallbacks(filter_t *filter, void *opaque)
Definition: video_output.c:664
mtime_t timestamp
Definition: vout_internal.h:87
int picture_Export(vlc_object_t *p_obj, block_t **pp_image, video_format_t *p_fmt, picture_t *p_picture, vlc_fourcc_t i_format, int i_override_width, int i_override_height)
This function will export a picture to an encoded bitstream.
Definition: picture.c:414
vlc_mutex_t lock
Definition: vout_internal.h:121
#define VLC_CODEC_TEXT
Definition: vlc_fourcc.h:531
#define VOUT_REDISPLAY_DELAY
Definition: video_output.c:64
#define msg_Dbg(p_this,...)
Definition: vlc_messages.h:86
const vout_display_cfg_t * cfg
Definition: vlc_vout_display.h:268
vout_thread_t * vout
Definition: vlc_vout.h:51
void vout_SetDisplayFilled(vout_display_t *vd, bool is_filled)
Definition: display.c:1031
void vout_WindowMouseEvent(vout_thread_t *p_vout, const vout_window_mouse_event_t *mouse)
Definition: video_output.c:359
static int ThreadDisplayPreparePicture(vout_thread_t *vout, bool reuse, bool frame_by_frame)
Definition: video_output.c:845
int i_x
position of region, relative to alignment
Definition: vlc_subpicture.h:62
static void ThreadExecuteCropRatio(vout_thread_t *vout, unsigned num, unsigned den)
Definition: video_output.c:1473
unsigned den
Definition: fourcc_gen.c:33
vlc_epg_t * vlc_epg_New(uint32_t i_id, uint16_t i_source_id)
It creates a new vlc_epg_t*.
Definition: epg.c:189
static subpicture_region_t * vout_OSDEpgSlider(int x, int y, int width, int height, float ratio)
Definition: video_epg.c:122
Viewpoints.
Definition: vlc_viewpoint.h:44
int vout_HideWindowMouse(vout_thread_t *vout, bool hide)
Definition: video_output.c:647
#define VLC_EGENERIC
Unspecified error.
Definition: vlc_common.h:350
void vout_ControlChangeFilters(vout_thread_t *vout, const char *filters)
Definition: video_output.c:536
void vout_snapshot_Clean(vout_snapshot_t *snap)
Definition: snapshot.c:53
Definition: vlc_vout_osd.h:48
int vlc_clone(vlc_thread_t *th, void *(*entry)(void *), void *data, int priority)
Creates and starts a new thread.
Definition: thread.c:263
static subpicture_region_t * spuregion_CreateFromPicture(vlc_object_t *p_this, video_format_t *p_fmt, const char *psz_uri)
Definition: vout_spuregion_helper.h:65
static void OSDEpgUpdate(subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, mtime_t ts)
Definition: video_epg.c:514
void picture_Release(picture_t *p_picture)
This function will release a picture.
Definition: picture.c:300
void vout_ControlChangeCropBorder(vout_thread_t *vout, int left, int top, int right, int bottom)
Definition: video_output.c:524
void vout_CloseWrapper(vout_thread_t *, vout_display_state_t *)
Definition: vout_wrapper.c:85
bool b_absolute
position is absolute
Definition: vlc_subpicture.h:184
void vout_snapshot_Init(vout_snapshot_t *snap)
Definition: snapshot.c:44
Definition: vlc_vout_osd.h:50
char * title
Definition: vout_internal.h:80
static void vout_statistic_Clean(vout_statistic_t *stat)
Definition: statistic.h:41
struct vout_thread_sys_t::@86 display
static int ThreadDisplayRenderPicture(vout_thread_t *vout, bool is_forced)
Definition: video_output.c:964
Definition: vlc_vout_display.h:76
static text_segment_t * vout_OSDSegment(const char *psz_text, int size, uint32_t color)
Definition: video_epg.c:200
static void vout_display_SendEventMousePressed(vout_display_t *vd, int button)
Definition: vlc_vout_display.h:392
#define var_InheritString(o, n)
Definition: vlc_variables.h:639
static void ThreadStep(vout_thread_t *vout, mtime_t *duration)
Definition: video_output.c:1339
struct filter_chain_t * chain_static
Definition: vout_internal.h:124
vlc_fourcc_t image_Type2Fourcc(const char *)
Definition: image.c:608
static int vout_window_SetFullScreen(vout_window_t *window, bool full)
Sets fullscreen mode.
Definition: vlc_vout_window.h:265
Video picture.
Definition: vlc_picture.h:68
int asprintf(char **, const char *,...)
int i_text_align
alignment flags of region content
Definition: vlc_subpicture.h:69
Definition: vlc_vout_window.h:73
vout_display_info_t info
Definition: vlc_vout_display.h:292
void vout_FilterFlush(vout_display_t *vd)
Definition: display.c:993
static int OSDTextValidate(subpicture_t *subpic, bool has_src_changed, const video_format_t *fmt_src, bool has_dst_changed, const video_format_t *fmt_dst, mtime_t ts)
Definition: video_text.c:38
int y
Definition: vlc_vout_display.h:449
void vout_control_PushVoid(vout_control_t *ctrl, int type)
Definition: control.c:121
void spu_ChangeFilters(spu_t *spu, const char *filters)
It changes the sub filters list.
Definition: vout_subpictures.c:1682
uint32_t i_id
Definition: vlc_epg.h:54
void picture_fifo_OffsetDate(picture_fifo_t *fifo, mtime_t delta)
It applies a delta on all the picture timestamp.
Definition: picture_fifo.c:130
video_format_t original
Definition: vout_internal.h:55
void vout_control_Dead(vout_control_t *ctrl)
Definition: control.c:84
#define filter_AddProxyCallbacks(a, b, c)
Definition: vlc_filter.h:241
void vout_control_Push(vout_control_t *ctrl, vout_control_cmd_t *cmd)
Definition: control.c:101
int i_channel
subpicture channel ID
Definition: vlc_subpicture.h:157
picture_t * picture_pool_Wait(picture_pool_t *pool)
Obtains a picture from a pool.
Definition: picture_pool.c:248
enum text_style_t::@200 e_wrapinfo
static int ThreadStart(vout_thread_t *vout, vout_display_state_t *state)
Definition: video_output.c:1486
void vout_ChangePause(vout_thread_t *, bool b_paused, mtime_t i_date)
This function will (un)pause the display of pictures.
Definition: video_output.c:311
picture_t * vout_GetPicture(vout_thread_t *vout)
Allocates a video output picture buffer.
Definition: video_output.c:404
static subpicture_region_t * vout_OSDTextRegion(text_segment_t *p_segment, int x, int y)
Definition: video_epg.c:254
const vout_configuration_t * cfg
Definition: control.h:101
es_format_t fmt_out
Definition: vlc_filter.h:77
#define OSDEPG_HEIGHT
Definition: video_epg.c:44
void vout_Flush(vout_thread_t *p_vout, mtime_t i_date)
This function will ensure that all ready/displayed pictures have at most the provided date.
Definition: video_output.c:328
struct vout_control_cmd_t::@77::@79 pause
vlc_fourcc_t vlc_fourcc_GetCodec(int cat, vlc_fourcc_t fourcc)
It returns the codec associated to a fourcc within an ES category.
Definition: fourcc.c:113
struct picture_t * p_next
Next picture in a FIFO a pictures.
Definition: vlc_picture.h:101
static void ThreadDisplayOsdTitle(vout_thread_t *vout, const char *string)
Definition: video_output.c:1262
int type
Definition: video_widgets.c:251
Vout configuration.
Definition: vlc_vout.h:50
Definition: vlc_vout_window.h:72
static void ThreadDelAllFilterCallbacks(vout_thread_t *vout)
Definition: video_output.c:671
#define ARGB_BGCOLOR
Definition: video_epg.c:64
unsigned height
Definition: vlc_vout_display.h:451
void vout_ControlChangeSampleAspectRatio(vout_thread_t *vout, unsigned num, unsigned den)
Definition: video_output.c:500
uint16_t i_features
Feature flags (means non default)
Definition: vlc_text_style.h:66
#define var_GetFloat(a, b)
Definition: vlc_variables.h:657
const es_format_t * filter_chain_GetFmtOut(filter_chain_t *p_chain)
Get last output format of the last element in the filter chain.
Definition: filter_chain.c:380
struct vout_display_cfg_t::@212 zoom
struct vout_display_cfg_t::@210 display
#define CLOCK_FREQ
Definition: vlc_config.h:45
filter_t * spu_blend
Definition: vout_internal.h:68
vlc_object_t * input
Definition: vout_internal.h:52
#define msg_Warn(p_this,...)
Definition: vlc_messages.h:84
picture_t * picture_fifo_Peek(picture_fifo_t *fifo)
It returns the first picture_t pointer from the fifo but does not remove it.
Definition: picture_fifo.c:92
void filter_DeleteBlend(filter_t *p_blend)
It destroys a blend filter created by filter_NewBlend.
Definition: filter.c:177
uint32_t i_duration
Definition: vlc_epg.h:35
bool is_interlaced
Definition: vout_internal.h:88
#define STYLE_HAS_OUTLINE_ALPHA
Definition: vlc_text_style.h:91
void subpicture_Delete(subpicture_t *p_subpic)
This function delete a subpicture created by subpicture_New.
Definition: subpicture.c:83
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
picture_fifo_t * picture_fifo_New(void)
It creates an empty picture_fifo_t.
Definition: picture_fifo.c:67
int vout_OSDEpg(vout_thread_t *vout, input_item_t *input)
Show EPG information about the current program of an input item.
Definition: video_epg.c:552
Window mouse event.
Definition: vlc_vout_window.h:82
Definition: vlc_arrays.h:238
#define filter_chain_NewVideo(a, b, c)
Definition: vlc_filter.h:331
#define vlc_object_release(a)
Definition: vlc_objects.h:63
void vout_SetDisplayZoom(vout_display_t *vd, unsigned num, unsigned den)
Definition: display.c:1038
subpicture_t * subpicture
Definition: control.h:102
Definition: vlc_vout_display.h:75
void vout_DisplayTitle(vout_thread_t *p_vout, const char *psz_title)
This function will ask the display of the input title.
Definition: video_output.c:353
Definition: vlc_filter.h:41
mtime_t last
Definition: vout_internal.h:95
static void ThreadFilterFlush(vout_thread_t *vout, bool is_locked)
Definition: video_output.c:701
#define SUBPICTURE_ALIGN_MASK
Definition: vlc_subpicture.h:85
void spu_OffsetSubtitleDate(spu_t *p_spu, mtime_t i_duration)
This function will apply an offset on subtitle subpicture.
Definition: vout_subpictures.c:1611
spu_t * spu
Definition: vout_internal.h:66
#define STYLE_HAS_WRAP_INFO
Definition: vlc_text_style.h:98
void vout_ChangeAspectRatio(vout_thread_t *p_vout, unsigned int i_num, unsigned int i_den)
Definition: video_output.c:474
unsigned dpb_size
Definition: vout_internal.h:56
Definition: vlc_vout_display.h:63
video_format_t source
Definition: vlc_vout_display.h:275
void vout_control_Clean(vout_control_t *ctrl)
Definition: control.c:70
int i_font_color
The color of the text 0xRRGGBB (native endianness)
Definition: vlc_text_style.h:72
#define SUBPICTURE_ALIGN_LEFT
Definition: vlc_subpicture.h:81
#define VLC_CODEC_RGB32
Definition: vlc_fourcc.h:325
Definition: vlc_configuration.h:155
#define SUBPICTURE_ALIGN_BOTTOM
Definition: vlc_subpicture.h:84
void vout_control_cmd_Init(vout_control_cmd_t *cmd, int type)
Definition: control.c:33
#define VLC_TS_INVALID
Definition: vlc_config.h:42
static size_t vlc_array_count(vlc_array_t *p_array)
Definition: vlc_arrays.h:257
Structure describing a filter.
Definition: vlc_filter.h:65
static vout_thread_t * VoutCreate(vlc_object_t *object, const vout_configuration_t *cfg)
Definition: video_output.c:113
bool use_dr
Definition: vout_internal.h:82
static void ThreadChangeWindowMouse(vout_thread_t *vout, const vout_window_mouse_event_t *mouse)
Definition: video_output.c:1390
int i_pitch
Number of bytes in a line, including margins.
Definition: vlc_picture.h:43
Definition: vlc_vout_display.h:66
static void vout_statistic_AddLost(vout_statistic_t *stat, int lost)
Definition: statistic.h:60
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
void vout_SetInterlacingState(vout_thread_t *vout, bool is_interlaced)
Definition: interlacing.c:177
void vout_control_PushInteger(vout_control_t *ctrl, int type, int integer)
Definition: control.c:136
void * sys
Definition: vlc_filter.h:43
void vout_control_cmd_Clean(vout_control_cmd_t *cmd)
Definition: control.c:39
Definition: vlc_vout_display.h:67
int64_t i_start
Definition: vlc_epg.h:34
Video subtitle.
Definition: vlc_subpicture.h:153
Definition: vlc_vout_window.h:76
void vlc_assert_locked(vlc_mutex_t *p_mutex)
Definition: thread.c:117
static void ThreadChangeFullscreen(vout_thread_t *vout, bool fullscreen)
Definition: video_output.c:1359
Definition: vlc_vout_window.h:74
vout_thread_sys_t * p
Definition: vlc_vout.h:74
int vout_GetSnapshot(vout_thread_t *vout, block_t **image_dst, picture_t **picture_dst, video_format_t *fmt, const char *type, mtime_t timeout)
This function will handle a snapshot request.
Definition: video_output.c:441
subpicture_region_t * p_region
region list composing this subtitle
Definition: vlc_subpicture.h:167
int i_align
alignment flags of region
Definition: vlc_subpicture.h:64
vlc_epg_t * epg
Definition: video_epg.c:71
Subpicture unit descriptor.
Definition: vlc_spu.h:47
void vout_SetDisplayAspect(vout_display_t *vd, unsigned dar_num, unsigned dar_den)
Definition: display.c:1065
static void OSDTextDestroy(subpicture_t *subpic)
Definition: video_text.c:97
static picture_t * VoutVideoFilterStaticNewPicture(filter_t *filter)
Definition: video_output.c:690
#define VLC_CLIP(v, min, max)
Definition: vlc_common.h:485
struct vout_thread_sys_t::@92 filter
picture_t * next
Definition: vout_internal.h:91
#define vlc_object_set_destructor(a, b)
Definition: libvlc.h:120
vlc_rational_t sar
Definition: vlc_vout_display.h:98
Video subtitle region.
Definition: vlc_subpicture.h:57
#define VLC_CODEC_PNG
Definition: vlc_fourcc.h:384
int i_font_size
The font size in pixels.
Definition: vlc_text_style.h:71
#define OSDEPG_LOGO_SIZE
Definition: video_epg.c:51
vlc_epg_event_t ** pp_event
Definition: vlc_epg.h:57
void vout_SetDisplayCrop(vout_display_t *vd, unsigned crop_num, unsigned crop_den, unsigned left, unsigned top, int right, int bottom)
Definition: display.c:1085
Definition: vlc_vout_window.h:75
static void vout_display_Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture)
It display a picture.
Definition: vlc_vout_wrapper.h:53
mtime_t avg
Definition: chrono.h:50
Definition: vlc_vout_display.h:74
picture_t * decoded
Definition: vout_internal.h:89
int i_original_picture_width
original width of the movie
Definition: vlc_subpicture.h:185
int den
Definition: vlc_vout_display.h:115
static void spuregion_CreateVGradientPalette(video_palette_t *p_palette, uint8_t i_splits, uint32_t argb1, uint32_t argb2)
Definition: vout_spuregion_helper.h:30
bool is_late_dropped
Definition: vout_internal.h:117
bool b_force
Definition: vlc_picture.h:83
int filter_chain_ForEach(filter_chain_t *chain, int(*cb)(filter_t *, void *), void *opaque)
Definition: filter_chain.c:363
static void VoutDestructor(vlc_object_t *)
Definition: video_output.c:281
#define STYLE_ALPHA_OPAQUE
Definition: vlc_text_style.h:81
void vout_IntfReinit(vout_thread_t *)
Definition: vout_intf.c:310
static int vout_window_HideMouse(vout_window_t *window, bool hide)
Hide the mouse cursor.
Definition: vlc_vout_window.h:273
void vlc_mutex_init(vlc_mutex_t *p_mutex)
Initializes a fast mutex.
Definition: thread.c:85
int y
Definition: vlc_vout_window.h:86
void text_segment_Delete(text_segment_t *segment)
Delete a text segment and its content.
Definition: text_style.c:186
void picture_pool_Cancel(picture_pool_t *pool, bool canceled)
Cancel the picture pool.
Definition: picture_pool.c:288
static void ThreadChangeDisplayFilled(vout_thread_t *vout, bool is_filled)
Definition: video_output.c:1433
#define var_GetInteger(a, b)
Definition: vlc_variables.h:655
vout_window_t * vout_display_window_New(vout_thread_t *vout, const vout_window_cfg_t *cfg)
Creates a video window, initially without any attached display.
Definition: window.c:171
void vout_NextPicture(vout_thread_t *vout, mtime_t *duration)
This function will force to display the next picture while paused.
Definition: video_output.c:343
struct vout_thread_sys_t::@89 pause
int position
Definition: video_text.c:55
void vout_ControlChangeCropWindow(vout_thread_t *vout, int x, int y, int width, int height)
Definition: video_output.c:512
struct vout_thread_sys_t::@88 step
#define SUBPICTURE_ALIGN_RIGHT
Definition: vlc_subpicture.h:82
uint8_t i_font_alpha
The transparency of the text.
Definition: vlc_text_style.h:74
void vout_PutSubpicture(vout_thread_t *vout, subpicture_t *subpic)
Definition: video_output.c:370
static int ThreadReinit(vout_thread_t *vout, const vout_configuration_t *cfg)
Definition: video_output.c:1609
int vout_control_Pop(vout_control_t *ctrl, vout_control_cmd_t *cmd, mtime_t deadline)
Definition: control.c:179
static void spuregion_CreateVGradientFill(plane_t *p, uint8_t i_splits)
Definition: vout_spuregion_helper.h:48
static void vout_display_SendEventMouseDoubleClick(vout_display_t *vd)
Definition: vlc_vout_display.h:400
#define VOUT_DISPLAY_LATE_THRESHOLD
Late pictures having a delay higher than this value are thrashed.
Definition: video_output.c:69
static void vout_statistic_Init(vout_statistic_t *stat)
Definition: statistic.h:35
subpicture_region_t * p_next
vertical rendering/cropping target/limit
Definition: vlc_subpicture.h:76
void vout_snapshot_End(vout_snapshot_t *snap)
Definition: snapshot.c:66
uint8_t i_shadow_alpha
The transparency of the shadow.
Definition: vlc_text_style.h:84
void vout_ControlChangeSubFilters(vout_thread_t *vout, const char *filters)
Definition: video_output.c:546
mtime_t var
Definition: chrono.h:54
#define VOUT_SPU_CHANNEL_AVAIL_FIRST
Definition: vlc_vout.h:157
static void ThreadDisplaySubpicture(vout_thread_t *vout, subpicture_t *subpicture)
Definition: video_output.c:1251
unsigned type
Window handle type.
Definition: vlc_vout_window.h:146
bool b_subtitle
the picture is a movie subtitle
Definition: vlc_subpicture.h:183
vlc_thread_t thread
Definition: vout_internal.h:74
static void vout_FillRightPanel(subpicture_updater_sys_t *p_sys, int x, int y, int width, int height, int rx, int ry, subpicture_region_t **last_ptr)
Definition: video_epg.c:320
char * config_ChainCreate(char **ppsz_name, config_chain_t **pp_cfg, const char *psz_chain)
This function will parse a configuration string (psz_string) and.
Definition: chain.c:225
mtime_t i_stop
end of display date
Definition: vlc_subpicture.h:172
static void ThreadChangePause(vout_thread_t *vout, bool is_paused, mtime_t date)
Definition: video_output.c:1287
bool boolean
Definition: control.h:71
void vout_SetDisplayWindowSize(vout_thread_t *vout, unsigned width, unsigned height)
Definition: video_output.c:630
static void vout_chrono_Clean(vout_chrono_t *chrono)
Definition: chrono.h:50
void vout_ManageWrapper(vout_thread_t *)
Definition: vout_wrapper.c:185
void vout_display_window_Delete(vout_window_t *window)
Destroys a video window.
Definition: window.c:234
text_style_t * style
style applied to this segment
Definition: vlc_text_style.h:133
void picture_fifo_Push(picture_fifo_t *fifo, picture_t *picture)
It saves a picture_t into the fifo.
Definition: picture_fifo.c:78
vout_window_t * window
Definition: vout_internal.h:71
static void vout_display_SendEventMouseState(vout_display_t *vd, int x, int y, int button_mask)
Definition: vlc_vout_display.h:384
#define likely(p)
Definition: vlc_common.h:113
char * name
Definition: video_output.c:720
The main vlc_object_t structure.
Definition: vlc_objects.h:39
bool vout_snapshot_IsRequested(vout_snapshot_t *snap)
It tells if they are pending snapshot request.
Definition: snapshot.c:103
int i_visible_pitch
How many visible pixels are there ?
Definition: vlc_picture.h:50
static int ThreadControl(vout_thread_t *vout, vout_control_cmd_t cmd)
Definition: video_output.c:1678
static void vout_OSDRegionConstrain(subpicture_region_t *p_region, int w, int h)
Definition: video_epg.c:245
vlc_rational_t sar
Definition: vlc_vout_wrapper.h:68
unsigned num
Definition: fourcc_gen.c:33
vout_statistic_t statistic
Definition: vout_internal.h:62
vlc_object_t * input
Definition: vlc_vout.h:52
bool change_fmt
Definition: vlc_vout.h:53
static void vlc_array_init(vlc_array_t *p_array)
Definition: vlc_arrays.h:244
void picture_Reset(picture_t *p_picture)
This function will reset a picture information (properties and quantizers).
Definition: picture.c:127
void picture_Copy(picture_t *p_dst, const picture_t *p_src)
This function will copy both picture dynamic properties and pixels.
Definition: picture.c:373
bool b_ephemer
If this flag is set to true the subtitle will be displayed until the next one appear.
Definition: vlc_subpicture.h:173
static void vout_chrono_Start(vout_chrono_t *chrono)
Definition: chrono.h:54
#define VLC_UNUSED(x)
Definition: vlc_common.h:912
bool has_deint
Definition: vout_internal.h:126
void vout_OSDSlider(vout_thread_t *vout, int channel, int position, short type)
Display a slider on the video output.
Definition: video_widgets.c:332
static void ThreadStop(vout_thread_t *vout, vout_display_state_t *state)
Definition: video_output.c:1566
#define VLC_CODEC_YUVA
Definition: vlc_fourcc.h:261
#define VLC_SUCCESS
No error.
Definition: vlc_common.h:349
#define VLC_THREAD_PRIORITY_OUTPUT
Definition: vlc_threads.h:325
uint8_t * p_pixels
Start of the plane's data.
Definition: vlc_picture.h:39
static char * vout_OSDPrintTime(time_t t)
Definition: video_epg.c:289
static void vlc_array_clear(vlc_array_t *p_array)
Definition: vlc_arrays.h:250
int vout_InitWrapper(vout_thread_t *)
Definition: vout_wrapper.c:113
void vout_GetResetStatistic(vout_thread_t *p_vout, unsigned *pi_displayed, unsigned *pi_lost)
This function will return and reset internal statistics.
void spu_ChangeSources(spu_t *spu, const char *filters)
It changes the sub sources list.
Definition: vout_subpictures.c:1663
void vout_IntfInit(vout_thread_t *)
Definition: vout_intf.c:146
void vout_Cancel(vout_thread_t *vout, bool canceled)
Definition: video_output.c:305
char * strdup(const char *)
char * psz_name
Definition: vlc_epg.h:38
#define OSDEPG_ROWS(x)
Definition: video_epg.c:56
Definition: filter_chain.c:51
static bool VideoFormatIsCropArEqual(video_format_t *dst, const video_format_t *src)
Definition: video_output.c:103
void picture_fifo_Flush(picture_fifo_t *fifo, mtime_t date, bool flush_before)
It release all picture inside the fifo that have a lower or equal date if flush_before or higher or e...
Definition: picture_fifo.c:102
bool b_fade
enable fading
Definition: vlc_subpicture.h:175
void vout_PutPicture(vout_thread_t *vout, picture_t *picture)
It gives to the vout a picture to be displayed.
Definition: video_output.c:422
uint16_t i_source_id
Definition: vlc_epg.h:55
bool vout_IsDisplayFiltered(vout_display_t *vd)
Definition: display.c:974
Definition: vlc_vout_window.h:90
void vout_control_Wake(vout_control_t *ctrl)
Definition: control.c:113
void vout_Cancel(vout_thread_t *p_vout, bool b_canceled)
Definition: video_output.c:305
picture_t * current
Definition: vout_internal.h:90
bool filter_chain_IsEmpty(const filter_chain_t *chain)
Checks if the filter chain is empty.
Definition: filter_chain.c:375
#define vlc_custom_create(o, s, n)
Definition: libvlc.h:108
vout_window_mouse_event_t window_mouse
Definition: control.h:100
#define OSDEPG_LEFT
Definition: video_epg.c:45
unsigned dpb_size
Definition: vlc_vout.h:55
bool vlc_epg_AddEvent(vlc_epg_t *p_epg, vlc_epg_event_t *p_evt)
It appends a new vlc_epg_event_t to a vlc_epg_t.
Definition: epg.c:132
picture_t * filter_chain_VideoFilter(filter_chain_t *p_chain, picture_t *p_pic)
Apply the filter chain to a video picture.
Definition: filter_chain.c:412
void vout_ControlChangeCropRatio(vout_thread_t *vout, unsigned num, unsigned den)
Definition: video_output.c:506
static void vout_chrono_Stop(vout_chrono_t *chrono)
Definition: chrono.h:67
const char name[16]
Definition: httpd.c:1249
void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
Definition: control.c:128
static void ThreadChangeWindowState(vout_thread_t *vout, unsigned state)
Definition: video_output.c:1377
static void ThreadChangeSubSources(vout_thread_t *vout, const char *filters)
Definition: video_output.c:1272
#define STYLE_ALPHA_TRANSPARENT
Definition: vlc_text_style.h:82
static void ThreadChangeSubFilters(vout_thread_t *vout, const char *filters)
Definition: video_output.c:1277
static void video_format_Init(video_format_t *p_src, vlc_fourcc_t i_chroma)
Initialize a video_format_t structure with chroma 'i_chroma'.
Definition: vlc_es.h:380
picture_t * p_picture
picture comprising this region
Definition: vlc_subpicture.h:60
vlc_viewpoint_t viewpoint
Definition: control.h:103
int vout_RegisterSubpictureChannel(vout_thread_t *vout)
Definition: video_output.c:378
int num
Definition: vlc_vout_display.h:114
void vout_OSDIcon(vout_thread_t *vout, int channel, short type)
Display an Icon on the video output.
Definition: video_widgets.c:337
#define STYLE_HAS_SHADOW_ALPHA
Definition: vlc_text_style.h:93
Initial/Current configuration for a vout_display_t.
Definition: vlc_vout_display.h:83
void vout_OSDText(vout_thread_t *vout, int channel, int position, mtime_t duration, const char *text)
Write an informative message if the OSD option is enabled.
Definition: video_text.c:105
void vout_ChangePause(vout_thread_t *vout, bool is_paused, mtime_t date)
This function will (un)pause the display of pictures.
Definition: video_output.c:311
#define vlc_array_item_at_index(ar, idx)
Definition: vlc_arrays.h:263
void vout_snapshot_Set(vout_snapshot_t *snap, const video_format_t *fmt, picture_t *picture)
It set the picture used to create the snapshots.
Definition: snapshot.c:112
static void vout_display_SendEventDisplaySize(vout_display_t *vd, int width, int height)
Definition: vlc_vout_display.h:356
void vlc_epg_Delete(vlc_epg_t *p_epg)
It releases a vlc_epg_t*.
Definition: epg.c:197
picture_pool_t * display_pool
Definition: vout_internal.h:134
config_chain_t * cfg
Definition: video_output.c:721
#define VLC_CODEC_YUVP
Definition: vlc_fourcc.h:258
char * vlc_path2uri(const char *path, const char *scheme)
Converts local path to URL.
Definition: url.c:138
int button_mask
Definition: vlc_vout_window.h:87
static void VideoFormatCopyCropAr(video_format_t *dst, const video_format_t *src)
Definition: video_output.c:96
bool vout_IsEmpty(vout_thread_t *vout)
This function will return true if no more pictures are to be displayed.
Definition: video_output.c:334
char * string
Definition: control.h:74
void vlc_mutex_destroy(vlc_mutex_t *p_mutex)
Deinitializes a mutex.
Definition: thread.c:110
subpicture_t * spu_Render(spu_t *spu, const vlc_fourcc_t *chroma_list, const video_format_t *fmt_dst, const video_format_t *fmt_src, mtime_t render_subtitle_date, mtime_t render_osd_date, bool ignore_osd)
This function will return an unique subpicture containing the OSD and subtitles visibles at the reque...
Definition: vout_subpictures.c:1515
vlc_epg_event_t * vlc_epg_event_Duplicate(const vlc_epg_event_t *p_src)
Returns a vlc_epg_event_t * duplicated from p_src.
Definition: epg.c:73
void vout_ControlChangeWindowState(vout_thread_t *vout, unsigned st)
Definition: video_output.c:486
void vlc_mutex_unlock(vlc_mutex_t *p_mutex)
Releases a mutex.
Definition: thread.c:138
#define unlikely(p)
Definition: vlc_common.h:114
vlc_fourcc_t spu_blend_chroma
Definition: vout_internal.h:67
void vout_ControlChangeFullscreen(vout_thread_t *vout, bool fullscreen)
Definition: video_output.c:481
static subpicture_region_t * vout_BuildOSDEpg(subpicture_updater_sys_t *p_sys, int x, int y, int visible_width, int visible_height)
Definition: video_epg.c:414
mtime_t i_start
beginning of display date
Definition: vlc_subpicture.h:171
bool vlc_ureduce(unsigned *, unsigned *, uint64_t, uint64_t, uint64_t)
bool is_display_filled
Definition: vlc_vout_display.h:108
const vlc_epg_event_t * p_current
Definition: vlc_epg.h:59
struct tm * localtime_r(const time_t *, struct tm *)
void vout_control_PushPair(vout_control_t *ctrl, int type, int a, int b)
Definition: control.c:161
void spu_PutSubpicture(spu_t *spu, subpicture_t *subpic)
Display a subpicture.
Definition: vout_subpictures.c:1433
static int ThreadDisplayPicture(vout_thread_t *vout, mtime_t *deadline)
Definition: video_output.c:1182
static void ThreadInit(vout_thread_t *vout)
Definition: video_output.c:1592
static mtime_t vout_chrono_GetHigh(vout_chrono_t *chrono)
Definition: chrono.h:58
void vout_GetResetStatistic(vout_thread_t *vout, unsigned *restrict displayed, unsigned *restrict lost)
Definition: video_output.c:322
Definition: vlc_vout_osd.h:47
static void VoutGetDisplayCfg(vout_thread_t *vout, vout_display_cfg_t *cfg, const char *title)
Definition: video_output.c:567
#define vlc_assert_unreachable()
Definition: vlc_common.h:118
vout_window_t * vout_NewDisplayWindow(vout_thread_t *vout, unsigned type)
Definition: video_output.c:608
int64_t mtime_t
High precision date or time interval.
Definition: vlc_common.h:150
subpicture_t * subpicture_New(const subpicture_updater_t *p_upd)
This function create a new empty subpicture.
Definition: subpicture.c:44
struct vout_control_cmd_t::@77::@78 pair
mtime_t * time_ptr
Definition: control.h:73
int x
Definition: vlc_vout_window.h:85
vout_display_cfg_t cfg
Definition: vlc_vout_wrapper.h:64
picture_pool_t * decoder_pool
Definition: vout_internal.h:135
picture_t * vout_snapshot_Get(vout_snapshot_t *snap, mtime_t timeout)
Definition: snapshot.c:77
bool vout_IsEmpty(vout_thread_t *p_vout)
This function will return true if no more pictures are to be displayed.
Definition: video_output.c:334
void spu_Destroy(spu_t *spu)
Destroy the subpicture unit.
Definition: vout_subpictures.c:1340
Video output thread descriptor.
Definition: vlc_vout.h:70
#define VLC_OBJECT(x)
Type-safe vlc_object_t cast.
Definition: vlc_common.h:464
static int FilterRestartCallback(vlc_object_t *p_this, char const *psz_var, vlc_value_t oldval, vlc_value_t newval, void *p_data)
Definition: video_output.c:655
#define OSDEPG_ROW(x)
Definition: video_epg.c:57
static subpicture_region_t * vout_OSDEpgText(const char *text, int x, int y, int size, uint32_t color)
Definition: video_epg.c:282
static int vout_window_SetState(vout_window_t *window, unsigned state)
Configures the window manager state for this window.
Definition: vlc_vout_window.h:248
#define var_InheritURational(a, b, c, d)
Definition: vlc_variables.h:653
void vout_ControlChangeViewpoint(vout_thread_t *vout, const vlc_viewpoint_t *p_viewpoint)
Definition: video_output.c:557
Definition: vlc_vout_display.h:256
mtime_t mdate(void)
Precision monotonic clock.
Definition: thread.c:406
bool is_on
Definition: vout_internal.h:100
#define mwait(d)
Definition: vlc_threads.h:879
#define SUBPICTURE_ALIGN_TOP
Definition: vlc_subpicture.h:83
int x
Definition: vlc_vout_display.h:448
vout_display_t * vd
Definition: vout_internal.h:81
void filter_chain_Reset(filter_chain_t *p_chain, const es_format_t *p_fmt_in, const es_format_t *p_fmt_out)
Filter chain reinitialisation.
Definition: filter_chain.c:161
#define spu_Create(a, b)
Definition: vlc_spu.h:55
int vertical
Definition: vlc_vout_display.h:104
Definition: vlc_vout_display.h:64
struct vout_control_cmd_t::@77::@81 border
VLC value structure.
Definition: vlc_common.h:325
static void OSDTextUpdate(subpicture_t *subpic, const video_format_t *fmt_src, const video_format_t *fmt_dst, mtime_t ts)
Definition: video_text.c:52
char * text
Definition: video_text.c:56
static subpicture_region_t * vout_OSDBackground(int x, int y, int width, int height, uint32_t i_argb)
Definition: video_epg.c:93
Definition: vout_internal.h:46
void vout_ControlChangeSubSources(vout_thread_t *vout, const char *filters)
Definition: video_output.c:541
static void vout_display_Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture)
It preparse a picture for display.
Definition: vlc_vout_wrapper.h:42
int i_max_height
horizontal rendering/cropping target/limit
Definition: vlc_subpicture.h:74
void vlc_mutex_lock(vlc_mutex_t *p_mutex)
Acquires a mutex.
Definition: thread.c:123
plane_t p[(5)]
description of the planes
Definition: vlc_picture.h:75
picture_pool_t * private_pool
Definition: vout_internal.h:133
subpicture_updater_sys_t * p_sys
Definition: vlc_subpicture.h:140
vout_chrono_t render
picture render time estimator
Definition: vout_internal.h:137
Definition: vlc_block.h:111
Definition: vlc_vout_osd.h:53
mtime_t date
display date
Definition: vlc_picture.h:82
void config_ChainDestroy(config_chain_t *p_cfg)
This function will release a linked list of config_chain_t (Including the head)
Definition: chain.c:253
int filter_chain_AppendConverter(filter_chain_t *chain, const es_format_t *fmt_in, const es_format_t *fmt_out)
Append a conversion to the chain.
Definition: filter_chain.c:274
static void ThreadClean(vout_thread_t *vout)
Definition: video_output.c:1602
#define msg_Err(p_this,...)
Definition: vlc_messages.h:82
int vasprintf(char **, const char *, va_list)
void vlc_epg_event_Delete(vlc_epg_event_t *p_event)
Releases a vlc_epg_event_t*.
Definition: epg.c:46
#define RGB_COLOR1
Definition: video_epg.c:63
static void vout_statistic_GetReset(vout_statistic_t *stat, unsigned *restrict displayed, unsigned *restrict lost)
Definition: statistic.h:46
picture_t * vout_FilterDisplay(vout_display_t *vd, picture_t *picture)
Definition: display.c:981
static picture_t * VoutVideoFilterInteractiveNewPicture(filter_t *filter)
Definition: video_output.c:678
picture_t * picture_NewFromFormat(const video_format_t *p_fmt)
This function will create a new picture using the given format.
Definition: picture.c:271
#define var_GetBool(a, b)
Definition: vlc_variables.h:656
void vout_control_Init(vout_control_t *ctrl)
Definition: control.c:58
void vout_DeleteDisplayWindow(vout_thread_t *vout, vout_window_t *window)
Definition: video_output.c:621
void vlc_join(vlc_thread_t handle, void **result)
Waits for a thread to complete (if needed), then destroys it.
Definition: thread.c:270
video_format_t format
Definition: vout_internal.h:123
vout_thread_t * vout_Request(vlc_object_t *object, const vout_configuration_t *cfg)
Returns a suitable vout or release the given one.
Definition: video_output.c:218
filter_t * filter_chain_AppendFilter(filter_chain_t *chain, const char *name, config_chain_t *cfg, const es_format_t *fmt_in, const es_format_t *fmt_out)
Append a filter to the chain.
Definition: filter_chain.c:266
void vout_control_PushString(vout_control_t *ctrl, int type, const char *string)
Definition: control.c:170
#define OSDEPG_TOP
Definition: video_epg.c:46
static void vlc_mouse_Init(vlc_mouse_t *p_mouse)
Definition: vlc_mouse.h:56
void vout_control_PushTime(vout_control_t *ctrl, int type, mtime_t time)
Definition: control.c:144
static subpicture_region_t * vout_OSDEpgEvent(const vlc_epg_event_t *p_evt, int x, int y, int size)
Definition: video_epg.c:299
uint32_t vlc_fourcc_t
Definition: fourcc_gen.c:32
bool is_standalone
Definition: vlc_vout_window.h:95
static void ThreadChangeZoom(vout_thread_t *vout, int num, int den)
Definition: video_output.c:1438
static void ThreadChangeSubMargin(vout_thread_t *vout, int margin)
Definition: video_output.c:1282
static void vout_CloseAndRelease(vout_thread_t *p_vout)
This function will close a vout created by vout_Create and then release it.
Definition: vlc_vout.h:121
filter_owner_t owner
Definition: vlc_filter.h:151
char * config_GetDataDir(void)
Definition: dirs.c:94