Go to the documentation of this file.
33 # define __VLC_MTIME_H 1
43 #define LAST_MDATE ((mtime_t)((uint64_t)(-1)/2))
52 #define MSTRTIME_MAX_SIZE 22
#define VLC_API
Definition: fourcc_gen.c:30
uint32_t i_divider_num
Definition: vlc_mtime.h:62
char * secstotimestr(char *psz_buffer, int32_t secs)
Convert seconds to a time in the format h:mm:ss.
Definition: mtime.c:49
uint32_t i_remainder
Definition: vlc_mtime.h:64
mtime_t date_Increment(date_t *, uint32_t)
Increment the date and return the result, taking into account rounding errors.
Definition: mtime.c:151
mtime_t date_Decrement(date_t *, uint32_t)
Decrement the date and return the result, taking into account rounding errors.
Definition: mtime.c:179
uint32_t i_divider_den
Definition: vlc_mtime.h:63
void date_Set(date_t *, mtime_t)
Set the date value of a date_t.
Definition: mtime.c:115
void date_Change(date_t *, uint32_t, uint32_t)
Change a date_t.
Definition: mtime.c:101
Definition: vlc_mtime.h:58
uint64_t NTPtime64(void)
Definition: mtime.c:201
mtime_t date_Get(const date_t *)
Get the date of a date_t.
Definition: mtime.c:127
int64_t mtime_t
High precision date or time interval.
Definition: vlc_common.h:150
mtime_t date
Definition: vlc_mtime.h:61
void date_Init(date_t *, uint32_t, uint32_t)
Initialize a date_t.
Definition: mtime.c:85
void date_Move(date_t *, mtime_t)
Move forwards or backwards the date of a date_t.
Definition: mtime.c:138