Home
last modified time | relevance | path

Searched refs:ntp_secs (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
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()
57 bool UpdateRtcpList(uint32_t ntp_secs, in UpdateRtcpList() argument
63 if (ntp_secs == 0 && ntp_frac == 0) { in UpdateRtcpList()
68 measurement.ntp_secs = ntp_secs; in UpdateRtcpList()
74 if (measurement.ntp_secs == (*it).ntp_secs && in UpdateRtcpList()
99 int64_t rtcp_ntp_ms_new = Clock::NtpToMs(rtcp.front().ntp_secs, in RtpToNtpMs()
101 int64_t rtcp_ntp_ms_old = Clock::NtpToMs(rtcp.back().ntp_secs, in RtpToNtpMs()
Dclock.cc30 int64_t Clock::NtpToMs(uint32_t ntp_secs, uint32_t ntp_frac) { in NtpToMs() argument
32 return 1000 * static_cast<int64_t>(ntp_secs) + in NtpToMs()
/external/webrtc/webrtc/system_wrappers/include/
Drtp_to_ntp.h22 RtcpMeasurement(uint32_t ntp_secs, uint32_t ntp_frac, uint32_t timestamp);
23 uint32_t ntp_secs; member
33 bool UpdateRtcpList(uint32_t ntp_secs,
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dremote_ntp_time_estimator.cc32 uint32_t ntp_secs, 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()
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_unittest.cc288 uint32_t ntp_secs; in TEST_F() local
290 clock_.CurrentNtp(ntp_secs, ntp_frac); in TEST_F()
294 EXPECT_EQ(ntp_secs, parser()->sender_report()->NtpSec()); in TEST_F()
611 uint32_t ntp_secs; in TEST_F() local
613 clock_.CurrentNtp(ntp_secs, ntp_frac); in TEST_F()
619 EXPECT_EQ(ntp_secs, parser()->rrtr()->NtpSec()); in TEST_F()
Drtcp_receiver_help.h84 uint32_t ntp_secs; variable
Drtcp_receiver_help.cc35 ntp_secs(0), in RTCPPacketInformation()
Drtp_rtcp_impl.cc932 uint32_t ntp_secs = 0; in LastReceivedNTP() local
935 if (!rtcp_receiver_.NTP(&ntp_secs, in LastReceivedNTP()
943 ((ntp_secs & 0x0000ffff) << 16) + ((ntp_frac & 0xffff0000) >> 16); in LastReceivedNTP()
Drtcp_sender.cc935 uint32_t ntp_secs; in AddReportBlock() local
937 clock_->CurrentNtp(ntp_secs, ntp_frac); in AddReportBlock()
943 uint32_t now = ntp_secs & 0x0000FFFF; in AddReportBlock()
Drtcp_receiver_unittest.cc126 rtcp_packet_info_.ntp_secs = rtcpPacketInformation.ntp_secs; in InjectRtcpPacket()
Drtcp_receiver.cc432 rtcpPacketInformation.ntp_secs = rtcpPacket.SR.NTPMostSignificant; in HandleSenderReceiverReport()
/external/webrtc/webrtc/video/
Dvie_sync_module.cc31 uint32_t ntp_secs = 0; in UpdateMeasurements() local
34 if (0 != rtp_rtcp.RemoteNTP(&ntp_secs, in UpdateMeasurements()
44 ntp_secs, ntp_frac, rtp_timestamp, &stream->rtcp, &new_rtcp_sr)) { in UpdateMeasurements()
Dvie_receiver.cc433 uint32_t ntp_secs = 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() argument
45 *ntp_secs = time_now_ms_ / 1000 + kNtpJan1970; 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.h58 uint32_t ntp_secs; member
Dremote_bitrate_estimator_unittest_helper.cc90 rtcp->ntp_secs = send_time_us / 1000000; in Rtcp()
/external/webrtc/webrtc/call/
Dcall_perf_tests.cc103 if (ntp_rtp_pair.ntp_secs == it->ntp_secs && in StoreNtpRtpPair()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc1820 uint32_t ntp_secs = 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()