Home
last modified time | relevance | path

Searched refs:media_packets (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_unittest.cc40 void GenerateFEC(std::list<Packet*>* media_packets, in GenerateFEC() argument
43 uint8_t protection_factor = num_fec_packets * 255 / media_packets->size(); in GenerateFEC()
44 EXPECT_EQ(0, fec_->GenerateFEC(*media_packets, protection_factor, in GenerateFEC()
51 std::list<Packet*>* media_packets) { in GenerateFrame() argument
56 media_packets->push_back(media_rtp_packets->back()); in GenerateFrame()
107 std::list<Packet*> media_packets; in TEST_F() local
108 GenerateFrame(2, 0, &media_rtp_packets, &media_packets); in TEST_F()
110 GenerateFEC(&media_packets, &fec_packets, kNumFecPackets); in TEST_F()
129 DeletePackets(&media_packets); in TEST_F()
138 std::list<Packet*> media_packets; in InjectGarbagePacketLength() local
[all …]
Dforward_error_correction.cc289 const PacketList& media_packets, in InsertZerosInBitMasks() argument
294 if (media_packets.size() <= 1) { in InsertZerosInBitMasks()
295 return media_packets.size(); in InsertZerosInBitMasks()
297 int last_seq_num = ParseSequenceNumber(media_packets.back()->data); in InsertZerosInBitMasks()
298 int first_seq_num = ParseSequenceNumber(media_packets.front()->data); in InsertZerosInBitMasks()
301 media_packets.size() + 1; in InsertZerosInBitMasks()
305 return media_packets.size(); in InsertZerosInBitMasks()
308 if (total_missing_seq_nums + media_packets.size() > 8 * kMaskSizeLBitSet) in InsertZerosInBitMasks()
312 if (media_packets.size() + total_missing_seq_nums > 8 * kMaskSizeLBitClear) { in InsertZerosInBitMasks()
318 PacketList::const_iterator it = media_packets.begin(); in InsertZerosInBitMasks()
[all …]
Dforward_error_correction.h222 int InsertZerosInBitMasks(const PacketList& media_packets,