Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_unittest.cc43 void GenerateFEC(std::list<Packet*>* media_packets, in GenerateFEC() argument
46 uint8_t protection_factor = num_fec_packets * 255 / media_packets->size(); in GenerateFEC()
47 EXPECT_EQ(0, fec_->GenerateFEC(*media_packets, protection_factor, in GenerateFEC()
54 std::list<Packet*>* media_packets) { in GenerateFrame() argument
59 media_packets->push_back(media_rtp_packets->back()); in GenerateFrame()
105 std::list<Packet*> media_packets; in TEST_F() local
106 GenerateFrame(2, 0, &media_rtp_packets, &media_packets); in TEST_F()
108 GenerateFEC(&media_packets, &fec_packets, kNumFecPackets); in TEST_F()
123 DeletePackets(&media_packets); in TEST_F()
129 std::list<Packet*> media_packets; in TEST_F() local
[all …]
Dforward_error_correction.cc294 const PacketList& media_packets, uint8_t* packet_mask, int num_mask_bytes, in InsertZerosInBitMasks() argument
297 if (media_packets.size() <= 1) { in InsertZerosInBitMasks()
298 return media_packets.size(); in InsertZerosInBitMasks()
300 int last_seq_num = ParseSequenceNumber(media_packets.back()->data); in InsertZerosInBitMasks()
301 int first_seq_num = ParseSequenceNumber(media_packets.front()->data); in InsertZerosInBitMasks()
304 media_packets.size() + 1; in InsertZerosInBitMasks()
308 return media_packets.size(); 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()
328 for (; it != media_packets.end(); ++it) { in InsertZerosInBitMasks()
Dforward_error_correction.h222 int InsertZerosInBitMasks(const PacketList& media_packets,