Home
last modified time | relevance | path

Searched refs:abs_ts (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/porting/linux/user/src/internal/
Dpthread_impl.h211 static inline void __absolute_timespec_from_timespec(struct timespec *abs_ts, in __absolute_timespec_from_timespec() argument
214 if (abs_ts == NULL || ts == NULL) { in __absolute_timespec_from_timespec()
217 clock_gettime(clock, abs_ts); in __absolute_timespec_from_timespec()
218 abs_ts->tv_sec += ts->tv_sec; in __absolute_timespec_from_timespec()
219 abs_ts->tv_nsec += ts->tv_nsec; in __absolute_timespec_from_timespec()
220 if (abs_ts->tv_nsec >= NS_PER_S) { in __absolute_timespec_from_timespec()
221 abs_ts->tv_nsec -= NS_PER_S; in __absolute_timespec_from_timespec()
222 abs_ts->tv_sec++; in __absolute_timespec_from_timespec()
/third_party/gstreamer/gstplugins_bad/gst/rtmp2/rtmp/
Drtmpchunkstream.c147 guint32 abs_ts, old_abs_ts, delta_32 = 0; in dts_diff_to_delta_ts() local
160 abs_ts = gst_util_uint64_scale_round (dts, 1, GST_MSECOND); in dts_diff_to_delta_ts()
164 delta_32 = abs_ts - old_abs_ts; in dts_diff_to_delta_ts()
169 GST_TIME_ARGS (dts), abs_ts, delta_32); in dts_diff_to_delta_ts()