Home
last modified time | relevance | path

Searched refs:FramePacketId (Results 1 – 17 of 17) sorted by relevance

/external/openscreen/cast/streaming/
Drtp_packet_parser_unittest.cc42 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()
Drtp_packetizer_unittest.cc66 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()
Drtp_defines.h22 using FramePacketId = uint16_t; variable
26 constexpr FramePacketId kAllPacketsLost = 0xffff;
27 constexpr FramePacketId kMaxAllowedFramePacketId = kAllPacketsLost - 1;
Drtp_packet_parser.h40 FramePacketId packet_id; // Always in the range [0,max_packet_id].
41 FramePacketId max_packet_id;
Dcompound_rtcp_builder_unittest.cc177 {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()
Dcompound_rtcp_parser.cc41 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()
Dreceiver_unittest.cc193 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()
Dframe_collector_unittest.cc112 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()
Dframe_collector.cc75 if (part.packet_id == FramePacketId{0}) { in CollectRtpPacket()
120 PacketNack{frame_.frame_id, static_cast<FramePacketId>(packet_id)}); in GetMissingPackets()
Dsender.cc428 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()
Drtp_packetizer.h42 FramePacketId packet_id,
Drtcp_common.h162 FramePacketId packet_id;
Dsender_unittest.cc457 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()
Drtp_packetizer.cc53 FramePacketId packet_id, in GeneratePacket()
Dreceiver.cc217 if (!last_sender_report_ && part->packet_id == FramePacketId{0}) { in OnReceivedRtpPacket()
240 if (part->packet_id == FramePacketId{0} && in OnReceivedRtpPacket()
Dsender.h203 FramePacketId packet_id{};
Dcompound_rtcp_builder.cc233 const FramePacketId first_packet_id = it->packet_id; in AppendCastFeedbackLossFields()