Home
last modified time | relevance | path

Searched refs:reference_time (Results 1 – 24 of 24) sorted by relevance

/external/openscreen/cast/standalone_sender/
Dstreaming_opus_encoder.cc87 Clock::time_point reference_time) { in EncodeAndSend() argument
91 ResolveTimestampsAndMaybeSkip(reference_time); in EncodeAndSend()
120 last_sent_frame_reference_time_ = frame_.reference_time; in EncodeAndSend()
138 frame_.reference_time += approximate_cast_frame_duration_; in EncodeAndSend()
152 Clock::time_point reference_time) { in ResolveTimestampsAndMaybeSkip() argument
155 reference_time -= codec_delay_; in ResolveTimestampsAndMaybeSkip()
160 frame_.reference_time = start_time_ = reference_time; in ResolveTimestampsAndMaybeSkip()
162 reference_time - approximate_cast_frame_duration_; in ResolveTimestampsAndMaybeSkip()
169 reference_time - start_time_, sample_rate()); in ResolveTimestampsAndMaybeSkip()
184 reference_time -= RtpTimeDelta::FromTicks(num_samples_queued_) in ResolveTimestampsAndMaybeSkip()
[all …]
Dstreaming_vp8_encoder.cc137 Clock::time_point reference_time, in EncodeAndSend() argument
146 start_time_ = reference_time; in EncodeAndSend()
150 reference_time - start_time_, sender_->rtp_timebase()); in EncodeAndSend()
168 if (reference_time == start_time_) { in EncodeAndSend()
186 work_unit.reference_time = reference_time; in EncodeAndSend()
431 frame.reference_time = results.reference_time; in SendEncodedFrame()
Dstreaming_opus_encoder.h64 Clock::time_point reference_time);
80 void ResolveTimestampsAndMaybeSkip(Clock::time_point reference_time);
Dstreaming_vp8_encoder.h180 Clock::time_point reference_time,
199 Clock::time_point reference_time; member
/external/openscreen/cast/streaming/
Dsender.cc43 pending_sender_report_.reference_time = SenderPacketRouter::kNever; in Sender()
104 OSP_DCHECK_GT(frame.reference_time, pending_sender_report_.reference_time); in EnqueueFrame()
150 pending_sender_report_.reference_time = slot->frame->reference_time; in EnqueueFrame()
193 if (pending_sender_report_.reference_time == SenderPacketRouter::kNever) { in GetRtcpPacketForImmediateSend()
204 sender_report.reference_time = send_time; in GetRtcpPacketForImmediateSend()
206 sender_report.reference_time - pending_sender_report_.reference_time, in GetRtcpPacketForImmediateSend()
261 void Sender::OnReceiverReferenceTimeAdvanced(Clock::time_point reference_time) { in OnReceiverReferenceTimeAdvanced() argument
Dsender_report_unittest.cc89 parsed->reference_time); in TEST_F()
124 original.reference_time = Clock::now(); in TEST_F()
142 ntp_converter().ToNtpTimestamp(original.reference_time)); in TEST_F()
152 std::abs((original.reference_time - parsed->reference_time).count()), in TEST_F()
Dencoded_frame.cc21 dest->reference_time = this->reference_time; in CopyMetadataTo()
Dreceiver.cc151 frame.reference_time = in ConsumeNextFrame()
160 << to_microseconds(frame.reference_time - now_()).count() in ConsumeNextFrame()
250 last_sender_report_->reference_time + smoothed_clock_offset_.Current() + in OnReceivedRtpPacket()
312 arrival_time - last_sender_report_->reference_time; in OnReceivedRtcpPacket()
Dreceiver_unittest.cc101 reference_time = first_frame_reference_time + kFrameDuration * which; in SimulatedFrame()
160 StatusReportId SendSenderReport(Clock::time_point reference_time, in SendSenderReport() argument
165 sender_report.reference_time = reference_time; in SendSenderReport()
236 void(Clock::time_point reference_time));
336 EXPECT_EQ(sent_frame.reference_time + kOneWayNetworkDelay + in ConsumeAndVerifyFrame()
339 received_frame.reference_time); in ConsumeAndVerifyFrame()
Dmock_compound_rtcp_parser_client.h17 void(Clock::time_point reference_time));
Dencoded_frame.h81 Clock::time_point reference_time; member
Dsender_unittest.cc392 Clock::time_point reference_time, in PopulateFrameWithDefaults() argument
407 frame->reference_time = reference_time; in PopulateFrameWithDefaults()
898 EXPECT_EQ(frame.reference_time, sender_reports.front().reference_time); in TEST_F()
906 EXPECT_EQ(frame.reference_time + kThreeReportIntervals, in TEST_F()
907 sender_reports.back().reference_time); in TEST_F()
Dcompound_rtcp_parser.h44 Clock::time_point reference_time);
Dsender_report_parser.cc55 report.reference_time = in Parse()
Dsender_report_builder.cc40 session_->ntp_converter().ToNtpTimestamp(sender_report.reference_time); in BuildPacket()
Drtcp_common.h141 Clock::time_point reference_time{};
Dsender.h226 void OnReceiverReferenceTimeAdvanced(Clock::time_point reference_time) final;
Drtp_packetizer_unittest.cc50 frame.reference_time = Clock::now(); in CreateFrame()
Dcompound_rtcp_parser.cc366 Clock::time_point reference_time) {} in OnReceiverReferenceTimeAdvanced() argument
/external/openscreen/cast/standalone_receiver/
Dsdl_player_base.cc77 const auto drift = to_milliseconds(frame.reference_time - presentation_time); in ResyncAndDeterminePresentationTime()
88 last_sync_reference_time_ = frame.reference_time; in ResyncAndDeterminePresentationTime()
89 presentation_time = frame.reference_time; in ResyncAndDeterminePresentationTime()
/external/libtextclassifier/native/annotator/
Dannotator_jni_common.cc67 int64 reference_time, in FromJavaOptionsInternal()
141 options.reference_time_ms_utc = reference_time; in FromJavaOptionsInternal()
409 int64 reference_time, in FromJavaInputFragment()
426 DatetimeOptions{.reference_time_ms_utc = reference_time, in FromJavaInputFragment()
/external/autotest/site_utils/
Djob_directories_unittest.py339 reference_time = datetime.datetime.now() - delta
340 return reference_time.strftime(time_utils.TIME_FMT)
/external/libtextclassifier/native/actions/
Dactions_jni.cc304 int64 reference_time, in FromJavaConversationMessage()
329 message.reference_time_ms_utc = reference_time; in FromJavaConversationMessage()
/external/libtextclassifier/native/utils/intents/
Dintent-generator-test-lib.cc334 EXPECT_EQ(intents[0].extra["reference_time"].Value<int64>(), 1000);