Home
last modified time | relevance | path

Searched refs:ntp_frac (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Drtp_to_ntp_unittest.cc39 uint32_t ntp_frac = 0; in TEST() local
43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
44 ntp_frac += kOneMsInNtpFrac; in TEST()
46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
47 ntp_frac += kOneMsInNtpFrac; in TEST()
58 uint32_t ntp_frac = 0; in TEST() local
62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
63 ntp_frac += kOneMsInNtpFrac; in TEST()
65 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
78 uint32_t ntp_frac = 0; in TEST() local
[all …]
Drtp_to_ntp.cc20 : ntp_secs(0), ntp_frac(0), rtp_timestamp(0) {} in RtcpMeasurement()
22 RtcpMeasurement::RtcpMeasurement(uint32_t ntp_secs, uint32_t ntp_frac, in RtcpMeasurement() argument
24 : ntp_secs(ntp_secs), ntp_frac(ntp_frac), rtp_timestamp(timestamp) {} in RtcpMeasurement()
58 uint32_t ntp_frac, in UpdateRtcpList() argument
63 if (ntp_secs == 0 && ntp_frac == 0) { in UpdateRtcpList()
69 measurement.ntp_frac = ntp_frac; in UpdateRtcpList()
75 measurement.ntp_frac == (*it).ntp_frac) { in UpdateRtcpList()
100 rtcp.front().ntp_frac); in RtpToNtpMs()
102 rtcp.back().ntp_frac); in RtpToNtpMs()
Dclock.cc30 int64_t Clock::NtpToMs(uint32_t ntp_secs, uint32_t ntp_frac) { in NtpToMs() argument
31 const double ntp_frac_ms = static_cast<double>(ntp_frac) / kNtpFracPerMs; in NtpToMs()
/external/webrtc/webrtc/system_wrappers/include/
Drtp_to_ntp.h22 RtcpMeasurement(uint32_t ntp_secs, uint32_t ntp_frac, uint32_t timestamp);
24 uint32_t ntp_frac; member
34 uint32_t ntp_frac,
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dremote_ntp_time_estimator.cc33 uint32_t ntp_frac, in UpdateRtcpTimestamp() argument
37 ntp_secs, ntp_frac, rtcp_timestamp, &rtcp_list_, &new_rtcp_sr)) { in UpdateRtcpTimestamp()
47 int64_t sender_send_time_ms = Clock::NtpToMs(ntp_secs, ntp_frac); in UpdateRtcpTimestamp()
Drtcp_sender_unittest.cc289 uint32_t ntp_frac; in TEST_F() local
290 clock_.CurrentNtp(ntp_secs, ntp_frac); in TEST_F()
295 EXPECT_EQ(ntp_frac, parser()->sender_report()->NtpFrac()); in TEST_F()
612 uint32_t ntp_frac; in TEST_F() local
613 clock_.CurrentNtp(ntp_secs, ntp_frac); in TEST_F()
620 EXPECT_EQ(ntp_frac, parser()->rrtr()->NtpFrac()); in TEST_F()
647 uint32_t ntp_frac; in TEST_F() local
648 clock_.CurrentNtp(ntp_sec, ntp_frac); in TEST_F()
649 uint32_t initial_mid_ntp = RTCPUtility::MidNtp(ntp_sec, ntp_frac); in TEST_F()
659 clock_.CurrentNtp(ntp_sec, ntp_frac); in TEST_F()
[all …]
Dremote_ntp_time_estimator_unittest.cc57 void UpdateRtcpTimestamp(int64_t rtt, uint32_t ntp_secs, uint32_t ntp_frac, in UpdateRtcpTimestamp() argument
60 estimator_.UpdateRtcpTimestamp(rtt, ntp_secs, ntp_frac, in UpdateRtcpTimestamp()
Drtcp_sender.cc116 uint32_t ntp_frac, in RtcpContext() argument
124 ntp_frac_(ntp_frac), in RtcpContext()
813 uint32_t ntp_frac; in SendCompoundRTCP() local
814 clock_->CurrentNtp(ntp_sec, ntp_frac); in SendCompoundRTCP()
816 ntp_sec, ntp_frac, &container); in SendCompoundRTCP()
936 uint32_t ntp_frac; in AddReportBlock() local
937 clock_->CurrentNtp(ntp_secs, ntp_frac); in AddReportBlock()
945 now += (ntp_frac & 0xffff0000) >> 16; in AddReportBlock()
Drtcp_receiver_help.h85 uint32_t ntp_frac; variable
Drtcp_receiver_help.cc36 ntp_frac(0), in RTCPPacketInformation()
Drtp_rtcp_impl.cc933 uint32_t ntp_frac = 0; in LastReceivedNTP() local
936 &ntp_frac, in LastReceivedNTP()
943 ((ntp_secs & 0x0000ffff) << 16) + ((ntp_frac & 0xffff0000) >> 16); in LastReceivedNTP()
Drtcp_receiver.cc250 uint32_t ntp_frac = 0; in LastReceivedXrReferenceTimeInfo() local
251 _clock->CurrentNtp(ntp_sec, ntp_frac); in LastReceivedXrReferenceTimeInfo()
252 uint32_t now = RTCPUtility::MidNtp(ntp_sec, ntp_frac); in LastReceivedXrReferenceTimeInfo()
433 rtcpPacketInformation.ntp_frac = rtcpPacket.SR.NTPLeastSignificant; in HandleSenderReceiverReport()
Drtcp_utility.h49 uint32_t MidNtp(uint32_t ntp_sec, uint32_t ntp_frac);
Drtcp_utility.cc42 uint32_t MidNtp(uint32_t ntp_sec, uint32_t ntp_frac) { in MidNtp() argument
43 return (ntp_sec << 16) + (ntp_frac >> 16); in MidNtp()
Drtcp_receiver_unittest.cc127 rtcp_packet_info_.ntp_frac = rtcpPacketInformation.ntp_frac; in InjectRtcpPacket()
/external/webrtc/webrtc/video/
Dvie_sync_module.cc32 uint32_t ntp_frac = 0; in UpdateMeasurements() local
35 &ntp_frac, in UpdateMeasurements()
44 ntp_secs, ntp_frac, rtp_timestamp, &stream->rtcp, &new_rtcp_sr)) { in UpdateMeasurements()
Dvie_receiver.cc434 uint32_t ntp_frac = 0; in InsertRTCPPacket() local
436 if (0 != rtp_rtcp_->RemoteNTP(&ntp_secs, &ntp_frac, NULL, NULL, in InsertRTCPPacket()
441 ntp_estimator_->UpdateRtcpTimestamp(rtt, ntp_secs, ntp_frac, rtp_timestamp); in InsertRTCPPacket()
Dstream_synchronization_unittest.cc39 NowNtp(&rtcp.ntp_secs, &rtcp.ntp_frac); in GenerateRtcp()
44 void NowNtp(uint32_t* ntp_secs, uint32_t* ntp_frac) const { in NowNtp()
47 *ntp_frac = static_cast<uint32_t>( in NowNtp()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Dremote_ntp_time_estimator.h34 bool UpdateRtcpTimestamp(int64_t rtt, uint32_t ntp_secs, uint32_t ntp_frac,
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_unittest_helper.h59 uint32_t ntp_frac; member
Dremote_bitrate_estimator_unittest_helper.cc91 rtcp->ntp_frac = static_cast<int64_t>((send_time_us % 1000000) * in Rtcp()
/external/webrtc/webrtc/call/
Dcall_perf_tests.cc104 ntp_rtp_pair.ntp_frac == it->ntp_frac) { in StoreNtpRtpPair()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc1821 uint32_t ntp_frac = 0; in ReceivedRTCPPacket() local
1823 if (0 != _rtpRtcpModule->RemoteNTP(&ntp_secs, &ntp_frac, NULL, NULL, in ReceivedRTCPPacket()
1831 ntp_estimator_.UpdateRtcpTimestamp(rtt, ntp_secs, ntp_frac, rtp_timestamp); in ReceivedRTCPPacket()