Searched refs:RtcpReportBlock (Results 1 – 20 of 20) sorted by relevance
/external/openscreen/cast/streaming/ |
D | rtcp_common.cc | 118 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()
|
D | rtcp_common_unittest.cc | 121 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 …]
|
D | packet_receive_stats_tracker_unittest.cc | 20 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 …]
|
D | rtcp_common.h | 65 struct RtcpReportBlock { struct 66 RtcpReportBlock(); 67 ~RtcpReportBlock(); 129 static absl::optional<RtcpReportBlock> 154 absl::optional<RtcpReportBlock> report_block;
|
D | compound_rtcp_parser.h | 47 virtual void OnReceiverReport(const RtcpReportBlock& receiver_report); 97 absl::optional<RtcpReportBlock>* receiver_report);
|
D | compound_rtcp_builder.h | 73 const RtcpReportBlock& receiver_report); 125 absl::optional<RtcpReportBlock> receiver_report_for_next_packet_;
|
D | compound_rtcp_parser.cc | 95 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()
|
D | mock_compound_rtcp_parser_client.h | 18 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report));
|
D | compound_rtcp_parser_unittest.cc | 91 RtcpReportBlock block; in TEST_F() 102 EXPECT_EQ(RtcpReportBlock::Delay(65536), block.delay_since_last_report); in TEST_F()
|
D | packet_receive_stats_tracker.h | 38 void PopulateNextReport(RtcpReportBlock* report);
|
D | packet_receive_stats_tracker.cc | 55 void PacketReceiveStatsTracker::PopulateNextReport(RtcpReportBlock* report) { in PopulateNextReport()
|
D | compound_rtcp_builder_unittest.cc | 82 RtcpReportBlock original; in TEST_F() 89 original.delay_since_last_report = RtcpReportBlock::Delay(9); in TEST_F() 103 RtcpReportBlock parsed; in TEST_F()
|
D | sender_report_parser.cc | 61 report.report_block = RtcpReportBlock::ParseOne( in Parse()
|
D | sender_unittest.cc | 203 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()
|
D | sender.h | 227 void OnReceiverReport(const RtcpReportBlock& receiver_report) final;
|
D | sender_report_unittest.cc | 129 RtcpReportBlock& report_block = original.report_block.emplace(); in TEST_F()
|
D | compound_rtcp_builder.cc | 41 const RtcpReportBlock& receiver_report) { in IncludeReceiverReportInNextPacket()
|
D | receiver_unittest.cc | 237 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report)); 373 RtcpReportBlock receiver_report; in TEST_F()
|
D | receiver.cc | 319 RtcpReportBlock report; in OnReceivedRtcpPacket()
|
D | sender.cc | 265 void Sender::OnReceiverReport(const RtcpReportBlock& receiver_report) { in OnReceiverReport()
|