|
VLC
2.1.0-git
|

Data Structures | |
| struct | vout_filter_t |
Macros | |
| #define | VOUT_REDISPLAY_DELAY (INT64_C(80000)) |
| #define | VOUT_DISPLAY_LATE_THRESHOLD (INT64_C(20000)) |
| Late pictures having a delay higher than this value are thrashed. | |
| #define | VOUT_MWAIT_TOLERANCE (INT64_C(4000)) |
Functions | |
| static void * | Thread (void *) |
| static void | VoutDestructor (vlc_object_t *) |
| static int | VoutValidateFormat (video_format_t *dst, const video_format_t *src) |
| static void | VideoFormatCopyCropAr (video_format_t *dst, const video_format_t *src) |
| static bool | VideoFormatIsCropArEqual (video_format_t *dst, const video_format_t *src) |
| static vout_thread_t * | VoutCreate (vlc_object_t *object, const vout_configuration_t *cfg) |
| vout_thread_t *() | vout_Request (vlc_object_t *object, const vout_configuration_t *cfg) |
| Returns a suitable vout or release the given one. | |
| void | vout_Close (vout_thread_t *vout) |
| This function will close a vout created by vout_Request. | |
| void | vout_ChangePause (vout_thread_t *vout, bool is_paused, mtime_t date) |
| This function will (un)pause the display of pictures. | |
| void | vout_GetResetStatistic (vout_thread_t *vout, int *displayed, int *lost) |
| This function will return and reset internal statistics. | |
| void | vout_Flush (vout_thread_t *vout, mtime_t date) |
| This function will ensure that all ready/displayed pciture have at most the provided dat. | |
| void | vout_Reset (vout_thread_t *vout) |
| bool | vout_IsEmpty (vout_thread_t *vout) |
| This function will return true if no more pictures are to be displayed. | |
| void | vout_FixLeaks (vout_thread_t *vout) |
| This function will try to detect if pictures are being leaked. | |
| void | vout_NextPicture (vout_thread_t *vout, mtime_t *duration) |
| This function will force to display the next picture while paused. | |
| void | vout_DisplayTitle (vout_thread_t *vout, const char *title) |
| This function will ask the display of the input title. | |
| void | vout_PutSubpicture (vout_thread_t *vout, subpicture_t *subpic) |
| int | vout_RegisterSubpictureChannel (vout_thread_t *vout) |
| void | vout_FlushSubpictureChannel (vout_thread_t *vout, int channel) |
| picture_t * | vout_GetPicture (vout_thread_t *vout) |
| It retreives a picture from the vout or NULL if no pictures are available yet. | |
| void | vout_PutPicture (vout_thread_t *vout, picture_t *picture) |
| It gives to the vout a picture to be displayed. | |
| void | vout_ReleasePicture (vout_thread_t *vout, picture_t *picture) |
| It releases a picture retreived by vout_GetPicture. | |
| void | vout_HoldPicture (vout_thread_t *vout, picture_t *picture) |
| It increment the reference counter of a picture retreived by vout_GetPicture. | |
| 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. | |
| void | vout_ControlChangeFullscreen (vout_thread_t *vout, bool fullscreen) |
| void | vout_ControlChangeOnTop (vout_thread_t *vout, bool is_on_top) |
| void | vout_ControlChangeDisplayFilled (vout_thread_t *vout, bool is_filled) |
| void | vout_ControlChangeZoom (vout_thread_t *vout, int num, int den) |
| void | vout_ControlChangeSampleAspectRatio (vout_thread_t *vout, unsigned num, unsigned den) |
| void | vout_ControlChangeCropRatio (vout_thread_t *vout, unsigned num, unsigned den) |
| void | vout_ControlChangeCropWindow (vout_thread_t *vout, int x, int y, int width, int height) |
| void | vout_ControlChangeCropBorder (vout_thread_t *vout, int left, int top, int right, int bottom) |
| void | vout_ControlChangeFilters (vout_thread_t *vout, const char *filters) |
| void | vout_ControlChangeSubSources (vout_thread_t *vout, const char *filters) |
| void | vout_ControlChangeSubFilters (vout_thread_t *vout, const char *filters) |
| void | vout_ControlChangeSubMargin (vout_thread_t *vout, int margin) |
| static void | VoutGetDisplayCfg (vout_thread_t *vout, vout_display_cfg_t *cfg, const char *title) |
| vout_window_t * | vout_NewDisplayWindow (vout_thread_t *vout, vout_display_t *vd, const vout_window_cfg_t *cfg) |
| void | vout_DeleteDisplayWindow (vout_thread_t *vout, vout_display_t *vd, vout_window_t *window) |
| static picture_t * | VoutVideoFilterInteractiveNewPicture (filter_t *filter) |
| static picture_t * | VoutVideoFilterStaticNewPicture (filter_t *filter) |
| static void | VoutVideoFilterDelPicture (filter_t *filter, picture_t *picture) |
| static int | VoutVideoFilterStaticAllocationSetup (filter_t *filter, void *data) |
| static int | VoutVideoFilterInteractiveAllocationSetup (filter_t *filter, void *data) |
| static void | ThreadFilterFlush (vout_thread_t *vout, bool is_locked) |
| static void | ThreadChangeFilters (vout_thread_t *vout, const video_format_t *source, const char *filters, bool is_locked) |
| static int | ThreadDisplayPreparePicture (vout_thread_t *vout, bool reuse, bool is_late_dropped) |
| static int | ThreadDisplayRenderPicture (vout_thread_t *vout, bool is_forced) |
| static int | ThreadDisplayPicture (vout_thread_t *vout, bool now, mtime_t *deadline) |
| static void | ThreadManage (vout_thread_t *vout, mtime_t *deadline, vout_interlacing_support_t *interlacing) |
| static void | ThreadDisplaySubpicture (vout_thread_t *vout, subpicture_t *subpicture) |
| static void | ThreadFlushSubpicture (vout_thread_t *vout, int channel) |
| static void | ThreadDisplayOsdTitle (vout_thread_t *vout, const char *string) |
| static void | ThreadChangeSubSources (vout_thread_t *vout, const char *filters) |
| static void | ThreadChangeSubFilters (vout_thread_t *vout, const char *filters) |
| static void | ThreadChangeSubMargin (vout_thread_t *vout, int margin) |
| static void | ThreadChangePause (vout_thread_t *vout, bool is_paused, mtime_t date) |
| static void | ThreadFlush (vout_thread_t *vout, bool below, mtime_t date) |
| static void | ThreadReset (vout_thread_t *vout) |
| static void | ThreadStep (vout_thread_t *vout, mtime_t *duration) |
| static void | ThreadChangeFullscreen (vout_thread_t *vout, bool fullscreen) |
| static void | ThreadChangeOnTop (vout_thread_t *vout, bool is_on_top) |
| static void | ThreadChangeDisplayFilled (vout_thread_t *vout, bool is_filled) |
| static void | ThreadChangeZoom (vout_thread_t *vout, int num, int den) |
| static void | ThreadChangeAspectRatio (vout_thread_t *vout, unsigned num, unsigned den) |
| static void | ThreadExecuteCropWindow (vout_thread_t *vout, unsigned x, unsigned y, unsigned width, unsigned height) |
| static void | ThreadExecuteCropBorder (vout_thread_t *vout, unsigned left, unsigned top, unsigned right, unsigned bottom) |
| static void | ThreadExecuteCropRatio (vout_thread_t *vout, unsigned num, unsigned den) |
| static int | ThreadStart (vout_thread_t *vout, const vout_display_state_t *state) |
| static void | ThreadStop (vout_thread_t *vout, vout_display_state_t *state) |
| static void | ThreadInit (vout_thread_t *vout) |
| static void | ThreadClean (vout_thread_t *vout) |
| static int | ThreadReinit (vout_thread_t *vout, const vout_configuration_t *cfg) |
| #define VOUT_DISPLAY_LATE_THRESHOLD (INT64_C(20000)) |
Late pictures having a delay higher than this value are thrashed.
Referenced by ThreadDisplayPreparePicture().
| #define VOUT_MWAIT_TOLERANCE (INT64_C(4000)) |
Referenced by ThreadDisplayPicture().
| #define VOUT_REDISPLAY_DELAY (INT64_C(80000)) |
Referenced by ThreadDisplayPicture().
|
static |
References vout_control_cmd_t::boolean, vout_control_cmd_t::border, vout_control_cmd_t::cfg, vout_thread_sys_t::control, vout_control_cmd_t::integer, vout_interlacing_support_t::is_interlaced, mdate(), vout_thread_t::p, vout_control_cmd_t::pair, vout_control_cmd_t::pause, vout_control_cmd_t::string, vout_control_cmd_t::subpicture, ThreadChangeAspectRatio(), ThreadChangeDisplayFilled(), ThreadChangeFilters(), ThreadChangeFullscreen(), ThreadChangeOnTop(), ThreadChangePause(), ThreadChangeSubFilters(), ThreadChangeSubMargin(), ThreadChangeSubSources(), ThreadChangeZoom(), ThreadClean(), ThreadDisplayOsdTitle(), ThreadDisplaySubpicture(), ThreadExecuteCropBorder(), ThreadExecuteCropRatio(), ThreadExecuteCropWindow(), ThreadFlush(), ThreadFlushSubpicture(), ThreadInit(), ThreadManage(), ThreadReinit(), ThreadReset(), ThreadStart(), ThreadStep(), ThreadStop(), vout_control_cmd_t::time, vout_control_cmd_t::time_ptr, vout_control_cmd_t::type, vout_control_cmd_t::u, VLC_TS_INVALID, VOUT_CONTROL_ASPECT_RATIO, VOUT_CONTROL_CHANGE_FILTERS, VOUT_CONTROL_CHANGE_SUB_FILTERS, VOUT_CONTROL_CHANGE_SUB_MARGIN, VOUT_CONTROL_CHANGE_SUB_SOURCES, VOUT_CONTROL_CLEAN, vout_control_cmd_Clean(), VOUT_CONTROL_CROP_BORDER, VOUT_CONTROL_CROP_RATIO, VOUT_CONTROL_CROP_WINDOW, VOUT_CONTROL_DISPLAY_FILLED, VOUT_CONTROL_FLUSH, VOUT_CONTROL_FLUSH_SUBPICTURE, VOUT_CONTROL_FULLSCREEN, VOUT_CONTROL_INIT, VOUT_CONTROL_ON_TOP, VOUT_CONTROL_OSD_TITLE, VOUT_CONTROL_PAUSE, vout_control_Pop(), VOUT_CONTROL_REINIT, VOUT_CONTROL_RESET, VOUT_CONTROL_STEP, VOUT_CONTROL_SUBPICTURE, VOUT_CONTROL_ZOOM, and vout_control_cmd_t::window.
Referenced by VoutCreate().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayAspect().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayFilled().
Referenced by Thread().
|
static |
References vout_filter_t::cfg, vout_thread_sys_t::chain_interactive, vout_thread_sys_t::chain_static, config_ChainCreate(), config_ChainDestroy(), vout_thread_sys_t::configuration, es_format_InitFromVideo(), es_format_IsSimilar(), vout_thread_sys_t::filter, filter_chain_AppendFilter(), filter_chain_GetFmtOut(), filter_chain_Reset(), vout_thread_sys_t::format, vout_thread_sys_t::lock, msg_Dbg, msg_Err, vout_filter_t::name, name, vout_thread_t::p, strdup(), ThreadFilterFlush(), es_format_t::video, video_format_Clean(), video_format_Copy(), VideoFormatCopyCropAr(), vlc_array_append(), vlc_array_clear(), vlc_array_count(), vlc_array_init(), vlc_array_item_at_index(), vlc_mutex_lock(), vlc_mutex_unlock(), and xmalloc().
Referenced by Thread(), and ThreadDisplayPreparePicture().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayFullscreen().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, vout_SetWindowState(), VOUT_WINDOW_STATE_ABOVE, and VOUT_WINDOW_STATE_NORMAL.
Referenced by Thread().
|
static |
References picture_t::date, vout_thread_sys_t::date, vout_thread_sys_t::decoded, vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::displayed, vout_thread_sys_t::is_on, vout_thread_sys_t::last, vout_thread_t::p, vout_thread_sys_t::pause, picture_fifo_OffsetDate(), vout_thread_sys_t::spu, spu_OffsetSubtitleDate(), vout_thread_sys_t::step, ThreadFilterFlush(), vout_thread_sys_t::timestamp, and VLC_TS_INVALID.
Referenced by Thread().
|
static |
References vout_thread_t::p, vout_thread_sys_t::spu, and spu_ChangeFilters().
Referenced by Thread().
|
static |
References vout_thread_t::p, vout_thread_sys_t::spu, and spu_ChangeMargin().
Referenced by Thread().
|
static |
References vout_thread_t::p, vout_thread_sys_t::spu, and spu_ChangeSources().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayZoom().
Referenced by Thread().
|
static |
References vout_thread_sys_t::control, vout_thread_sys_t::dead, vout_thread_sys_t::is_unused, vout_thread_sys_t::object, vout_thread_t::p, vout_thread_sys_t::render, vout_chrono_Clean(), vout_control_Dead(), vout_window_Delete(), and vout_thread_sys_t::window.
Referenced by Thread(), and ThreadReinit().
|
static |
References vout_thread_t::p, SPU_DEFAULT_CHANNEL, vout_thread_sys_t::title, and vout_OSDText().
Referenced by Thread().
|
static |
< Unspecified error
< Unspecified error
< Unspecified error
References picture_t::b_force, vout_thread_sys_t::current, picture_t::date, vout_thread_sys_t::date, vout_thread_sys_t::displayed, vout_thread_sys_t::is_late_dropped, vout_thread_sys_t::is_on, mdate(), vout_thread_sys_t::next, vout_thread_t::p, vout_thread_sys_t::pause, picture_Release(), vout_thread_sys_t::render, ThreadDisplayPreparePicture(), ThreadDisplayRenderPicture(), VLC_EGENERIC, VLC_TS_INVALID, vout_chrono_GetHigh(), VOUT_MWAIT_TOLERANCE, and VOUT_REDISPLAY_DELAY.
Referenced by ThreadManage(), and ThreadStep().
|
static |
< Unspecified error
< No error
References picture_t::b_force, picture_t::b_progressive, vout_thread_sys_t::chain_static, vout_thread_sys_t::configuration, vout_thread_sys_t::current, picture_t::date, vout_thread_sys_t::decoded, vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::displayed, vout_thread_sys_t::filter, filter_chain_VideoFilter(), picture_t::format, vout_thread_sys_t::format, vout_thread_sys_t::is_interlaced, vout_thread_sys_t::lock, mdate(), msg_Dbg, msg_Warn, vout_thread_sys_t::next, vout_thread_t::p, picture_fifo_Pop(), picture_Hold(), picture_Release(), vout_thread_sys_t::statistic, ThreadChangeFilters(), vout_thread_sys_t::timestamp, VideoFormatIsCropArEqual(), VLC_EGENERIC, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_SUCCESS, VOUT_DISPLAY_LATE_THRESHOLD, and vout_statistic_AddLost().
Referenced by ThreadDisplayPicture().
|
static |
< Unspecified error
< Unspecified error
< Unspecified error
< Unspecified error
< No error
References vout_chrono_t::avg, vout_display_t::cfg, vout_thread_sys_t::chain_interactive, vout_thread_sys_t::current, picture_t::date, vout_thread_sys_t::date, vout_thread_sys_t::decoder_pool, vout_thread_sys_t::display, vout_display_cfg_t::display, vout_thread_sys_t::display_pool, vout_thread_sys_t::displayed, vout_thread_sys_t::filter, filter_chain_VideoFilter(), filter_DeleteBlend(), filter_NewBlend(), vout_thread_sys_t::filtered, vout_display_t::fmt, filter_t::fmt_out, picture_t::format, vout_display_place_t::height, video_format_t::i_chroma, video_format_t::i_height, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, vout_display_t::info, vout_thread_sys_t::is_on, vout_display_info_t::is_slow, vout_thread_sys_t::lock, mdate(), msg_Err, msg_Info, msg_Warn, mwait, vout_thread_t::p, vout_thread_sys_t::pause, picture_BlendSubpicture(), picture_Copy(), picture_Hold(), picture_pool_Get(), picture_Release(), vout_thread_sys_t::private_pool, vout_thread_sys_t::render, vout_display_cfg_t::sar, vout_thread_sys_t::snapshot, vout_display_t::source, vout_thread_sys_t::spu, vout_thread_sys_t::spu_blend, vout_thread_sys_t::spu_blend_chroma, spu_Render(), vout_thread_sys_t::statistic, vout_display_info_t::subpicture_chromas, subpicture_Delete(), vout_thread_sys_t::use_dr, vout_chrono_t::var, vout_thread_sys_t::vd, es_format_t::video, VideoFormatCopyCropAr(), VLC_EGENERIC, vlc_mutex_lock(), vlc_mutex_unlock(), VLC_OBJECT, VLC_SUCCESS, vout_chrono_Start(), vout_chrono_Stop(), vout_display_Display(), vout_display_PlacePicture(), vout_display_Prepare(), vout_FilterDisplay(), vout_IsDisplayFiltered(), vout_snapshot_IsRequested(), vout_snapshot_Set(), vout_statistic_AddDisplayed(), vout_UpdateDisplaySourceProperties(), and vout_display_place_t::width.
Referenced by ThreadDisplayPicture().
|
static |
References vout_thread_t::p, vout_thread_sys_t::spu, and spu_PutSubpicture().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, msg_Err, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayCrop().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayCrop().
Referenced by Thread().
|
static |
References vout_thread_sys_t::display, vout_thread_t::p, vout_thread_sys_t::vd, and vout_SetDisplayCrop().
Referenced by Thread().
|
static |
References vout_thread_sys_t::chain_interactive, vout_thread_sys_t::chain_static, vout_thread_sys_t::current, vout_thread_sys_t::displayed, vout_thread_sys_t::filter, filter_chain_VideoFlush(), vout_thread_sys_t::lock, vout_thread_sys_t::next, vout_thread_t::p, picture_Release(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by ThreadChangeFilters(), ThreadChangePause(), and ThreadFlush().
|
static |
References picture_t::date, vout_thread_sys_t::date, vout_thread_sys_t::decoded, vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::displayed, vout_thread_sys_t::last, vout_thread_t::p, picture_fifo_Flush(), picture_Release(), vout_thread_sys_t::step, ThreadFilterFlush(), vout_thread_sys_t::timestamp, and VLC_TS_INVALID.
Referenced by Thread(), ThreadReset(), and ThreadStop().
|
static |
References vout_thread_t::p, vout_thread_sys_t::spu, and spu_ClearChannel().
Referenced by Thread().
|
static |
References vout_thread_sys_t::date, vout_thread_sys_t::dead, vout_thread_sys_t::is_late_dropped, vout_thread_sys_t::is_on, vout_thread_sys_t::is_unused, vout_thread_sys_t::object, vout_thread_t::p, vout_thread_sys_t::pause, vout_thread_sys_t::render, var_InheritBool, VLC_TS_INVALID, vout_chrono_Init(), and vout_thread_sys_t::window.
Referenced by Thread().
|
static |
|
static |
< Unspecified error
< No error
< Unspecified error
< No error
References vout_display_state_t::cfg, vout_display_state_t::den, vout_display_cfg_t::display, vout_thread_sys_t::dpb_size, vout_configuration_t::dpb_size, vout_configuration_t::fmt, vout_display_cfg_t::height, vout_display_cfg_t::is_fullscreen, msg_Warn, vout_display_state_t::num, vout_thread_sys_t::original, vout_thread_t::p, vout_display_state_t::sar, ThreadClean(), ThreadStart(), ThreadStop(), video_format_IsSimilar(), VideoFormatCopyCropAr(), VLC_EGENERIC, VLC_SUCCESS, VoutValidateFormat(), and vout_display_cfg_t::width.
Referenced by Thread().
|
static |
References vout_thread_sys_t::date, vout_thread_sys_t::decoder_pool, vout_thread_sys_t::is_on, mdate(), vout_thread_t::p, vout_thread_sys_t::pause, picture_pool_NonEmpty(), and ThreadFlush().
Referenced by Thread().
|
static |
< Unspecified error
< Unspecified error
< No error
References vout_display_state_t::cfg, vout_thread_sys_t::chain_interactive, vout_thread_sys_t::chain_static, vout_thread_sys_t::configuration, vout_thread_sys_t::current, vout_thread_sys_t::date, vout_thread_sys_t::decoded, vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::decoder_pool, vout_display_state_t::den, vout_thread_sys_t::display, vout_thread_sys_t::display_pool, vout_thread_sys_t::displayed, vout_thread_sys_t::filter, filter_chain_New, vout_thread_sys_t::format, vout_thread_sys_t::is_interlaced, vout_thread_sys_t::last, vout_thread_sys_t::mouse, vout_thread_sys_t::next, vout_display_state_t::num, vout_thread_sys_t::original, vout_thread_t::p, picture_fifo_New(), vout_thread_sys_t::private_pool, vout_display_state_t::sar, vout_thread_sys_t::splitter_name, vout_thread_sys_t::spu_blend, vout_thread_sys_t::spu_blend_chroma, vout_thread_sys_t::step, vout_thread_sys_t::timestamp, vout_thread_sys_t::title, var_CreateGetBool, video_format_Copy(), video_format_Print(), VLC_EGENERIC, vlc_mouse_Init(), VLC_OBJECT, VLC_SUCCESS, VLC_TS_INVALID, vout_InitWrapper(), vout_OpenWrapper(), VOUT_WINDOW_STATE_ABOVE, VOUT_WINDOW_STATE_NORMAL, VoutGetDisplayCfg(), VoutVideoFilterInteractiveAllocationSetup(), VoutVideoFilterStaticAllocationSetup(), and vout_display_state_t::wm_state.
Referenced by Thread(), and ThreadReinit().
|
static |
References vout_thread_sys_t::displayed, vout_thread_sys_t::last, vout_thread_t::p, vout_thread_sys_t::step, ThreadDisplayPicture(), vout_thread_sys_t::timestamp, and VLC_TS_INVALID.
Referenced by Thread().
|
static |
References vout_thread_sys_t::chain_interactive, vout_thread_sys_t::chain_static, vout_thread_sys_t::configuration, vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::decoder_pool, vout_thread_sys_t::display, vout_thread_sys_t::filter, filter_chain_Delete(), filter_DeleteBlend(), vout_thread_sys_t::format, vout_thread_t::p, picture_fifo_Delete(), vout_thread_sys_t::spu_blend, ThreadFlush(), vout_thread_sys_t::vd, video_format_Clean(), vout_CloseWrapper(), and vout_EndWrapper().
Referenced by Thread(), and ThreadReinit().
|
static |
References video_format_t::i_sar_den, video_format_t::i_sar_num, and video_format_CopyCrop().
Referenced by ThreadChangeFilters(), ThreadDisplayRenderPicture(), ThreadReinit(), vout_GetPicture(), and VoutVideoFilterInteractiveNewPicture().
|
static |
| void vout_ChangePause | ( | vout_thread_t * | , |
| bool | b_paused, | ||
| mtime_t | i_date | ||
| ) |
This function will (un)pause the display of pictures.
It is thread safe
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_cmd_t::pause, vout_control_cmd_t::u, vout_control_cmd_Init(), VOUT_CONTROL_PAUSE, vout_control_Push(), and vout_control_WaitEmpty().
Referenced by DecoderOutputChangePause().
| void vout_ControlChangeCropBorder | ( | vout_thread_t * | vout, |
| int | left, | ||
| int | top, | ||
| int | right, | ||
| int | bottom | ||
| ) |
References vout_control_cmd_t::border, vout_thread_sys_t::control, vout_thread_t::p, vout_control_cmd_t::u, vout_control_cmd_Init(), VOUT_CONTROL_CROP_BORDER, and vout_control_Push().
Referenced by CropBorderCallback(), and CropCallback().
| void vout_ControlChangeCropRatio | ( | vout_thread_t * | vout, |
| unsigned | num, | ||
| unsigned | den | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_CROP_RATIO, and vout_control_PushPair().
Referenced by CropCallback().
| void vout_ControlChangeCropWindow | ( | vout_thread_t * | vout, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_cmd_t::u, vout_control_cmd_Init(), VOUT_CONTROL_CROP_WINDOW, vout_control_Push(), and vout_control_cmd_t::window.
Referenced by CropCallback().
| void vout_ControlChangeDisplayFilled | ( | vout_thread_t * | vout, |
| bool | is_filled | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_DISPLAY_FILLED, and vout_control_PushBool().
Referenced by ScalingCallback().
| void vout_ControlChangeFilters | ( | vout_thread_t * | vout, |
| const char * | filters | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_CHANGE_FILTERS, and vout_control_PushString().
Referenced by VideoFilterCallback().
| void vout_ControlChangeFullscreen | ( | vout_thread_t * | vout, |
| bool | fullscreen | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_FULLSCREEN, and vout_control_PushBool().
Referenced by FullscreenCallback().
| void vout_ControlChangeOnTop | ( | vout_thread_t * | vout, |
| bool | is_on_top | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_ON_TOP, and vout_control_PushBool().
Referenced by OnTopCallback().
| void vout_ControlChangeSampleAspectRatio | ( | vout_thread_t * | vout, |
| unsigned | num, | ||
| unsigned | den | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_ASPECT_RATIO, and vout_control_PushPair().
Referenced by AspectCallback().
| void vout_ControlChangeSubFilters | ( | vout_thread_t * | vout, |
| const char * | filters | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_CHANGE_SUB_FILTERS, and vout_control_PushString().
Referenced by SubFilterCallback().
| void vout_ControlChangeSubMargin | ( | vout_thread_t * | vout, |
| int | margin | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_CHANGE_SUB_MARGIN, and vout_control_PushInteger().
Referenced by SubMarginCallback().
| void vout_ControlChangeSubSources | ( | vout_thread_t * | vout, |
| const char * | filters | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_CHANGE_SUB_SOURCES, and vout_control_PushString().
Referenced by SubSourceCallback().
| void vout_ControlChangeZoom | ( | vout_thread_t * | vout, |
| int | num, | ||
| int | den | ||
| ) |
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_PushPair(), and VOUT_CONTROL_ZOOM.
Referenced by ScalingCallback().
| void vout_DeleteDisplayWindow | ( | vout_thread_t * | vout, |
| vout_display_t * | vd, | ||
| vout_window_t * | window | ||
| ) |
References vout_thread_sys_t::is_unused, vout_thread_sys_t::object, vout_thread_t::p, VLC_UNUSED, vout_window_Delete(), and vout_thread_sys_t::window.
Referenced by SplitterDelWindow(), and VoutDisplayDelWindow().
| void vout_DisplayTitle | ( | vout_thread_t * | vout, |
| const char * | title | ||
| ) |
This function will ask the display of the input title.
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_OSD_TITLE, and vout_control_PushString().
Referenced by DisplayVoutTitle().
| void vout_FixLeaks | ( | vout_thread_t * | p_vout | ) |
This function will try to detect if pictures are being leaked.
If so it will release them.
XXX This function is there to workaround bugs in decoder
References vout_thread_sys_t::decoder_fifo, vout_thread_sys_t::decoder_pool, msg_Err, vout_thread_t::p, picture_fifo_Peek(), vout_thread_sys_t::picture_lock, picture_pool_Get(), picture_pool_NonEmpty(), picture_Release(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by vout_new_buffer().
| void vout_Flush | ( | vout_thread_t * | vout, |
| mtime_t | date | ||
| ) |
This function will ensure that all ready/displayed pciture have at most the provided dat.
References vout_thread_sys_t::control, vout_thread_t::p, VOUT_CONTROL_FLUSH, vout_control_PushTime(), and vout_control_WaitEmpty().
Referenced by DecoderDecodeVideo(), DecoderPlayVideo(), DecoderProcessVideo(), and RequestVout().
| void vout_GetResetStatistic | ( | vout_thread_t * | vout, |
| int * | displayed, | ||
| int * | lost | ||
| ) |
This function will return and reset internal statistics.
References vout_thread_t::p, vout_thread_sys_t::statistic, and vout_statistic_GetReset().
Referenced by DecoderPlayVideo().
| bool vout_IsEmpty | ( | vout_thread_t * | vout | ) |
This function will return true if no more pictures are to be displayed.
References vout_thread_sys_t::decoder_fifo, vout_thread_t::p, picture_fifo_Peek(), vout_thread_sys_t::picture_lock, picture_Release(), vlc_mutex_lock(), and vlc_mutex_unlock().
Referenced by input_DecoderIsEmpty().
| vout_window_t* vout_NewDisplayWindow | ( | vout_thread_t * | vout, |
| vout_display_t * | vd, | ||
| const vout_window_cfg_t * | cfg | ||
| ) |
References vout_thread_sys_t::cfg, vout_window_cfg_t::height, vout_window_cfg_t::is_standalone, vout_thread_sys_t::is_unused, msg_Dbg, vout_thread_sys_t::object, vout_thread_t::p, vout_thread_sys_t::splitter_name, vout_window_cfg_t::type, var_InheritBool, VLC_OBJECT, VLC_UNUSED, vout_window_Delete(), vout_window_New(), vout_window_SetSize(), vout_window_cfg_t::width, and vout_thread_sys_t::window.
Referenced by SplitterNewWindow(), and VoutDisplayNewWindow().
| void vout_NextPicture | ( | vout_thread_t * | vout, |
| mtime_t * | duration | ||
| ) |
This function will force to display the next picture while paused.
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_cmd_t::time_ptr, vout_control_cmd_t::u, vout_control_cmd_Init(), vout_control_Push(), VOUT_CONTROL_STEP, and vout_control_WaitEmpty().
Referenced by input_DecoderFrameNext().
| void vout_Reset | ( | vout_thread_t * | vout | ) |
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_PushVoid(), VOUT_CONTROL_RESET, and vout_control_WaitEmpty().
Referenced by DeleteDecoder().
|
static |
References vout_thread_sys_t::control, vout_thread_sys_t::dead, vout_thread_sys_t::displayed, vout_thread_sys_t::dpb_size, vout_configuration_t::dpb_size, vout_thread_sys_t::filter, vout_configuration_t::fmt, vout_thread_sys_t::input, vout_configuration_t::input, vout_thread_sys_t::is_interlaced, vout_thread_sys_t::lock, msg_Err, vout_thread_sys_t::original, vout_thread_t::p, vout_thread_sys_t::picture_lock, vout_thread_sys_t::snapshot, vout_thread_sys_t::splitter_name, vout_thread_sys_t::spu, spu_Attach(), spu_Create, spu_Destroy(), vout_thread_sys_t::spu_lock, vout_thread_sys_t::statistic, Thread(), vout_thread_sys_t::thread, vout_thread_sys_t::title, var_GetBool, var_GetInteger, var_InheritString, video_format_Clean(), vlc_clone(), vlc_custom_create, vlc_mutex_init(), vlc_object_release, vlc_object_set_destructor, VLC_THREAD_PRIORITY_OUTPUT, vout_CloseAndRelease(), VOUT_CONTROL_INIT, vout_control_Init(), vout_control_PushVoid(), vout_control_WaitEmpty(), vout_InitInterlacingSupport(), vout_IntfInit(), vout_snapshot_Init(), vout_statistic_Init(), VoutDestructor(), and VoutValidateFormat().
Referenced by vout_Request().
|
static |
References vout_thread_sys_t::control, vout_thread_sys_t::filter, vout_thread_sys_t::lock, vout_thread_sys_t::original, vout_thread_t::p, vout_thread_sys_t::picture_lock, vout_thread_sys_t::snapshot, vout_thread_sys_t::splitter_name, vout_thread_sys_t::spu_lock, vout_thread_sys_t::statistic, video_format_Clean(), vlc_mutex_destroy(), vout_control_Clean(), vout_snapshot_Clean(), and vout_statistic_Clean().
Referenced by VoutCreate().
|
static |
References vout_display_cfg_t::align, vout_display_cfg_t::den, vout_display_cfg_t::display, vout_display_cfg_t::height, vout_display_cfg_t::horizontal, vout_display_cfg_t::is_display_filled, vout_display_cfg_t::is_fullscreen, vout_display_cfg_t::num, vout_display_cfg_t::sar, vout_display_cfg_t::title, var_CreateGetBool, var_CreateGetFloat, var_CreateGetInteger, var_InheritURational, vout_display_cfg_t::vertical, vlc_ureduce(), VOUT_DISPLAY_ALIGN_BOTTOM, VOUT_DISPLAY_ALIGN_CENTER, VOUT_DISPLAY_ALIGN_LEFT, VOUT_DISPLAY_ALIGN_RIGHT, VOUT_DISPLAY_ALIGN_TOP, vout_display_cfg_t::width, and vout_display_cfg_t::zoom.
Referenced by ThreadStart().
|
static |
< Unspecified error
< Unspecified error
< No error
References video_format_t::i_chroma, video_format_t::i_height, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_width, VIDEO_ES, video_format_Copy(), video_format_FixRgb(), VLC_EGENERIC, vlc_fourcc_GetCodec(), VLC_SUCCESS, and vlc_ureduce().
Referenced by ThreadReinit(), and VoutCreate().
References picture_Release(), and VLC_UNUSED.
Referenced by VoutVideoFilterInteractiveAllocationSetup(), and VoutVideoFilterStaticAllocationSetup().
|
static |
< No error
References filter_t::p_owner, VLC_SUCCESS, VoutVideoFilterDelPicture(), and VoutVideoFilterInteractiveNewPicture().
Referenced by ThreadStart().
|
static |
< No error
References filter_t::p_owner, VLC_SUCCESS, VoutVideoFilterDelPicture(), and VoutVideoFilterStaticNewPicture().
Referenced by ThreadStart().
References vout_thread_sys_t::chain_interactive, vout_thread_sys_t::filter, filter_chain_GetLength(), filter_t::fmt_out, vout_thread_sys_t::lock, vout_thread_t::p, filter_t::p_owner, picture_NewFromFormat(), es_format_t::video, vlc_assert_locked, and VoutVideoFilterInteractiveNewPicture().
Referenced by VoutVideoFilterStaticAllocationSetup().
1.8.1.2