VLC  4.0.0-dev
Data Structures | Macros | Functions
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 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()

double AvgGet ( average_t avg)

◆ 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)

◆ AvgUpdate()

void AvgUpdate ( average_t avg,
double  value 
)

◆ clock_point_Create()

static clock_point_t clock_point_Create ( vlc_tick_t  system,
vlc_tick_t  stream 
)
inlinestatic