Searched refs:PacketNack (Results 1 – 16 of 16) sorted by relevance
/external/openscreen/cast/streaming/ |
D | compound_rtcp_parser.cc | 26 void CanonicalizePacketNackVector(std::vector<PacketNack>* packets) { in CanonicalizePacketNackVector() 34 [](const PacketNack& a, const PacketNack& b) { in CanonicalizePacketNackVector() 44 return PacketNack{a.frame_id, in CanonicalizePacketNackVector() 46 PacketNack{b.frame_id, in CanonicalizePacketNackVector() 99 std::vector<PacketNack> packet_nacks; in Parse() 220 std::vector<PacketNack>* packet_nacks) { in ParseFeedback() 261 packet_nacks->push_back(PacketNack{frame_id, packet_id}); in ParseFeedback() 269 packet_nacks->push_back(PacketNack{frame_id, packet_id}); in ParseFeedback() 376 std::vector<PacketNack> nacks) {} in OnReceiverIsMissingPackets()
|
D | frame_collector_unittest.cc | 30 std::vector<PacketNack> nacks; \ 46 EXPECT_HAS_NACKS((std::vector<PacketNack>{{frame_id, kAllPacketsLost}}), in TEST() 72 EXPECT_HAS_NACKS(std::vector<PacketNack>(), collector); in TEST() 101 EXPECT_HAS_NACKS((std::vector<PacketNack>{{kSomeFrameId, kAllPacketsLost}}), in TEST() 108 std::vector<PacketNack> remaining_nacks; in TEST() 112 PacketNack{kSomeFrameId, static_cast<FramePacketId>(i)}); in TEST() 138 [packet_id](const PacketNack& nack) { in TEST() 147 EXPECT_HAS_NACKS(std::vector<PacketNack>(), collector); in TEST()
|
D | rtcp_common.h | 160 struct PacketNack { struct 168 constexpr bool operator==(const PacketNack& other) const { argument 171 constexpr bool operator!=(const PacketNack& other) const { 174 constexpr bool operator<(const PacketNack& other) const {
|
D | compound_rtcp_builder_unittest.cc | 176 const std::vector<PacketNack> kPacketNacks = { in TEST_F() 277 std::vector<PacketNack> nacks; in TEST_F() 279 nacks.push_back(PacketNack{f, FramePacketId{0}}); in TEST_F() 302 .WillOnce(Invoke([&](std::vector<PacketNack> parsed_nacks) { in TEST_F() 317 std::vector<PacketNack>(nacks.begin(), nacks.begin() + kFewerNackCount), in TEST_F() 334 .WillOnce(Invoke([&](absl::Span<const PacketNack> parsed_nacks) { in TEST_F() 346 std::vector<PacketNack>(nacks.begin(), in TEST_F() 360 .WillOnce(Invoke([&](absl::Span<const PacketNack> parsed_nacks) { in TEST_F()
|
D | receiver_unittest.cc | 242 MOCK_METHOD1(OnReceiverIsMissingPackets, void(std::vector<PacketNack> nacks)); 492 OnReceiverIsMissingPackets(std::vector<PacketNack>({ in TEST_F() 493 PacketNack{FrameId::first(), kAllPacketsLost}, in TEST_F() 494 PacketNack{FrameId::first() + 1, kAllPacketsLost}, in TEST_F() 495 PacketNack{FrameId::first() + 2, kAllPacketsLost}, in TEST_F() 511 OnReceiverIsMissingPackets(std::vector<PacketNack>({ in TEST_F() 512 PacketNack{FrameId::first(), kAllPacketsLost}, in TEST_F() 513 PacketNack{FrameId::first() + 1, kAllPacketsLost}, in TEST_F() 514 PacketNack{FrameId::first() + 2, kAllPacketsLost}, in TEST_F() 530 OnReceiverIsMissingPackets(std::vector<PacketNack>({ in TEST_F() [all …]
|
D | frame_collector.cc | 104 void FrameCollector::GetMissingPackets(std::vector<PacketNack>* nacks) const { in GetMissingPackets() 113 nacks->push_back(PacketNack{frame_.frame_id, kAllPacketsLost}); in GetMissingPackets() 120 PacketNack{frame_.frame_id, static_cast<FramePacketId>(packet_id)}); in GetMissingPackets()
|
D | compound_rtcp_parser.h | 72 virtual void OnReceiverIsMissingPackets(std::vector<PacketNack> nacks); 103 std::vector<PacketNack>* packet_nacks);
|
D | compound_rtcp_builder.h | 88 void IncludeFeedbackInNextPacket(std::vector<PacketNack> packet_nacks, 126 std::vector<PacketNack> nacks_for_next_packet_;
|
D | mock_compound_rtcp_parser_client.h | 23 MOCK_METHOD1(OnReceiverIsMissingPackets, void(std::vector<PacketNack> nacks));
|
D | frame_collector.h | 47 void GetMissingPackets(std::vector<PacketNack>* nacks) const;
|
D | compound_rtcp_parser_unittest.cc | 309 const std::vector<PacketNack> kMissingPackets = { in TEST_F() 374 const std::vector<PacketNack> kFrame11Packet3Only = { in TEST_F()
|
D | sender_unittest.cc | 211 void SetNacksAndAcks(std::vector<PacketNack> packet_nacks, in SetNacksAndAcks() 229 void SetIgnoreList(std::vector<PacketNack> ignore_list) { in SetIgnoreList() 250 [&](const PacketNack& baddie) { in OnReceivedPacket() 320 std::vector<PacketNack> ignore_list_; 986 const std::vector<PacketNack> dropped_packets{ in TEST_F() 1033 PacketNack{packet.frame_id, packet.packet_id}) == in TEST_F() 1068 const std::vector<PacketNack> dropped_packets{ in TEST_F()
|
D | compound_rtcp_builder.cc | 46 std::vector<PacketNack> packet_nacks, in IncludeFeedbackInNextPacket() 226 [this](const PacketNack& nack) { in AppendCastFeedbackLossFields()
|
D | sender.h | 232 void OnReceiverIsMissingPackets(std::vector<PacketNack> nacks) final;
|
D | receiver.cc | 331 std::vector<PacketNack> packet_nacks; in SendRtcp()
|
D | sender.cc | 386 void Sender::OnReceiverIsMissingPackets(std::vector<PacketNack> nacks) { in OnReceiverIsMissingPackets()
|