Home
last modified time | relevance | path

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

/external/openscreen/cast/streaming/
Drtcp_common.cc118 RtcpReportBlock::RtcpReportBlock() = default;
119 RtcpReportBlock::~RtcpReportBlock() = default;
121 void RtcpReportBlock::AppendFields(absl::Span<uint8_t>* buffer) const { in AppendFields()
150 void RtcpReportBlock::SetPacketFractionLostNumerator( in SetPacketFractionLostNumerator()
170 void RtcpReportBlock::SetCumulativePacketsLost(int64_t num_apparently_sent, in SetCumulativePacketsLost()
183 void RtcpReportBlock::SetDelaySinceLastReport( in SetDelaySinceLastReport()
208 absl::optional<RtcpReportBlock> RtcpReportBlock::ParseOne( in ParseOne()
216 absl::optional<RtcpReportBlock> result; in ParseOne()
224 RtcpReportBlock& report_block = result.emplace(); in ParseOne()
238 RtcpReportBlock::Delay(ConsumeField<uint32_t>(&buffer)); in ParseOne()
Drtcp_common_unittest.cc121 RtcpReportBlock original; in TEST()
128 original.delay_since_last_report = RtcpReportBlock::Delay(99999); in TEST()
135 EXPECT_FALSE(RtcpReportBlock::ParseOne(buffer, 0, 0).has_value()); in TEST()
136 EXPECT_FALSE(RtcpReportBlock::ParseOne(buffer, 0, kSsrc).has_value()); in TEST()
137 EXPECT_FALSE(RtcpReportBlock::ParseOne(buffer, 1, 0).has_value()); in TEST()
140 const auto parsed = RtcpReportBlock::ParseOne(buffer, 1, kSsrc); in TEST()
159 RtcpReportBlock expected; in TEST()
166 expected.delay_since_last_report = RtcpReportBlock::Delay(99999); in TEST()
172 RtcpReportBlock another; in TEST()
182 expected.delay_since_last_report + RtcpReportBlock::Delay(i - 2); in TEST()
[all …]
Dpacket_receive_stats_tracker_unittest.cc20 RtcpReportBlock GetSentinel() { in GetSentinel()
21 RtcpReportBlock report; in GetSentinel()
29 report.delay_since_last_report = RtcpReportBlock::Delay(-0x3550641); in GetSentinel()
36 const RtcpReportBlock sentinel = GetSentinel(); \
52 const RtcpReportBlock sentinel = GetSentinel(); \
68 RtcpReportBlock report = GetSentinel(); in TEST()
83 RtcpReportBlock report = GetSentinel(); in TEST()
111 RtcpReportBlock report = GetSentinel(); in TEST()
148 RtcpReportBlock report = GetSentinel(); in TEST()
180 RtcpReportBlock report; in TEST()
[all …]
Drtcp_common.h65 struct RtcpReportBlock { struct
66 RtcpReportBlock();
67 ~RtcpReportBlock();
129 static absl::optional<RtcpReportBlock>
154 absl::optional<RtcpReportBlock> report_block;
Dcompound_rtcp_parser.h47 virtual void OnReceiverReport(const RtcpReportBlock& receiver_report);
97 absl::optional<RtcpReportBlock>* receiver_report);
Dcompound_rtcp_builder.h73 const RtcpReportBlock& receiver_report);
125 absl::optional<RtcpReportBlock> receiver_report_for_next_packet_;
Dcompound_rtcp_parser.cc95 absl::optional<RtcpReportBlock> receiver_report; in Parse()
203 absl::optional<RtcpReportBlock>* receiver_report) { in ParseReceiverReport()
208 *receiver_report = RtcpReportBlock::ParseOne(in, num_report_blocks, in ParseReceiverReport()
368 const RtcpReportBlock& receiver_report) {} in OnReceiverReport()
Dmock_compound_rtcp_parser_client.h18 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report));
Dcompound_rtcp_parser_unittest.cc91 RtcpReportBlock block; in TEST_F()
102 EXPECT_EQ(RtcpReportBlock::Delay(65536), block.delay_since_last_report); in TEST_F()
Dpacket_receive_stats_tracker.h38 void PopulateNextReport(RtcpReportBlock* report);
Dpacket_receive_stats_tracker.cc55 void PacketReceiveStatsTracker::PopulateNextReport(RtcpReportBlock* report) { in PopulateNextReport()
Dcompound_rtcp_builder_unittest.cc82 RtcpReportBlock original; in TEST_F()
89 original.delay_since_last_report = RtcpReportBlock::Delay(9); in TEST_F()
103 RtcpReportBlock parsed; in TEST_F()
Dsender_report_parser.cc61 report.report_block = RtcpReportBlock::ParseOne( in Parse()
Dsender_unittest.cc203 RtcpReportBlock::Delay processing_delay) { in SetReceiverReport()
204 RtcpReportBlock receiver_report; in SetReceiverReport()
534 constexpr auto kEpsilon = to_nanoseconds(RtcpReportBlock::Delay(1)); in TEST_F()
577 sender_report_id, std::chrono::duration_cast<RtcpReportBlock::Delay>( in TEST_F()
602 RtcpReportBlock::Delay::zero()); in TEST_F()
Dsender.h227 void OnReceiverReport(const RtcpReportBlock& receiver_report) final;
Dsender_report_unittest.cc129 RtcpReportBlock& report_block = original.report_block.emplace(); in TEST_F()
Dcompound_rtcp_builder.cc41 const RtcpReportBlock& receiver_report) { in IncludeReceiverReportInNextPacket()
Dreceiver_unittest.cc237 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report));
373 RtcpReportBlock receiver_report; in TEST_F()
Dreceiver.cc319 RtcpReportBlock report; in OnReceivedRtcpPacket()
Dsender.cc265 void Sender::OnReceiverReport(const RtcpReportBlock& receiver_report) { in OnReceiverReport()