|
VLC
2.1.0-git
|
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. | |
This function will apply an offset on subtitle subpicture.
References subpicture_t::b_subtitle, spu_heap_t::entry, spu_private_t::heap, subpicture_t::i_start, subpicture_t::i_stop, spu_private_t::lock, spu_t::p, spu_heap_entry_t::subpicture, vlc_mutex_lock(), vlc_mutex_unlock(), and VOUT_MAX_SUBPICTURES.
Referenced by ThreadChangePause().
| 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_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 | ||
| ) |
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 * | p_vout | ) |
References vout_thread_sys_t::control, vout_thread_t::p, vout_control_PushVoid(), VOUT_CONTROL_RESET, and vout_control_WaitEmpty().
Referenced by DeleteDecoder().
1.8.1.2