Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc38 ForwardErrorCorrection::ReceivedPacketList* toDecodeList, in ReceivePackets()
39 ForwardErrorCorrection::ReceivedPacketList* receivedPacketList, in ReceivePackets()
44 ForwardErrorCorrection::ReceivedPacketList::iterator it; in ReceivePackets()
57 ForwardErrorCorrection::ReceivedPacket* receivedPacket = *it; in ReceivePackets()
63 ForwardErrorCorrection::ReceivedPacket* duplicatePacket = in ReceivePackets()
64 new ForwardErrorCorrection::ReceivedPacket; in ReceivePackets()
66 duplicatePacket->pkt = new ForwardErrorCorrection::Packet; in ReceivePackets()
108 ForwardErrorCorrection fec; in TEST()
109 ForwardErrorCorrection::PacketList mediaPacketList; in TEST()
110 ForwardErrorCorrection::PacketList fecPacketList; in TEST()
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc40 kMaxFecPackets = ForwardErrorCorrection::kMaxMediaPackets
43 int32_t ForwardErrorCorrection::Packet::AddRef() { return ++ref_count_; } in AddRef()
45 int32_t ForwardErrorCorrection::Packet::Release() { in Release()
56 class ProtectedPacket : public ForwardErrorCorrection::SortablePacket {
58 scoped_refptr<ForwardErrorCorrection::Packet> pkt;
67 class FecPacket : public ForwardErrorCorrection::SortablePacket {
71 scoped_refptr<ForwardErrorCorrection::Packet> pkt;
74 bool ForwardErrorCorrection::SortablePacket::LessThan( in LessThan()
79 ForwardErrorCorrection::ReceivedPacket::ReceivedPacket() {} in ReceivedPacket()
80 ForwardErrorCorrection::ReceivedPacket::~ReceivedPacket() {} in ~ReceivedPacket()
[all …]
Dfec_receiver_impl.cc31 fec_(new ForwardErrorCorrection()) {} in FecReceiverImpl()
82 ForwardErrorCorrection::ReceivedPacket* received_packet = in AddReceivedRedPacket()
83 new ForwardErrorCorrection::ReceivedPacket; in AddReceivedRedPacket()
84 received_packet->pkt = new ForwardErrorCorrection::Packet; in AddReceivedRedPacket()
129 ForwardErrorCorrection::ReceivedPacket* second_received_packet = NULL; in AddReceivedRedPacket()
151 second_received_packet = new ForwardErrorCorrection::ReceivedPacket; in AddReceivedRedPacket()
152 second_received_packet->pkt = new ForwardErrorCorrection::Packet; in AddReceivedRedPacket()
214 ForwardErrorCorrection::Packet* packet = in ProcessReceivedFec()
230 ForwardErrorCorrection::RecoveredPacketList::iterator it = in ProcessReceivedFec()
235 ForwardErrorCorrection::Packet* packet = (*it)->pkt; in ProcessReceivedFec()
Dproducer_fec.cc36 ForwardErrorCorrection::Packet* pkt;
84 ProducerFec::ProducerFec(ForwardErrorCorrection* fec) in ProducerFec()
107 static_cast<int>(ForwardErrorCorrection::kMaxMediaPackets)) { in SetFecParameters()
109 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()
219 ForwardErrorCorrection::Packet* packet_to_send = fec_packets_.front(); in GetFecPacket()
220 ForwardErrorCorrection::Packet* last_media_packet = media_packets_fec_.back(); in GetFecPacket()
Dproducer_fec.h42 explicit ProducerFec(ForwardErrorCorrection* fec);
71 ForwardErrorCorrection* fec_;
72 std::list<ForwardErrorCorrection::Packet*> media_packets_fec_;
73 std::list<ForwardErrorCorrection::Packet*> fec_packets_;
Dfec_receiver_impl.h41 ForwardErrorCorrection* fec_;
45 ForwardErrorCorrection::ReceivedPacketList received_packet_list_;
46 ForwardErrorCorrection::RecoveredPacketList recovered_packet_list_;
Drtp_fec_unittest.cc17 using webrtc::ForwardErrorCorrection;
26 const uint8_t kMaxNumberMediaPackets = ForwardErrorCorrection::kMaxMediaPackets;
28 typedef std::list<ForwardErrorCorrection::Packet*> PacketList;
29 typedef std::list<ForwardErrorCorrection::ReceivedPacket*> ReceivedPacketList;
30 typedef std::list<ForwardErrorCorrection::RecoveredPacket*> RecoveredPacketList;
44 : fec_(new ForwardErrorCorrection()), ssrc_(rand()), fec_seq_num_(0) {} in RtpFecTest()
46 ForwardErrorCorrection* fec_;
814 ForwardErrorCorrection::Packet* media_packet; in IsRecoveryComplete()
815 ForwardErrorCorrection::RecoveredPacket* recovered_packet; in IsRecoveryComplete()
849 ForwardErrorCorrection::Packet* packet; in ReceivedPackets()
[all …]
Dforward_error_correction.h31 class ForwardErrorCorrection {
120 ForwardErrorCorrection();
122 virtual ~ForwardErrorCorrection();
Dproducer_fec_unittest.cc42 fec_ = new ForwardErrorCorrection(); in SetUp()
52 ForwardErrorCorrection* fec_;
Dfec_test_helper.h29 typedef ForwardErrorCorrection::Packet Packet;
Drtp_sender_video.h116 ForwardErrorCorrection _fec;
Drtp_sender_video.cc31 ForwardErrorCorrection::Packet* pkt;
252 return ForwardErrorCorrection::PacketOverhead() + REDForFECHeaderLength + in FECPacketOverhead()
Dfec_receiver_unittest.cc32 fec_ = new ForwardErrorCorrection(); in SetUp()
89 ForwardErrorCorrection* fec_;