Home
last modified time | relevance | path

Searched refs:report_blocks (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/bitrate_controller/
Dbitrate_controller_unittest.cc106 webrtc::ReportBlockList report_blocks; in TEST_F() local
107 report_blocks.push_back(CreateReportBlock(1, 2, 0, 1)); in TEST_F()
112 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F()
113 report_blocks.clear(); in TEST_F()
120 report_blocks.push_back(CreateReportBlock(1, 2, 0, 21)); in TEST_F()
121 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F()
127 report_blocks.clear(); in TEST_F()
128 report_blocks.push_back(CreateReportBlock(1, 2, 0, 41)); in TEST_F()
129 bandwidth_observer_->OnReceivedRtcpReceiverReport(report_blocks, 50, time_ms); in TEST_F()
135 report_blocks.clear(); in TEST_F()
[all …]
Dbitrate_controller_impl.cc34 void OnReceivedRtcpReceiverReport(const ReportBlockList& report_blocks, in OnReceivedRtcpReceiverReport() argument
37 if (report_blocks.empty()) in OnReceivedRtcpReceiverReport()
45 for (ReportBlockList::const_iterator it = report_blocks.begin(); in OnReceivedRtcpReceiverReport()
46 it != report_blocks.end(); ++it) { in OnReceivedRtcpReceiverReport()
/external/webrtc/webrtc/video/
Dreport_block_stats.cc50 const ReportBlockVector& report_blocks) { in AggregateAndStore() argument
52 if (report_blocks.empty()) { in AggregateAndStore()
57 ReportBlockVector::const_iterator report_block = report_blocks.begin(); in AggregateAndStore()
58 for (; report_block != report_blocks.end(); ++report_block) { in AggregateAndStore()
66 if (report_blocks.size() == 1) { in AggregateAndStore()
68 return report_blocks[0]; in AggregateAndStore()
74 (aggregate.jitter + report_blocks.size() / 2) / report_blocks.size()); in AggregateAndStore()
Dvie_channel.cc753 std::vector<RTCPReportBlock> report_blocks; in GetSendRtcpStatistics() local
755 rtp_rtcp->RemoteRTCPStat(&report_blocks); in GetSendRtcpStatistics()
757 if (report_blocks.empty()) in GetSendRtcpStatistics()
761 std::vector<RTCPReportBlock>::const_iterator it = report_blocks.begin(); in GetSendRtcpStatistics()
762 for (; it != report_blocks.end(); ++it) { in GetSendRtcpStatistics()
766 if (it == report_blocks.end()) { in GetSendRtcpStatistics()
772 remote_ssrc = report_blocks[0].remoteSSRC; in GetSendRtcpStatistics()
778 report_block_stats_sender_->AggregateAndStore(report_blocks); in GetSendRtcpStatistics()
Dreport_block_stats.h32 RTCPReportBlock AggregateAndStore(const ReportBlockVector& report_blocks);
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_rtcp.cc246 std::vector<RTCPReportBlock> report_blocks; in TEST_F() local
248 EXPECT_EQ(0, module1->RemoteRTCPStat(&report_blocks)); in TEST_F()
249 EXPECT_EQ(0u, report_blocks.size()); in TEST_F()
257 EXPECT_EQ(0, module1->RemoteRTCPStat(&report_blocks)); in TEST_F()
258 ASSERT_EQ(1u, report_blocks.size()); in TEST_F()
261 EXPECT_EQ(test_ssrc+1, report_blocks[0].remoteSSRC); in TEST_F()
262 EXPECT_EQ(test_ssrc, report_blocks[0].sourceSSRC); in TEST_F()
264 EXPECT_EQ(0u, report_blocks[0].cumulativeLost); in TEST_F()
265 EXPECT_LT(0u, report_blocks[0].delaySinceLastSR); in TEST_F()
266 EXPECT_EQ(test_sequence_number, report_blocks[0].extendedHighSeqNum); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dreceiver_report_unittest.cc67 EXPECT_EQ(1u, parsed.report_blocks().size()); in TEST_F()
68 const ReportBlock& rb = parsed.report_blocks().front(); in TEST_F()
110 EXPECT_EQ(0u, parsed().report_blocks().size()); in TEST_F()
127 EXPECT_EQ(2u, parsed().report_blocks().size()); in TEST_F()
128 EXPECT_EQ(kRemoteSsrc, parsed().report_blocks()[0].source_ssrc()); in TEST_F()
129 EXPECT_EQ(kRemoteSsrc + 1, parsed().report_blocks()[1].source_ssrc()); in TEST_F()
Dreceiver_report.h39 const std::vector<ReportBlock>& report_blocks() const { in report_blocks() function
/external/webrtc/webrtc/audio/
Daudio_send_stream_unittest.cc127 std::vector<ReportBlock> report_blocks; in SetupMockForGetStats() local
129 report_blocks.push_back(block); // Has wrong SSRC. in SetupMockForGetStats()
131 report_blocks.push_back(block); // Correct block. in SetupMockForGetStats()
133 report_blocks.push_back(block); // Duplicate SSRC, bad fraction_lost. in SetupMockForGetStats()
139 .WillRepeatedly(Return(report_blocks)); in SetupMockForGetStats()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_unittest.cc118 rtcp_packet_info_.report_blocks = rtcpPacketInformation.report_blocks; in InjectRtcpPacket()
186 ASSERT_EQ(0u, rtcp_packet_info_.report_blocks.size()); in TEST_F()
205 ASSERT_EQ(0u, rtcp_packet_info_.report_blocks.size()); in TEST_F()
228 ASSERT_EQ(1u, rtcp_packet_info_.report_blocks.size()); in TEST_F()
263 ASSERT_EQ(2u, rtcp_packet_info_.report_blocks.size()); in TEST_F()
264 EXPECT_EQ(10, rtcp_packet_info_.report_blocks.front().fractionLost); in TEST_F()
265 EXPECT_EQ(0, rtcp_packet_info_.report_blocks.back().fractionLost); in TEST_F()
286 ASSERT_EQ(2u, rtcp_packet_info_.report_blocks.size()); in TEST_F()
287 EXPECT_EQ(kFracLost[0], rtcp_packet_info_.report_blocks.front().fractionLost); in TEST_F()
288 EXPECT_EQ(kFracLost[1], rtcp_packet_info_.report_blocks.back().fractionLost); in TEST_F()
[all …]
Drtcp_receiver_help.h75 ReportBlockList report_blocks; variable
Drtcp_receiver_help.cc100 report_blocks.push_back(report_block_info.remoteReceiveBlock); in AddReportInfo()
Drtcp_receiver.cc1391 rtcpPacketInformation.report_blocks, in TriggerCallbacksFromRTCPPacket()
1412 rtcpPacketInformation.report_blocks.begin(); in TriggerCallbacksFromRTCPPacket()
1413 it != rtcpPacketInformation.report_blocks.end(); in TriggerCallbacksFromRTCPPacket()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
Dsend_side.cc76 ReportBlockList report_blocks; in GiveFeedback() local
77 report_blocks.push_back(report_block_); in GiveFeedback()
79 report_blocks, rtt_ms, clock_->TimeInMilliseconds()); in GiveFeedback()
Dremb.cc45 ReportBlockList report_blocks; in GiveFeedback() local
46 report_blocks.push_back(remb_feedback.report_block()); in GiveFeedback()
48 report_blocks, 0, clock_->TimeInMilliseconds()); in GiveFeedback()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc202 void OnReceivedRtcpReceiverReport(const ReportBlockList& report_blocks, in OnReceivedRtcpReceiverReport() argument
208 if (report_blocks.empty()) in OnReceivedRtcpReceiverReport()
216 for (ReportBlockList::const_iterator block_it = report_blocks.begin(); in OnReceivedRtcpReceiverReport()
217 block_it != report_blocks.end(); ++block_it) { in OnReceivedRtcpReceiverReport()
3166 std::vector<ReportBlock>* report_blocks) { in GetRemoteRTCPReportBlocks() argument
3167 if (report_blocks == NULL) { in GetRemoteRTCPReportBlocks()
3195 report_blocks->push_back(report_block); in GetRemoteRTCPReportBlocks()
4073 std::vector<RTCPReportBlock> report_blocks; in GetRTT() local
4074 _rtpRtcpModule->RemoteRTCPStat(&report_blocks); in GetRTT()
4077 if (report_blocks.empty()) { in GetRTT()
[all …]
Dvoe_rtp_rtcp_impl.h72 std::vector<ReportBlock>* report_blocks) override;
Dvoe_rtp_rtcp_impl.cc347 int channel, std::vector<ReportBlock>* report_blocks) { in GetRemoteRTCPReportBlocks() argument
360 return channel_ptr->GetRemoteRTCPReportBlocks(report_blocks); in GetRemoteRTCPReportBlocks()
Dchannel.h352 int GetRemoteRTCPReportBlocks(std::vector<ReportBlock>* report_blocks);
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dtransport_feedback_adapter_unittest.cc67 void OnReceivedRtcpReceiverReport(const ReportBlockList& report_blocks, in OnReceivedRtcpReceiverReport() argument
78 void OnReceivedRtcpReceiverReport(const ReportBlockList& report_blocks, in OnReceivedRtcpReceiverReport() argument
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h252 const ReportBlockList& report_blocks,