|
|
|
@ -165,6 +165,11 @@ static inline vlc_tick_t vlc_tick_from_timeval(const struct timeval *tv) |
|
|
|
return vlc_tick_from_sec( tv->tv_sec ) + VLC_TICK_FROM_US( tv->tv_usec ); |
|
|
|
} |
|
|
|
|
|
|
|
static inline vlc_tick_t vlc_tick_from_timespec(const struct timespec *tv) |
|
|
|
{ |
|
|
|
return vlc_tick_from_sec( tv->tv_sec ) + VLC_TICK_FROM_NS( tv->tv_nsec ); |
|
|
|
} |
|
|
|
|
|
|
|
struct timespec timespec_from_vlc_tick(vlc_tick_t date); |
|
|
|
|
|
|
|
|
|
|
|
|