23#ifndef VLC_TIMESTAMP_H
24#define VLC_TIMESTAMP_H 1
66 return fifo->
size == 0;
Definition: vlc_timestamp_helper.h:38
vlc_tick_t * buffer
Definition: vlc_timestamp_helper.h:42
uint32_t capacity
Definition: vlc_timestamp_helper.h:41
uint32_t begin
Definition: vlc_timestamp_helper.h:39
uint32_t size
Definition: vlc_timestamp_helper.h:40
This file is a collection of common definitions and types.
static void * vlc_alloc(size_t count, size_t size)
Definition: vlc_common.h:1157
#define VLC_TICK_INVALID
Definition: vlc_config.h:44
int64_t vlc_tick_t
High precision date or time interval.
Definition: vlc_tick.h:45
static void timestamp_FifoEmpty(timestamp_fifo_t *fifo)
Definition: vlc_timestamp_helper.h:75
static bool timestamp_FifoIsFull(timestamp_fifo_t *fifo)
Definition: vlc_timestamp_helper.h:70
static vlc_tick_t timestamp_FifoGet(timestamp_fifo_t *fifo)
Definition: vlc_timestamp_helper.h:90
static bool timestamp_FifoIsEmpty(timestamp_fifo_t *fifo)
Definition: vlc_timestamp_helper.h:65
static void timestamp_FifoRelease(timestamp_fifo_t *fifo)
Definition: vlc_timestamp_helper.h:59
static timestamp_fifo_t * timestamp_FifoNew(uint32_t capacity)
Definition: vlc_timestamp_helper.h:45
static void timestamp_FifoPut(timestamp_fifo_t *fifo, vlc_tick_t ts)
Definition: vlc_timestamp_helper.h:80