Home
last modified time | relevance | path

Searched refs:PacketNack (Results 1 – 16 of 16) sorted by relevance

/external/openscreen/cast/streaming/
Dcompound_rtcp_parser.cc26 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()
Dframe_collector_unittest.cc30 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()
Drtcp_common.h160 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 {
Dcompound_rtcp_builder_unittest.cc176 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()
Dreceiver_unittest.cc242 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 …]
Dframe_collector.cc104 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()
Dcompound_rtcp_parser.h72 virtual void OnReceiverIsMissingPackets(std::vector<PacketNack> nacks);
103 std::vector<PacketNack>* packet_nacks);
Dcompound_rtcp_builder.h88 void IncludeFeedbackInNextPacket(std::vector<PacketNack> packet_nacks,
126 std::vector<PacketNack> nacks_for_next_packet_;
Dmock_compound_rtcp_parser_client.h23 MOCK_METHOD1(OnReceiverIsMissingPackets, void(std::vector<PacketNack> nacks));
Dframe_collector.h47 void GetMissingPackets(std::vector<PacketNack>* nacks) const;
Dcompound_rtcp_parser_unittest.cc309 const std::vector<PacketNack> kMissingPackets = { in TEST_F()
374 const std::vector<PacketNack> kFrame11Packet3Only = { in TEST_F()
Dsender_unittest.cc211 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()
Dcompound_rtcp_builder.cc46 std::vector<PacketNack> packet_nacks, in IncludeFeedbackInNextPacket()
226 [this](const PacketNack& nack) { in AppendCastFeedbackLossFields()
Dsender.h232 void OnReceiverIsMissingPackets(std::vector<PacketNack> nacks) final;
Dreceiver.cc331 std::vector<PacketNack> packet_nacks; in SendRtcp()
Dsender.cc386 void Sender::OnReceiverIsMissingPackets(std::vector<PacketNack> nacks) { in OnReceiverIsMissingPackets()