VLC 4.0.0-dev
clock_internal.h File Reference
Include dependency graph for clock_internal.h:

Go to the source code of this file.

Data Structures

struct  average_t
 This structure holds long term moving average. More...
 
struct  clock_point_t
 

Macros

#define CR_MAX_GAP   VLC_TICK_FROM_SEC(60)
 

Functions

void AvgInit (average_t *, int range)
 
void AvgClean (average_t *)
 
void AvgReset (average_t *)
 
void AvgResetAndFill (average_t *, double value)
 
void AvgUpdate (average_t *, double value)
 
double AvgGet (average_t *)
 
void AvgRescale (average_t *, int range)
 
static clock_point_t clock_point_Create (vlc_tick_t system, vlc_tick_t stream)
 

Macro Definition Documentation

◆ CR_MAX_GAP

#define CR_MAX_GAP   VLC_TICK_FROM_SEC(60)

Function Documentation

◆ AvgClean()

void AvgClean ( average_t avg)

References VLC_UNUSED.

Referenced by input_clock_Delete().

◆ AvgGet()

◆ AvgInit()

void AvgInit ( average_t avg,
int  range 
)

References AvgReset(), and average_t::range.

Referenced by input_clock_New(), and vlc_clock_main_New().

◆ AvgRescale()

void AvgRescale ( average_t avg,
int  range 
)

◆ AvgReset()

void AvgReset ( average_t avg)

References average_t::count, and average_t::value.

Referenced by AvgInit(), and input_clock_Update().

◆ AvgResetAndFill()

void AvgResetAndFill ( average_t avg,
double  value 
)

◆ AvgUpdate()

void AvgUpdate ( average_t avg,
double  value 
)

◆ clock_point_Create()