VLC 4.0.0-dev
timer.c File Reference
Include dependency graph for timer.c:

Functions

void vlc_player_ResetTimer (vlc_player_t *player)
 
static void vlc_player_SendTimerSourceUpdates (vlc_player_t *player, struct vlc_player_timer_source *source, bool force_update, const struct vlc_player_timer_point *point)
 
static void vlc_player_SendSmpteTimerSourceUpdates (vlc_player_t *player, struct vlc_player_timer_source *source, const struct vlc_player_timer_point *point)
 
static void vlc_player_UpdateSmpteTimerFPS (vlc_player_t *player, struct vlc_player_timer_source *source, unsigned frame_rate, unsigned frame_rate_base)
 
void vlc_player_UpdateTimerState (vlc_player_t *player, vlc_es_id_t *es_source, enum vlc_player_timer_state state, vlc_tick_t system_date)
 
static void vlc_player_UpdateTimerSource (vlc_player_t *player, struct vlc_player_timer_source *source, double rate, vlc_tick_t ts, vlc_tick_t system_date)
 
void vlc_player_UpdateTimer (vlc_player_t *player, vlc_es_id_t *es_source, bool es_source_is_master, const struct vlc_player_timer_point *point, vlc_tick_t normal_time, unsigned frame_rate, unsigned frame_rate_base)
 
void vlc_player_RemoveTimerSource (vlc_player_t *player, vlc_es_id_t *es_source)
 
int vlc_player_GetTimerPoint (vlc_player_t *player, vlc_tick_t system_now, vlc_tick_t *out_ts, double *out_pos)
 
vlc_player_timer_idvlc_player_AddTimer (vlc_player_t *player, vlc_tick_t min_period, const struct vlc_player_timer_cbs *cbs, void *data)
 Add a timer in order to get times updates. More...
 
vlc_player_timer_idvlc_player_AddSmpteTimer (vlc_player_t *player, const struct vlc_player_timer_smpte_cbs *cbs, void *data)
 Add a smpte timer in order to get accurate video frame updates. More...
 
void vlc_player_RemoveTimer (vlc_player_t *player, vlc_player_timer_id *timer)
 Remove a player timer. More...
 
int vlc_player_timer_point_Interpolate (const struct vlc_player_timer_point *point, vlc_tick_t system_now, vlc_tick_t *out_ts, double *out_pos)
 Interpolate the last timer value to now. More...
 
vlc_tick_t vlc_player_timer_point_GetNextIntervalDate (const struct vlc_player_timer_point *point, vlc_tick_t system_now, vlc_tick_t interpolated_ts, vlc_tick_t next_interval)
 Get the date of the next interval. More...
 
void vlc_player_InitTimer (vlc_player_t *player)
 
void vlc_player_DestroyTimer (vlc_player_t *player)
 

Function Documentation

◆ vlc_player_DestroyTimer()

◆ vlc_player_GetTimerPoint()

◆ vlc_player_InitTimer()

◆ vlc_player_RemoveTimerSource()

◆ vlc_player_ResetTimer()

◆ vlc_player_SendSmpteTimerSourceUpdates()

◆ vlc_player_SendTimerSourceUpdates()

◆ vlc_player_UpdateSmpteTimerFPS()

◆ vlc_player_UpdateTimer()

◆ vlc_player_UpdateTimerSource()

◆ vlc_player_UpdateTimerState()