Home
last modified time | relevance | path

Searched refs:GST_CLOCK_DIFF (Results 1 – 25 of 72) sorted by relevance

123

/third_party/gstreamer/gstreamer/tests/benchmarks/
Dcontroller.c133 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
150 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
164 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
179 elapsed = GST_CLOCK_DIFF (bt, ct); in main()
Dgstpoolstress.c71 dur1 = GST_CLOCK_DIFF (start, end); in main()
83 dur2 = GST_CLOCK_DIFF (start, end); in main()
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstnetclientclock.c405 rtt = GST_CLOCK_DIFF (local_1, local_2) - GST_CLOCK_DIFF (remote_1, remote_2); in gst_net_client_internal_clock_observe_times()
520 (GST_CLOCK_DIFF (remote_avg, min_guess) < (GstClockTimeDiff) (max_discont) in gst_net_client_internal_clock_observe_times()
521 && GST_CLOCK_DIFF (time_before, in gst_net_client_internal_clock_observe_times()
544 time_discont = GST_CLOCK_DIFF (time_before, in gst_net_client_internal_clock_observe_times()
572 (GST_CLOCK_DIFF (remote_avg, in gst_net_client_internal_clock_observe_times()
577 (GST_CLOCK_DIFF (gst_clock_adjust_with_calibration in gst_net_client_internal_clock_observe_times()
625 "remote-min-error", G_TYPE_INT64, GST_CLOCK_DIFF (remote_avg, in gst_net_client_internal_clock_observe_times()
627 GST_CLOCK_DIFF (remote_avg, time_before), "request-send", G_TYPE_UINT64, in gst_net_client_internal_clock_observe_times()
634 GST_CLOCK_DIFF (internal_time, external_time), NULL); in gst_net_client_internal_clock_observe_times()
/third_party/gstreamer/gstreamer/plugins/tracers/
Dgstrusage.c112 dt = GST_CLOCK_DIFF (lv->ts, nts); in update_trace_value()
123 *dval = GST_CLOCK_DIFF (lv->val, nval); in update_trace_value()
137 if (!lv || (GST_CLOCK_DIFF (lv->ts, nts) > (window / WINDOW_SUBDIV))) { in update_trace_value()
Dgstlatency.c201 id_element_sink, element_sink, sink, GST_CLOCK_DIFF (src_ts, sink_ts), in log_latency()
229 GST_CLOCK_DIFF (src_ts, sink_ts), sink_ts); in log_element_latency()
532 element_name, live, GST_CLOCK_DIFF (min_prev, min), in do_query_post()
533 GST_CLOCK_DIFF (max_prev, max), ts); in do_query_post()
Dgststats.c286 GstClockTimeDiff elapsed = GST_CLOCK_DIFF (elapsed1, elapsed2); in do_element_stats()
350 this_stats->treal += GST_CLOCK_DIFF (this_stats->last_ts, elapsed2) - elapsed; in do_element_stats()
/third_party/gstreamer/gstreamer/libs/gst/controller/
Dgsttriggercontrolsource.c72 if (GST_CLOCK_DIFF (cp->timestamp, timestamp) <= tolerance) { in _interpolate_trigger()
77 if (GST_CLOCK_DIFF (timestamp, cp->timestamp) <= tolerance) { in _interpolate_trigger()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Drtpstats.c512 pkt->local_delta = GST_CLOCK_DIFF (stats->last_local_ts, pkt->local_ts); in rtp_twcc_stats_calculate_stats()
518 GST_CLOCK_DIFF (stats->last_remote_ts, pkt->remote_ts); in rtp_twcc_stats_calculate_stats()
555 GstClockTimeDiff ld = GST_CLOCK_DIFF (pkt->local_ts, last->local_ts); in _get_window_start_index()
558 *remote_duration = GST_CLOCK_DIFF (pkt->remote_ts, last->remote_ts); in _get_window_start_index()
Drtptimerqueue.c129 prev_delta = GST_CLOCK_DIFF (timer->timeout, prev->timeout); in rtp_timer_is_closer_to_head()
130 head_delta = GST_CLOCK_DIFF (head->timeout, timer->timeout); in rtp_timer_is_closer_to_head()
167 tail_delta = GST_CLOCK_DIFF (timer->timeout, tail->timeout); in rtp_timer_is_closer_to_tail()
168 next_delta = GST_CLOCK_DIFF (next->timeout, timer->timeout); in rtp_timer_is_closer_to_tail()
Dgstrtpjitterbuffer.c2472 total_duration = MAX (0, GST_CLOCK_DIFF (last_in_pts, pts)); in gst_rtp_jitter_buffer_handle_missing_packets()
2506 gap_time = MAX (0, GST_CLOCK_DIFF (est_pts, pts)); in gst_rtp_jitter_buffer_handle_missing_packets()
2527 lost_duration = GST_CLOCK_DIFF (saveable_duration, gap_time); in gst_rtp_jitter_buffer_handle_missing_packets()
2567 remaining_duration = MAX (0, GST_CLOCK_DIFF (est_pts, pts)); in gst_rtp_jitter_buffer_handle_missing_packets()
2572 MAX (0, GST_CLOCK_DIFF (est_pkt_duration * remaining_gap, in gst_rtp_jitter_buffer_handle_missing_packets()
2587 remaining_duration = MAX (0, GST_CLOCK_DIFF (est_pts, pts)); in gst_rtp_jitter_buffer_handle_missing_packets()
/third_party/gstreamer/gstreamer/tests/examples/ptp/
Dptp-print-times.c92 diff = GST_CLOCK_DIFF (local, remote); in main()
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dtests.c162 ABS (GST_CLOCK_DIFF (t->expected, GST_BUFFER_TIMESTAMP (buffer))); in timedur_add()
/third_party/gstreamer/gstreamer/tools/
Dgst-stats.c150 return (GST_CLOCK_DIFF (ls2->first_latency_ts, ls1->first_latency_ts)); in sort_latency_stats_by_first_ts()
723 GST_CLOCK_DIFF (stats->first_ts, stats->last_ts); in print_pad_stats()
839 gint order = GST_CLOCK_DIFF (s2->first_ts, s1->first_ts); in sort_pad_stats_by_first_activity()
859 return (GST_CLOCK_DIFF (((GstElementStats *) es2)->first_ts, in sort_element_stats_by_first_activity()
Dgst-launch.c220 GstClockTimeDiff d = GST_CLOCK_DIFF (s->last_keyframe, ts);
226 d = GST_CLOCK_DIFF (ts, s->last_keyframe);
1318 diff = GST_CLOCK_DIFF (tfthen, tfnow); in main()
/third_party/gstreamer/gstreamer/libs/gst/check/
Dgsttestclock.c557 *jitter = GST_CLOCK_DIFF (GST_CLOCK_ENTRY_TIME (entry), now); in gst_test_clock_add_entry()
561 ctx->time_diff = GST_CLOCK_DIFF (now, GST_CLOCK_ENTRY_TIME (entry)); in gst_test_clock_add_entry()
/third_party/gstreamer/gstreamer/gst/
Dgstclock.h161 #define GST_CLOCK_DIFF(s, e) (GstClockTimeDiff)((e) - (s)) macro
Dgstsystemclock.c969 diff = GST_CLOCK_DIFF (now, entryt); in gst_system_clock_id_wait_jitter_unlocked()
1055 diff = GST_CLOCK_DIFF (now, entryt); in gst_system_clock_id_wait_jitter_unlocked()
Dgsttracerutils.h104 GST_CLOCK_DIFF (_priv_gst_start_time, gst_util_get_timestamp ())
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstsystemclock.c113 fail_if (d[i] != GST_CLOCK_DIFF (time1[i], time2[i])); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideosrc.c468 diff = GST_CLOCK_DIFF (GST_BUFFER_PTS (buf), running_time); in gst_mf_video_src_create()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesrc.c988 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) in gst_audio_base_src_create()
1018 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) { in gst_audio_base_src_create()
/third_party/gstreamer/gstplugins_bad/ext/webrtcdsp/
Dgstwebrtcechoprobe.cpp354 diff = GST_CLOCK_DIFF (rec_time, play_time) / GST_MSECOND; in gst_webrtc_echo_probe_read()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dgsttestclock.c129 *jitter = GST_CLOCK_DIFF (requested, reference); in gst_test_util_wait_for_clock_id_begin()
158 diff = GST_CLOCK_DIFF (requested, wait_ctx->reference); in gst_test_util_wait_for_clock_id_end()
/third_party/gstreamer/gstreamer/tests/check/pipelines/
Dseek.c537 GST_CLOCK_DIFF (start_absolute_time, in GST_START_TEST()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstclocksync.c441 ts_offset = GST_CLOCK_DIFF (runtimestamp, running_time); in gst_clock_sync_update_ts_offset()

123