VLC 4.0.0-dev
Loading...
Searching...
No Matches
vlc_clock_ops Struct Reference

Data Fields

vlc_tick_t(* update )(vlc_clock_t *clock, struct vlc_clock_context *ctx, vlc_tick_t system_now, vlc_tick_t ts, double rate, unsigned frame_rate, unsigned frame_rate_base)
 
void(* reset )(vlc_clock_t *clock)
 
vlc_tick_t(* set_delay )(vlc_clock_t *clock, vlc_tick_t delay)
 
vlc_tick_t(* to_system )(vlc_clock_t *clock, struct vlc_clock_context *ctx, vlc_tick_t system_now, vlc_tick_t ts, double rate)
 
void(* start )(vlc_clock_t *clock, vlc_tick_t system_now, vlc_tick_t ts)
 Signal the clock bus that the given clock will start a new timeline.
 

Field Documentation

◆ reset

void(* vlc_clock_ops::reset) (vlc_clock_t *clock)

Referenced by vlc_clock_Reset().

◆ set_delay

vlc_tick_t(* vlc_clock_ops::set_delay) (vlc_clock_t *clock, vlc_tick_t delay)

Referenced by vlc_clock_SetDelay().

◆ start

void(* vlc_clock_ops::start) (vlc_clock_t *clock, vlc_tick_t system_now, vlc_tick_t ts)

Signal the clock bus that the given clock will start a new timeline.

When starting an input clock, a whole new context is created to track the parameters for the new timeline.

When starting an output clock, the given clock will track the new context to register the progress and convert the timestamps.

Parameters
clockthe clock which is ready to start
system_nowthe system time for the start point
tsthe time for the start point

Referenced by vlc_clock_Start().

◆ to_system

vlc_tick_t(* vlc_clock_ops::to_system) (vlc_clock_t *clock, struct vlc_clock_context *ctx, vlc_tick_t system_now, vlc_tick_t ts, double rate)

◆ update

vlc_tick_t(* vlc_clock_ops::update) (vlc_clock_t *clock, struct vlc_clock_context *ctx, vlc_tick_t system_now, vlc_tick_t ts, double rate, unsigned frame_rate, unsigned frame_rate_base)

The documentation for this struct was generated from the following file: