Home
last modified time | relevance | path

Searched refs:ReportBlock (Results 1 – 25 of 36) sorted by relevance

12

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dreceiver_report.cc48 kRrBaseLength + report_blocks_count * ReportBlock::kLength) { in Parse()
58 for (ReportBlock& block : report_blocks_) { in Parse()
59 block.Parse(next_report_block, ReportBlock::kLength); in Parse()
60 next_report_block += ReportBlock::kLength; in Parse()
70 report_blocks_.size() * ReportBlock::kLength; in BlockLength()
85 for (const ReportBlock& block : report_blocks_) { in Create()
87 *index += ReportBlock::kLength; in Create()
92 bool ReceiverReport::AddReportBlock(const ReportBlock& block) { in AddReportBlock()
101 bool ReceiverReport::SetReportBlocks(std::vector<ReportBlock> blocks) { in SetReportBlocks()
Dreport_block_unittest.cc18 using webrtc::rtcp::ReportBlock;
31 const size_t kBufferLength = ReportBlock::kLength;
37 ReportBlock rb; in TEST()
49 ReportBlock rb; in TEST()
54 ReportBlock rb; in TEST()
66 ReportBlock parsed; in TEST()
85 ReportBlock rb; in TEST()
97 ReportBlock rb; in TEST()
103 ReportBlock parsed; in TEST()
Dreport_block.cc39 ReportBlock::ReportBlock() in ReportBlock() function in webrtc::rtcp::ReportBlock
48 bool ReportBlock::Parse(const uint8_t* buffer, size_t length) { in Parse()
50 if (length < ReportBlock::kLength) { in Parse()
66 void ReportBlock::Create(uint8_t* buffer) const { in Create()
80 bool ReportBlock::SetCumulativeLost(int32_t cumulative_lost) { in SetCumulativeLost()
91 uint32_t ReportBlock::cumulative_lost() const { in cumulative_lost()
Dsender_report.cc58 kSenderBaseLength + report_block_count * ReportBlock::kLength) { in Parse()
73 for (ReportBlock& block : report_blocks_) { in Parse()
74 bool block_parsed = block.Parse(next_block, ReportBlock::kLength); in Parse()
76 next_block += ReportBlock::kLength; in Parse()
86 report_blocks_.size() * ReportBlock::kLength; in BlockLength()
112 for (const ReportBlock& block : report_blocks_) { in Create()
114 *index += ReportBlock::kLength; in Create()
121 bool SenderReport::AddReportBlock(const ReportBlock& block) { in AddReportBlock()
130 bool SenderReport::SetReportBlocks(std::vector<ReportBlock> blocks) { in SetReportBlocks()
Dreceiver_report_unittest.cc23 using webrtc::rtcp::ReportBlock;
51 const ReportBlock& rb = parsed.report_blocks().front(); in TEST()
71 ReportBlock rb; in TEST()
100 ReportBlock rb1; in TEST()
102 ReportBlock rb2; in TEST()
122 ReportBlock rb; in TEST()
133 ReportBlock report_block; in TEST()
140 std::vector<ReportBlock> blocks(3u); in TEST()
153 std::vector<ReportBlock> max_blocks(ReceiverReport::kMaxNumberOfReportBlocks); in TEST()
156 std::vector<ReportBlock> one_too_many_blocks( in TEST()
Dsender_report_unittest.cc21 using webrtc::rtcp::ReportBlock;
63 ReportBlock rb; in TEST()
80 ReportBlock rb1; in TEST()
82 ReportBlock rb2; in TEST()
103 ReportBlock rb; in TEST()
114 ReportBlock report_block; in TEST()
121 std::vector<ReportBlock> blocks(3u); in TEST()
134 std::vector<ReportBlock> max_blocks(SenderReport::kMaxNumberOfReportBlocks); in TEST()
137 std::vector<ReportBlock> one_too_many_blocks( in TEST()
Dreceiver_report.h38 bool AddReportBlock(const ReportBlock& block);
39 bool SetReportBlocks(std::vector<ReportBlock> blocks);
41 const std::vector<ReportBlock>& report_blocks() const { in report_blocks()
55 std::vector<ReportBlock> report_blocks_;
Dsender_report.h49 bool AddReportBlock(const ReportBlock& block);
50 bool SetReportBlocks(std::vector<ReportBlock> blocks);
58 const std::vector<ReportBlock>& report_blocks() const { in report_blocks()
76 std::vector<ReportBlock> report_blocks_;
Dreport_block.h23 class ReportBlock {
27 ReportBlock();
28 ~ReportBlock() {} in ~ReportBlock()
Dcompound_packet_unittest.cc29 using webrtc::rtcp::ReportBlock;
43 ReportBlock rb; in TEST()
65 ReportBlock rb; in TEST()
91 ReportBlock rb; in TEST()
120 ReportBlock rb; in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc162 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
246 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
269 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
294 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
320 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
358 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
395 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
423 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
444 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
465 std::vector<rtcp::ReportBlock> report_blocks = in TEST_F()
Drtcp_packet_unittest.cc22 using ::webrtc::rtcp::ReportBlock;
27 ReportBlock rb; in TEST()
Drtcp_receiver_unittest.cc262 rtcp::ReportBlock block; in TEST()
294 rtcp::ReportBlock block; in TEST()
325 rtcp::ReportBlock block; in TEST()
365 rtcp::ReportBlock rb; in TEST()
389 rtcp::ReportBlock rb; in TEST()
413 rtcp::ReportBlock rb; in TEST()
440 rtcp::ReportBlock rb1; in TEST()
445 rtcp::ReportBlock rb2; in TEST()
468 rtcp::ReportBlock rb3; in TEST()
474 rtcp::ReportBlock rb4; in TEST()
[all …]
Dreceive_statistics_impl.cc365 std::vector<rtcp::ReportBlock> ReceiveStatisticsImpl::RtcpReportBlocks( in RtcpReportBlocks()
372 std::vector<rtcp::ReportBlock> result; in RtcpReportBlocks()
381 rtcp::ReportBlock& block = result.back(); in RtcpReportBlocks()
Drtcp_receiver.h35 class ReportBlock; variable
154 void HandleReportBlock(const rtcp::ReportBlock& report_block,
Drtcp_transceiver_impl.cc430 std::vector<rtcp::ReportBlock> RtcpTransceiverImpl::CreateReportBlocks( in CreateReportBlocks()
436 std::vector<rtcp::ReportBlock> report_blocks = in CreateReportBlocks()
441 for (rtcp::ReportBlock& report_block : report_blocks) { in CreateReportBlocks()
Drtcp_transceiver_impl.h100 std::vector<rtcp::ReportBlock> CreateReportBlocks(int64_t now_us);
Dreceive_statistics_impl.h109 std::vector<rtcp::ReportBlock> RtcpReportBlocks(size_t max_blocks) override;
/external/webrtc/audio/
Dchannel_send.h52 struct ReportBlock { struct
86 virtual std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const = 0;
Dchannel_send.cc128 std::vector<ReportBlock> GetRemoteRTCPReportBlocks() const override;
744 std::vector<ReportBlock> ChannelSend::GetRemoteRTCPReportBlocks() const { in GetRemoteRTCPReportBlocks()
754 std::vector<ReportBlock> report_blocks; in GetRemoteRTCPReportBlocks()
758 ReportBlock report_block; in GetRemoteRTCPReportBlocks()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.h141 rtcp::ReportBlock NewReportBlock();
311 void VerifyReportBlock(const rtcp::ReportBlock& original_report_block,
312 const rtcp::ReportBlock& logged_report_block);
/external/webrtc/modules/rtp_rtcp/include/
Dreceive_statistics.h35 virtual std::vector<rtcp::ReportBlock> RtcpReportBlocks(
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dlog_simulation.h59 std::map<uint32_t, rtcp::ReportBlock> last_report_blocks_;
Dmain.cc371 auto GetFractionLost = [](const webrtc::rtcp::ReportBlock& block) -> float { in main()
384 auto GetCumulativeLost = [](const webrtc::rtcp::ReportBlock& block) -> float { in main()
399 [](const webrtc::rtcp::ReportBlock& block) -> float { in main()
413 auto DelaySinceLastSr = [](const webrtc::rtcp::ReportBlock& block) -> float { in main()
Danalyzer.h77 rtc::FunctionView<float(const rtcp::ReportBlock&)> fy,

12