VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
vout_control.h File Reference

Go to the source code of this file.

Functions

void vout_ChangePause (vout_thread_t *, bool b_paused, mtime_t i_date)
 This function will (un)pause the display of pictures.
void spu_OffsetSubtitleDate (spu_t *p_spu, mtime_t i_duration)
 This function will apply an offset on subtitle subpicture.
void vout_GetResetStatistic (vout_thread_t *p_vout, int *pi_displayed, int *pi_lost)
 This function will return and reset internal statistics.
void vout_Flush (vout_thread_t *p_vout, mtime_t i_date)
 This function will ensure that all ready/displayed pciture have at most the provided dat.
void vout_FixLeaks (vout_thread_t *p_vout)
 This function will try to detect if pictures are being leaked.
void vout_Reset (vout_thread_t *p_vout)
void vout_NextPicture (vout_thread_t *p_vout, mtime_t *pi_duration)
 This function will force to display the next picture while paused.
void vout_DisplayTitle (vout_thread_t *p_vout, const char *psz_title)
 This function will ask the display of the input title.
bool vout_IsEmpty (vout_thread_t *p_vout)
 This function will return true if no more pictures are to be displayed.

Function Documentation

void spu_OffsetSubtitleDate ( spu_t p_spu,
mtime_t  i_duration 
)
void vout_ChangePause ( vout_thread_t ,
bool  b_paused,
mtime_t  i_date 
)
void vout_DisplayTitle ( vout_thread_t p_vout,
const char *  psz_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 p_vout,
mtime_t  i_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 p_vout,
int *  pi_displayed,
int *  pi_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 p_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().

void vout_NextPicture ( vout_thread_t p_vout,
mtime_t pi_duration 
)
void vout_Reset ( vout_thread_t p_vout)