Home
last modified time | relevance | path

Searched refs:ForwardErrorCorrection (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc41 ForwardErrorCorrection::ReceivedPacketList* toDecodeList, in ReceivePackets()
42 ForwardErrorCorrection::ReceivedPacketList* receivedPacketList, in ReceivePackets()
50 ForwardErrorCorrection::ReceivedPacketList::iterator it; in ReceivePackets()
63 ForwardErrorCorrection::ReceivedPacket* receivedPacket = *it; in ReceivePackets()
69 ForwardErrorCorrection::ReceivedPacket* duplicatePacket = in ReceivePackets()
70 new ForwardErrorCorrection::ReceivedPacket; in ReceivePackets()
72 duplicatePacket->pkt = new ForwardErrorCorrection::Packet; in ReceivePackets()
107 ForwardErrorCorrection fec; in TEST()
108 ForwardErrorCorrection::PacketList mediaPacketList; in TEST()
109 ForwardErrorCorrection::PacketList fecPacketList; in TEST()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc39 enum { kMaxFecPackets = ForwardErrorCorrection::kMaxMediaPackets };
41 int32_t ForwardErrorCorrection::Packet::AddRef() { in AddRef()
45 int32_t ForwardErrorCorrection::Packet::Release() { in Release()
56 class ProtectedPacket : public ForwardErrorCorrection::SortablePacket {
58 rtc::scoped_refptr<ForwardErrorCorrection::Packet> pkt;
67 class FecPacket : public ForwardErrorCorrection::SortablePacket {
71 rtc::scoped_refptr<ForwardErrorCorrection::Packet> pkt;
74 bool ForwardErrorCorrection::SortablePacket::LessThan( in LessThan()
80 ForwardErrorCorrection::ReceivedPacket::ReceivedPacket() {} in ReceivedPacket()
81 ForwardErrorCorrection::ReceivedPacket::~ReceivedPacket() {} in ~ReceivedPacket()
[all …]
Dfec_receiver_impl.cc31 fec_(new ForwardErrorCorrection()) {} in FecReceiverImpl()
92 rtc::scoped_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( in AddReceivedRedPacket()
93 new ForwardErrorCorrection::ReceivedPacket); in AddReceivedRedPacket()
94 received_packet->pkt = new ForwardErrorCorrection::Packet; in AddReceivedRedPacket()
140 rtc::scoped_ptr<ForwardErrorCorrection::ReceivedPacket> in AddReceivedRedPacket()
163 second_received_packet.reset(new ForwardErrorCorrection::ReceivedPacket); in AddReceivedRedPacket()
164 second_received_packet->pkt = new ForwardErrorCorrection::Packet; in AddReceivedRedPacket()
226 ForwardErrorCorrection::Packet* packet = in ProcessReceivedFec()
242 ForwardErrorCorrection::RecoveredPacketList::iterator it = in ProcessReceivedFec()
247 ForwardErrorCorrection::Packet* packet = (*it)->pkt; in ProcessReceivedFec()
Dproducer_fec.cc37 ForwardErrorCorrection::Packet* pkt;
86 ProducerFec::ProducerFec(ForwardErrorCorrection* fec) in ProducerFec()
108 static_cast<int>(ForwardErrorCorrection::kMaxMediaPackets)) { in SetFecParameters()
110 ForwardErrorCorrection::kMaxMediaPackets; in SetFecParameters()
145 if (media_packets_fec_.size() < ForwardErrorCorrection::kMaxMediaPackets) { in AddRtpPacketAndGenerateFec()
147 ForwardErrorCorrection::Packet* packet = new ForwardErrorCorrection::Packet; in AddRtpPacketAndGenerateFec()
164 static_cast<int>(ForwardErrorCorrection::kMaxMediaPackets)); in AddRtpPacketAndGenerateFec()
225 ForwardErrorCorrection::Packet* packet_to_send = fec_packets_.front(); in GetFecPackets()
226 ForwardErrorCorrection::Packet* last_media_packet = in GetFecPackets()
Drtp_fec_unittest.cc18 using webrtc::ForwardErrorCorrection;
27 const uint8_t kMaxNumberMediaPackets = ForwardErrorCorrection::kMaxMediaPackets;
29 typedef std::list<ForwardErrorCorrection::Packet*> PacketList;
30 typedef std::list<ForwardErrorCorrection::ReceivedPacket*> ReceivedPacketList;
31 typedef std::list<ForwardErrorCorrection::RecoveredPacket*> RecoveredPacketList;
46 fec_(new ForwardErrorCorrection()), in RtpFecTest()
51 ForwardErrorCorrection* fec_;
819 ForwardErrorCorrection::Packet* media_packet; in IsRecoveryComplete()
820 ForwardErrorCorrection::RecoveredPacket* recovered_packet; in IsRecoveryComplete()
854 ForwardErrorCorrection::Packet* packet; in ReceivedPackets()
[all …]
Dproducer_fec.h43 explicit ProducerFec(ForwardErrorCorrection* fec);
76 ForwardErrorCorrection* fec_;
77 std::list<ForwardErrorCorrection::Packet*> media_packets_fec_;
78 std::list<ForwardErrorCorrection::Packet*> fec_packets_;
Dfec_receiver_impl.h43 ForwardErrorCorrection* fec_;
47 ForwardErrorCorrection::ReceivedPacketList received_packet_list_;
48 ForwardErrorCorrection::RecoveredPacketList recovered_packet_list_;
Dforward_error_correction.h31 class ForwardErrorCorrection {
120 ForwardErrorCorrection();
122 virtual ~ForwardErrorCorrection();
Dproducer_fec_unittest.cc44 fec_ = new ForwardErrorCorrection(); in SetUp()
54 ForwardErrorCorrection* fec_;
Dfec_test_helper.h23 typedef ForwardErrorCorrection::Packet Packet;
Drtp_sender_video.cc34 ForwardErrorCorrection::Packet* pkt;
210 return ForwardErrorCorrection::PacketOverhead() + REDForFECHeaderLength + in FECPacketOverhead()
Drtp_sender_video.h113 ForwardErrorCorrection fec_;
Dfec_receiver_unittest.cc35 fec_.reset(new ForwardErrorCorrection()); in SetUp()
92 rtc::scoped_ptr<ForwardErrorCorrection> fec_;
/external/webrtc/webrtc/test/fuzzers/
Dproducer_fec_fuzzer.cc18 ForwardErrorCorrection fec; in FuzzOneInput()