/external/openscreen/cast/streaming/ |
D | rtp_packet_parser_unittest.cc | 42 EXPECT_EQ(FramePacketId{0x0a0b}, result->packet_id); in TEST() 43 EXPECT_EQ(FramePacketId{0x0a0c}, result->max_packet_id); in TEST() 79 EXPECT_EQ(FramePacketId{0x000b}, result->packet_id); in TEST() 80 EXPECT_EQ(FramePacketId{0x000c}, result->max_packet_id); in TEST() 117 EXPECT_EQ(FramePacketId{0x000b}, result->packet_id); in TEST() 118 EXPECT_EQ(FramePacketId{0x000c}, result->max_packet_id); in TEST() 155 EXPECT_EQ(FramePacketId{0x0000}, result->packet_id); in TEST() 156 EXPECT_EQ(FramePacketId{0x000c}, result->max_packet_id); in TEST() 196 EXPECT_EQ(FramePacketId{0x000b}, result->packet_id); in TEST() 197 EXPECT_EQ(FramePacketId{0x000c}, result->max_packet_id); in TEST()
|
D | rtp_packetizer_unittest.cc | 66 FramePacketId packet_id) { in TestGeneratePacket() 93 EXPECT_EQ(static_cast<FramePacketId>(num_packets - 1), in TestGeneratePacket() 107 if (packet_id == FramePacketId{0}) { in TestGeneratePacket() 155 TestGeneratePacket(frame, static_cast<FramePacketId>(j)); in TEST_F() 173 TestGeneratePacket(frame, static_cast<FramePacketId>(i)); in TEST_F() 188 TestGeneratePacket(frame, FramePacketId{0}); in TEST_F() 203 TestGeneratePacket(frame, FramePacketId{3}); in TEST_F()
|
D | rtp_defines.h | 22 using FramePacketId = uint16_t; variable 26 constexpr FramePacketId kAllPacketsLost = 0xffff; 27 constexpr FramePacketId kMaxAllowedFramePacketId = kAllPacketsLost - 1;
|
D | rtp_packet_parser.h | 40 FramePacketId packet_id; // Always in the range [0,max_packet_id]. 41 FramePacketId max_packet_id;
|
D | compound_rtcp_builder_unittest.cc | 177 {FrameId::first() + 16, FramePacketId{0}}, in TEST_F() 178 {FrameId::first() + 16, FramePacketId{1}}, in TEST_F() 179 {FrameId::first() + 16, FramePacketId{2}}, in TEST_F() 180 {FrameId::first() + 16, FramePacketId{7}}, in TEST_F() 181 {FrameId::first() + 16, FramePacketId{15}}, in TEST_F() 182 {FrameId::first() + 17, FramePacketId{19}}, in TEST_F() 279 nacks.push_back(PacketNack{f, FramePacketId{0}}); in TEST_F()
|
D | compound_rtcp_parser.cc | 41 static_assert(static_cast<FramePacketId>(kAllPacketsLost + 1) < in CanonicalizePacketNackVector() 42 FramePacketId{0x0000 + 1}, in CanonicalizePacketNackVector() 45 static_cast<FramePacketId>(a.packet_id + 1)} < in CanonicalizePacketNackVector() 47 static_cast<FramePacketId>(b.packet_id + 1)}; in CanonicalizePacketNackVector() 259 FramePacketId packet_id = ConsumeField<uint16_t>(&in); in ParseFeedback()
|
D | receiver_unittest.cc | 193 std::vector<FramePacketId> GetAllPacketIds(int permutation) { in GetAllPacketIds() 197 std::vector<FramePacketId> ids; in GetAllPacketIds() 199 const FramePacketId last_packet_id = in GetAllPacketIds() 200 static_cast<FramePacketId>(num_packets - 1); in GetAllPacketIds() 201 for (FramePacketId packet_id = 0; packet_id <= last_packet_id; in GetAllPacketIds() 212 void SendRtpPackets(const std::vector<FramePacketId>& packets_to_send) { in SendRtpPackets() 214 for (FramePacketId packet_id : packets_to_send) { in SendRtpPackets() 780 sender()->SendRtpPackets({FramePacketId{1}}); in TEST_F() 813 sender()->SendRtpPackets({FramePacketId{0}}); in TEST_F() 830 sender()->SendRtpPackets({FramePacketId{0}}); in TEST_F()
|
D | frame_collector_unittest.cc | 112 PacketNack{kSomeFrameId, static_cast<FramePacketId>(i)}); in TEST() 116 constexpr FramePacketId kPacketIds[] = {2, 0, 1, 2, 4, 3, 5, 5, 5, 0}; in TEST() 117 for (FramePacketId packet_id : kPacketIds) { in TEST()
|
D | frame_collector.cc | 75 if (part.packet_id == FramePacketId{0}) { in CollectRtpPacket() 120 PacketNack{frame_.frame_id, static_cast<FramePacketId>(packet_id)}); in GetMissingPackets()
|
D | sender.cc | 428 const auto HandleIndividualNack = [&](FramePacketId packet_id) { in OnReceiverIsMissingPackets() 434 const FramePacketId range_end = slot->packet_sent_times.size(); in OnReceiverIsMissingPackets() 436 for (FramePacketId packet_id = 0; packet_id < range_end; ++packet_id) { in OnReceiverIsMissingPackets() 467 const FramePacketId packet_id = slot->send_flags.FindFirstSet(); in ChooseNextRtpPacketNeedingSend()
|
D | rtp_packetizer.h | 42 FramePacketId packet_id,
|
D | rtcp_common.h | 162 FramePacketId packet_id;
|
D | sender_unittest.cc | 457 std::set<std::pair<FrameId, FramePacketId>> received_packets; in TEST_F() 461 std::pair<FrameId, FramePacketId> id(parsed_packet.frame_id, in TEST_F() 947 std::set<std::pair<FrameId, FramePacketId>> unique_received_packet_ids; in TEST_F() 987 {FrameId::first(), FramePacketId{2}}, in TEST_F() 988 {FrameId::first() + 1, FramePacketId{1}}, in TEST_F() 989 {FrameId::first() + 2, FramePacketId{0}}, in TEST_F()
|
D | rtp_packetizer.cc | 53 FramePacketId packet_id, in GeneratePacket()
|
D | receiver.cc | 217 if (!last_sender_report_ && part->packet_id == FramePacketId{0}) { in OnReceivedRtpPacket() 240 if (part->packet_id == FramePacketId{0} && in OnReceivedRtpPacket()
|
D | sender.h | 203 FramePacketId packet_id{};
|
D | compound_rtcp_builder.cc | 233 const FramePacketId first_packet_id = it->packet_id; in AppendCastFeedbackLossFields()
|