Home
last modified time | relevance | path

Searched refs:base_time (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/cef/libcef/common/
Dtime_impl.cc62 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/boost/boost/date_time/posix_time/
Dptime.hpp32 class BOOST_SYMBOL_VISIBLE ptime : public date_time::base_time<ptime, posix_time_system>
42 date_time::base_time<time_type,time_system_type>(d,td) in ptime()
47 date_time::base_time<time_type,time_system_type>(d,time_duration_type(0,0,0)) in ptime()
52 date_time::base_time<time_type,time_system_type>(rhs) in ptime()
57 date_time::base_time<time_type,time_system_type>(sv) in ptime()
63 date_time::base_time<time_type,time_system_type>(gregorian::date(not_a_date_time), in ptime()
/third_party/boost/libs/fusion/example/performance/
Dsequence_efficiency.cpp209 double base_time = test::measure<plain_accumulator<int> >(1, repeats); in main() local
212 << base_time; in main()
230 measure(vsmall, "small vector time: ", repeats, base_time); in main()
231 measure(lsmall, "small list time: ", repeats, base_time); in main()
232 measure(vmedium, "medium vector time: ", repeats, base_time); in main()
233 measure(lmedium, "medium list time: ", repeats, base_time); in main()
234 measure(vbig, "big vector time: ", repeats, base_time); in main()
235 measure(lbig, "big list time: ", repeats, base_time); in main()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dflvmux.c232 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/
Daddstream.c61 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/
Drtpjitterbuffer.c334 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 …]
Drtptwcc.c47 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 …]
Drtpjitterbuffer.h89 GstClockTime base_time; member
212 … guint32 rtptime, GstClockTime base_time, gint gap,
/third_party/boost/boost/date_time/
Dtime.hpp46 class base_time : private class
62 base_time(const date_type& day, in base_time() function in boost::date_time::base_time
68 base_time(special_values sv) : in base_time() function in boost::date_time::base_time
72 base_time(const time_rep_type& rhs) : in base_time() function in boost::date_time::base_time
/third_party/grpc/tools/github/
Dpr_latency.py60 base_time, argument
71 pr, base_time, test_time, diff_time, successes, failures,
76 str(base_time),
78 str(int((test_time - base_time).total_seconds())),
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesrc.c876 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/
Dplaybin-text.c97 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/boost/boost/date_time/local_time/
Dlocal_date_time.hpp65 class BOOST_SYMBOL_VISIBLE local_date_time_base : public date_time::base_time<utc_time_,
84 date_time::base_time<utc_time_type, time_system_type>(t), in local_date_time_base()
105 …date_time::base_time<utc_time_type,time_system_type>(construction_adjustment(utc_time_type(d, td),… in local_date_time_base()
147 date_time::base_time<utc_time_type,time_system_type>(utc_time_type(d,td)), in local_date_time_base()
216 date_time::base_time<utc_time_type, time_system_type>(rhs), in local_date_time_base()
223 date_time::base_time<utc_time_type, time_system_type>(utc_time_type(sv)), in local_date_time_base()
/third_party/gstreamer/gstreamer/libs/gst/net/
Dgstnetclientclock.h77 gint remote_port, GstClockTime base_time);
98 gint remote_port, GstClockTime base_time);
Dgstnetclientclock.c994 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/
Dgstavtpbasedepayload.c231 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()
Dgstavtpbasepayload.c232 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()
Dgstavtpsink.c424 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()
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/
Dgstmpegdemux.c394 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/
Dgstsrtsrc.c152 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/
Dgstpipeline.c375 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/
Dmpegtspacketizer.c86 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/boost/boost/asio/detail/
Ddate_time_fwd.hpp24 class base_time;
/third_party/boost/libs/asio/include/boost/asio/detail/
Ddate_time_fwd.hpp24 class base_time;
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasesink.c2380 GstClockTime base_time; in gst_base_sink_wait_clock() local
2392 base_time = GST_ELEMENT_CAST (sink)->base_time; in gst_base_sink_wait_clock()
2395 GST_TIME_ARGS (time), GST_TIME_ARGS (base_time)); in gst_base_sink_wait_clock()
2398 time += base_time; in gst_base_sink_wait_clock()
3273 now - GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_update_start_time()
3285 GST_TIME_ARGS (GST_ELEMENT_CAST (basesink)->base_time)); in gst_base_sink_update_start_time()
4011 GstClockTime base_time; in gst_base_sink_chain_unlocked() local
4015 base_time = GST_ELEMENT_CAST (basesink)->base_time; in gst_base_sink_chain_unlocked()
4016 stime = base_time + gst_base_sink_adjust_time (basesink, rstart); in gst_base_sink_chain_unlocked()
5228 GstClockTime base_time, clock_time; in gst_base_sink_send_event() local
[all …]

1234