Home
last modified time | relevance | path

Searched refs:recovered_packet (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc365 for (const auto& recovered_packet : *recovered_packets) { in InsertMediaPacket()
366 RTC_DCHECK_EQ(recovered_packet->ssrc, received_packet.ssrc); in InsertMediaPacket()
367 if (recovered_packet->seq_num == received_packet.seq_num) { in InsertMediaPacket()
373 std::unique_ptr<RecoveredPacket> recovered_packet(new RecoveredPacket()); in InsertMediaPacket() local
375 recovered_packet->was_recovered = false; in InsertMediaPacket()
377 recovered_packet->returned = true; in InsertMediaPacket()
378 recovered_packet->ssrc = received_packet.ssrc; in InsertMediaPacket()
379 recovered_packet->seq_num = received_packet.seq_num; in InsertMediaPacket()
380 recovered_packet->pkt = received_packet.pkt; in InsertMediaPacket()
383 RecoveredPacket* recovered_packet_ptr = recovered_packet.get(); in InsertMediaPacket()
[all …]
Dflexfec_receiver.cc153 for (const auto& recovered_packet : recovered_packets_) { in ProcessReceivedPacket() local
154 RTC_CHECK(recovered_packet); in ProcessReceivedPacket()
155 if (recovered_packet->returned) { in ProcessReceivedPacket()
161 recovered_packet->returned = true; in ProcessReceivedPacket()
162 RTC_CHECK_GT(recovered_packet->pkt->data.size(), 0); in ProcessReceivedPacket()
164 recovered_packet->pkt->data.cdata(), in ProcessReceivedPacket()
165 recovered_packet->pkt->data.size()); in ProcessReceivedPacket()
170 ForwardErrorCorrection::ParseSsrc(recovered_packet->pkt->data.data()); in ProcessReceivedPacket()
Dulpfec_receiver_impl.cc200 for (const auto& recovered_packet : recovered_packets_) { in ProcessReceivedFec() local
201 if (recovered_packet->returned) { in ProcessReceivedFec()
205 ForwardErrorCorrection::Packet* packet = recovered_packet->pkt; in ProcessReceivedFec()
209 recovered_packet->returned = true; in ProcessReceivedFec()
Dforward_error_correction.h299 RecoveredPacket* recovered_packet);
317 RecoveredPacket* recovered_packet);
321 RecoveredPacket* recovered_packet);
Drtp_fec_unittest.cc156 recovered_packet) { in IsRecoveryComplete() argument
157 if (media_packet->data.size() != recovered_packet->pkt->data.size()) { in IsRecoveryComplete()
161 recovered_packet->pkt->data.cdata(), in IsRecoveryComplete()
/external/webrtc/test/fuzzers/
Dforward_error_correction_fuzzer.cc55 ForwardErrorCorrection::RecoveredPacket* recovered_packet = in FuzzOneInput() local
57 recovered_packet->pkt = rtc::scoped_refptr<ForwardErrorCorrection::Packet>( in FuzzOneInput()
59 recovered_packet->pkt->data.SetSize(kPacketSize); in FuzzOneInput()
60 memset(recovered_packet->pkt->data.data(), 0, kPacketSize); in FuzzOneInput()
61 recovered_packet->ssrc = kMediaSsrc; in FuzzOneInput()
62 recovered_packet->seq_num = media_seqnum++; in FuzzOneInput()
63 recovered_packets.emplace_back(recovered_packet); in FuzzOneInput()
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc418 ForwardErrorCorrection::RecoveredPacket* recovered_packet = in RunTest() local
421 ASSERT_EQ(recovered_packet->pkt->data.size(), in RunTest()
425 ASSERT_EQ(0, memcmp(recovered_packet->pkt->data.cdata(), in RunTest()