/third_party/cef/libcef/common/ |
D | time_impl.cc | 62 base::Time base_time; in cef_time_to_timet() local 63 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_timet() 64 *time = base_time.ToTimeT(); in cef_time_to_timet() 72 base::Time base_time = base::Time::FromTimeT(time); in cef_time_from_timet() local 73 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_timet() 81 base::Time base_time; in cef_time_to_doublet() local 82 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_doublet() 83 *time = base_time.ToDoubleT(); in cef_time_to_doublet() 91 base::Time base_time = base::Time::FromDoubleT(time); in cef_time_from_doublet() local 92 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_doublet() [all …]
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | flvmux.c | 232 const GstClockTime base_time = 123456789; in GST_START_TEST() local 242 sizeof (speex_hdr0), base_time, 0)); in GST_START_TEST() 246 sizeof (speex_hdr1), base_time, 0)); in GST_START_TEST() 250 sizeof (speex_buf), base_time, duration)); in GST_START_TEST() 254 sizeof (speex_buf), base_time + duration, duration)); in GST_START_TEST() 281 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST() 299 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST() 317 fail_unless_equals_uint64 (base_time, GST_BUFFER_PTS (buf)); in GST_START_TEST() 338 fail_unless_equals_uint64 (base_time + duration, GST_BUFFER_PTS (buf)); in GST_START_TEST() 379 GstClockTime base_time = 42 * GST_SECOND; in GST_START_TEST() local [all …]
|
/third_party/gstreamer/gstplugins_base/tests/examples/dynamic/ |
D | addstream.c | 61 GstClockTime now, base_time, running_time; in pause_play_stream() local 66 base_time = gst_element_get_base_time (bin); in pause_play_stream() 68 running_time = now - base_time; in pause_play_stream() 103 base_time = now - running_time; in pause_play_stream() 105 gst_element_set_base_time (bin, base_time); in pause_play_stream()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpjitterbuffer.c | 334 jbuf->base_time = -1; in rtp_jitter_buffer_reset_skew() 368 jbuf->base_time = time; in rtp_jitter_buffer_resync() 550 if (time == -1 || jbuf->base_time == -1 || is_rtx) in calculate_skew() 554 recv_diff = time - jbuf->base_time; in calculate_skew() 569 GST_TIME_ARGS (jbuf->base_time), GST_TIME_ARGS (recv_diff), slope); in calculate_skew() 664 if (jbuf->base_time != -1) { in calculate_skew() 665 out_time = jbuf->base_time + send_diff; in calculate_skew() 705 gboolean estimated_dts, guint32 rtptime, GstClockTime base_time, in rtp_jitter_buffer_calculate_pts() argument 721 jbuf->base_time != -1 && jbuf->last_rtptime != -1) { in rtp_jitter_buffer_calculate_pts() 785 if (jbuf->base_time == -1) in rtp_jitter_buffer_calculate_pts() [all …]
|
D | rtptwcc.c | 47 guint8 base_time[3]; member 617 GstClockTime base_time; in rtp_twcc_manager_add_fci() local 644 base_time = first->ts / REF_TIME_UNIT; in rtp_twcc_manager_add_fci() 649 GST_WRITE_UINT24_BE (header.base_time, base_time); in rtp_twcc_manager_add_fci() 652 base_time *= REF_TIME_UNIT; in rtp_twcc_manager_add_fci() 653 ts_rounded = base_time; in rtp_twcc_manager_add_fci() 657 first->seqnum, packet_count, GST_TIME_ARGS (base_time), fb_pkt_count); in rtp_twcc_manager_add_fci() 1041 GstClockTime base_time; in rtp_twcc_manager_parse_fci() local 1056 base_time = GST_READ_UINT24_BE (&fci_data[4]) * REF_TIME_UNIT; in rtp_twcc_manager_parse_fci() 1061 base_seqnum, packet_count, GST_TIME_ARGS (base_time), fb_pkt_count); in rtp_twcc_manager_parse_fci() [all …]
|
D | rtpjitterbuffer.h | 89 GstClockTime base_time; member 212 … guint32 rtptime, GstClockTime base_time, gint gap,
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiobasesrc.c | 876 GstClockTime base_time; in gst_audio_base_src_create() local 901 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create() 904 running_time = current_time - base_time; in gst_audio_base_src_create() 979 GstClockTime base_time, latency; in gst_audio_base_src_create() local 986 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create() 988 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) in gst_audio_base_src_create() 989 timestamp -= base_time; in gst_audio_base_src_create() 1004 GstClockTime base_time; in gst_audio_base_src_create() local 1016 base_time = GST_ELEMENT_CAST (src)->base_time; in gst_audio_base_src_create() 1018 if (GST_CLOCK_DIFF (timestamp, base_time) < 0) { in gst_audio_base_src_create() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | playbin-text.c | 97 GstClockTime base_time, running_time; in have_subtitle() local 103 base_time = gst_element_get_base_time (appsink); in have_subtitle() 105 running_time = gst_clock_get_time (clock) - base_time; in have_subtitle()
|
/third_party/gstreamer/gstreamer/libs/gst/net/ |
D | gstnetclientclock.h | 77 gint remote_port, GstClockTime base_time); 98 gint remote_port, GstClockTime base_time);
|
D | gstnetclientclock.c | 994 GstClockTime base_time, internal_base_time; member 1113 priv->base_time = DEFAULT_BASE_TIME; in gst_net_client_clock_init() 1266 self->priv->base_time = g_value_get_uint64 (value); in gst_net_client_clock_set_property() 1329 g_value_set_uint64 (value, self->priv->base_time); in gst_net_client_clock_get_property() 1421 self->priv->internal_base_time, self->priv->base_time, 1, 1); in gst_net_client_clock_get_internal_time() 1443 gint remote_port, GstClockTime base_time) in gst_net_client_clock_new() argument 1450 g_return_val_if_fail (base_time != GST_CLOCK_TIME_NONE, NULL); in gst_net_client_clock_new() 1454 remote_address, "port", remote_port, "base-time", base_time, NULL); in gst_net_client_clock_new() 1492 gint remote_port, GstClockTime base_time) in gst_ntp_clock_new() argument 1499 g_return_val_if_fail (base_time != GST_CLOCK_TIME_NONE, NULL); in gst_ntp_clock_new() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/avtp/ |
D | gstavtpbasedepayload.c | 231 GstClockTime now, base_time, avtp_ptime; in gst_avtp_base_depayload_push_segment_event() local 239 base_time = gst_element_get_base_time (GST_ELEMENT (avtpbasedepayload)); in gst_avtp_base_depayload_push_segment_event() 242 segment.base = avtp_ptime - base_time; in gst_avtp_base_depayload_push_segment_event()
|
D | gstavtpbasepayload.c | 232 GstClockTime base_time, running_time; in gst_avtp_base_payload_calc_ptime() local 249 base_time = gst_element_get_base_time (GST_ELEMENT (avtpbasepayload)); in gst_avtp_base_payload_calc_ptime() 254 return base_time + running_time + avtpbasepayload->latency + in gst_avtp_base_payload_calc_ptime()
|
D | gstavtpsink.c | 424 GstClockTime base_time, running_time; in gst_avtp_sink_render() local 436 base_time = gst_element_get_base_time (GST_ELEMENT (avtpsink)); in gst_avtp_sink_render() 438 *(__u64 *) CMSG_DATA (cmsg) = UTC_TO_TAI (base_time + running_time); in gst_avtp_sink_render()
|
D | gstavtpcvfpay.c | 463 GstClockTime base_time, base_dts, rt; in gst_avtp_cvf_pay_spread_ts() local 466 base_time = gst_element_get_base_time (GST_ELEMENT (avtpcvfpay)); in gst_avtp_cvf_pay_spread_ts() 485 dts_ct = base_time + dts_rt; in gst_avtp_cvf_pay_spread_ts() 519 avtpcvfpay->last_interval_ct = base_time + rt; in gst_avtp_cvf_pay_spread_ts()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/ |
D | gstmpegdemux.c | 394 demux->base_time = G_MAXUINT64; in gst_ps_demux_reset() 659 GST_TIME_ARGS (pts), GST_TIME_ARGS (demux->base_time), in gst_ps_demux_send_segment() 666 if (GST_CLOCK_TIME_IS_VALID (demux->base_time)) { in gst_ps_demux_send_segment() 668 segment.start += demux->base_time; in gst_ps_demux_send_segment() 670 segment.stop += demux->base_time; in gst_ps_demux_send_segment() 671 segment.time = segment.start - demux->base_time; in gst_ps_demux_send_segment() 996 GstClockTime base_time, stop; in gst_ps_demux_send_gap_updates() local 1004 if ((base_time = demux->base_time) == GST_CLOCK_TIME_NONE) in gst_ps_demux_send_gap_updates() 1005 base_time = 0; in gst_ps_demux_send_gap_updates() 1009 stop += base_time; in gst_ps_demux_send_gap_updates() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/srt/ |
D | gstsrtsrc.c | 152 GstClockTime base_time; in gst_srt_src_fill() local 176 base_time = gst_element_get_base_time (GST_ELEMENT (src)); in gst_srt_src_fill() 238 if (capture_time > base_time) in gst_srt_src_fill() 239 capture_time -= base_time; in gst_srt_src_fill()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstpipeline.c | 375 GST_ELEMENT_START_TIME (pipeline) = now - element->base_time; in pipeline_update_start_time() 390 GST_TIME_ARGS (now), GST_TIME_ARGS (element->base_time)); in pipeline_update_start_time() 1119 GstClockTime base_time, clock_time; in gst_pipeline_handle_instant_rate() local 1122 base_time = GST_ELEMENT_CAST (pipeline)->base_time; in gst_pipeline_handle_instant_rate() 1127 running_time = clock_time - base_time; in gst_pipeline_handle_instant_rate()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/ |
D | mpegtspacketizer.c | 86 res->base_time = GST_CLOCK_TIME_NONE; in get_pcr_table() 614 pcrtable->base_time = GST_CLOCK_TIME_NONE; in mpegts_packetizer_clear() 656 pcrtable->base_time = GST_CLOCK_TIME_NONE; in mpegts_packetizer_flush() 1263 pcr->base_time = time; in mpegts_packetizer_resync() 1357 if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (pcr->base_time))) { in calculate_skew() 1358 pcr->base_time = time; in calculate_skew() 1402 pcr->pcroffset += time - pcr->base_time + pcr->base_pcrtime - gstpcrtime; in calculate_skew() 1416 if (time == pcr->base_time) { in calculate_skew() 1452 || !GST_CLOCK_TIME_IS_VALID (pcr->base_time)) in calculate_skew() 1456 recv_diff = time - pcr->base_time; in calculate_skew() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbasesink.c | 2385 GstClockTime base_time; in gst_base_sink_wait_clock() local 2397 base_time = GST_ELEMENT_CAST (sink)->base_time; in gst_base_sink_wait_clock() 2400 GST_TIME_ARGS (time), GST_TIME_ARGS (base_time)); in gst_base_sink_wait_clock() 2403 time += base_time; in gst_base_sink_wait_clock() 3301 now - GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_update_start_time() 3313 GST_TIME_ARGS (GST_ELEMENT_CAST (basesink)->base_time)); in gst_base_sink_update_start_time() 4079 GstClockTime base_time; in gst_base_sink_chain_unlocked() local 4083 base_time = GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_chain_unlocked() 4084 stime = base_time + gst_base_sink_adjust_time (basesink, rstart); in gst_base_sink_chain_unlocked() 5328 GstClockTime base_time, clock_time; in gst_base_sink_send_event() local [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkaudiosink.cpp | 653 GstClockTime base_time = in gst_decklink_audio_sink_render() local 658 if (clock_now != GST_CLOCK_TIME_NONE && base_time != GST_CLOCK_TIME_NONE) { in gst_decklink_audio_sink_render() 662 GST_TIME_ARGS (clock_now), GST_TIME_ARGS (base_time), in gst_decklink_audio_sink_render() 664 if (clock_now > base_time) in gst_decklink_audio_sink_render() 665 clock_now -= base_time; in gst_decklink_audio_sink_render()
|
D | gstdecklinkvideosink.cpp | 733 GstClockTime base_time; in gst_decklink_video_sink_convert_to_internal_clock() local 752 base_time = gst_element_get_base_time (GST_ELEMENT_CAST (self)); in gst_decklink_video_sink_convert_to_internal_clock() 753 if (base_time > external_base) in gst_decklink_video_sink_convert_to_internal_clock() 754 base_time = 0; in gst_decklink_video_sink_convert_to_internal_clock() 756 base_time = external_base - base_time; in gst_decklink_video_sink_convert_to_internal_clock() 758 if (external_timestamp < base_time) in gst_decklink_video_sink_convert_to_internal_clock() 761 external_timestamp = external_timestamp - base_time; in gst_decklink_video_sink_convert_to_internal_clock()
|
/third_party/gstreamer/gstplugins_good/sys/rpicamsrc/ |
D | RaspiCapture.c | 134 int64_t base_time; member 904 if (state->base_time == -1) in encoder_buffer_callback() 905 state->base_time = vcos_getmicrosecs64()/1000; in encoder_buffer_callback() 916 if (state->base_time == -1) in encoder_buffer_callback() 917 state->base_time = current_time; in encoder_buffer_callback() 932 GstClock *clock, GstClockTime base_time) in raspi_capture_fill_buffer() argument 960 runtime = gst_clock_get_time (clock) - base_time; in raspi_capture_fill_buffer() 1666 state->base_time = state->last_second = -1; in raspi_capture_setup()
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | rsninputselector.c | 690 GstClockTime base_time; in gst_input_selector_wait_running_time() local 693 base_time = gst_element_get_base_time (GST_ELEMENT_CAST (sel)); in gst_input_selector_wait_running_time() 694 if (base_time <= cur_running_time) in gst_input_selector_wait_running_time() 695 cur_running_time -= base_time; in gst_input_selector_wait_running_time() 810 GstClockTime base_time; in gst_input_selector_cleanup_old_cached_buffers() local 813 base_time = gst_element_get_base_time (GST_ELEMENT_CAST (sel)); in gst_input_selector_cleanup_old_cached_buffers() 814 if (base_time <= cur_running_time) in gst_input_selector_cleanup_old_cached_buffers() 815 cur_running_time -= base_time; in gst_input_selector_cleanup_old_cached_buffers()
|
/third_party/ltp/testcases/lib/ |
D | tst_net.sh | 793 local base_time=$1 798 if [ -z "$base_time" -o -z "$new_time" -o -z "$threshold_low" ]; then 802 local res=$(((base_time - new_time) * 100 / base_time))
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapturesrc.cpp | 798 GstClockTime base_time; in gst_d3d11_screen_capture_src_create() local 841 base_time = GST_ELEMENT_CAST (self)->base_time; in gst_d3d11_screen_capture_src_create() 843 next_capture_ts -= base_time; in gst_d3d11_screen_capture_src_create() 860 next_capture_ts + base_time); in gst_d3d11_screen_capture_src_create()
|