Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc36 ForwardErrorCorrection::Packet::Packet() : data(0), ref_count_(0) {} in Packet()
37 ForwardErrorCorrection::Packet::~Packet() = default;
39 int32_t ForwardErrorCorrection::Packet::AddRef() { in AddRef()
43 int32_t ForwardErrorCorrection::Packet::Release() { in Release()
56 bool ForwardErrorCorrection::SortablePacket::LessThan::operator()( in operator ()()
63 ForwardErrorCorrection::ReceivedPacket::ReceivedPacket() = default;
64 ForwardErrorCorrection::ReceivedPacket::~ReceivedPacket() = default;
66 ForwardErrorCorrection::RecoveredPacket::RecoveredPacket() = default;
67 ForwardErrorCorrection::RecoveredPacket::~RecoveredPacket() = default;
69 ForwardErrorCorrection::ProtectedPacket::ProtectedPacket() = default;
[all …]
Dulpfec_receiver_unittest.cc35 using Packet = ForwardErrorCorrection::Packet;
51 : fec_(ForwardErrorCorrection::CreateUlpfec(kMediaSsrc)), in UlpfecReceiverTest()
58 void EncodeFec(const ForwardErrorCorrection::PacketList& media_packets,
60 std::list<ForwardErrorCorrection::Packet*>* fec_packets);
66 ForwardErrorCorrection::PacketList* packets);
89 std::unique_ptr<ForwardErrorCorrection> fec_;
95 const ForwardErrorCorrection::PacketList& media_packets, in EncodeFec()
97 std::list<ForwardErrorCorrection::Packet*>* fec_packets) { in EncodeFec()
115 ForwardErrorCorrection::PacketList* packets) { in PacketizeFrame()
156 ForwardErrorCorrection::PacketList media_packets; in InjectGarbagePacketLength()
[all …]
Dflexfec_receiver.cc49 ForwardErrorCorrection::CreateFlexfec(ssrc, protected_media_ssrc)), in FlexfecReceiver()
71 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in OnRtpPacket()
86 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>
96 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( in AddReceivedPacket()
97 new ForwardErrorCorrection::ReceivedPacket()); in AddReceivedPacket()
110 received_packet->pkt = rtc::scoped_refptr<ForwardErrorCorrection::Packet>( in AddReceivedPacket()
111 new ForwardErrorCorrection::Packet()); in AddReceivedPacket()
124 received_packet->pkt = rtc::scoped_refptr<ForwardErrorCorrection::Packet>( in AddReceivedPacket()
125 new ForwardErrorCorrection::Packet()); in AddReceivedPacket()
146 const ForwardErrorCorrection::ReceivedPacket& received_packet) { in ProcessReceivedPacket()
[all …]
Dfec_test_helper.h24 struct AugmentedPacket : public ForwardErrorCorrection::Packet {
42 ForwardErrorCorrection::PacketList ConstructMediaPackets(
45 ForwardErrorCorrection::PacketList ConstructMediaPackets(
56 ForwardErrorCorrection::PacketList media_packets_;
95 const ForwardErrorCorrection::Packet& packet);
118 const ForwardErrorCorrection::Packet& packet);
Dforward_error_correction.h38 class ForwardErrorCorrection {
116 rtc::scoped_refptr<ForwardErrorCorrection::Packet> pkt;
141 rtc::scoped_refptr<ForwardErrorCorrection::Packet> pkt;
148 ~ForwardErrorCorrection();
151 static std::unique_ptr<ForwardErrorCorrection> CreateUlpfec(uint32_t ssrc);
152 static std::unique_ptr<ForwardErrorCorrection> CreateFlexfec(
242 ForwardErrorCorrection(std::unique_ptr<FecHeaderReader> fec_header_reader,
367 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const = 0;
405 ForwardErrorCorrection::Packet* fec_packet) const = 0;
Dfec_test_helper.cc45 ForwardErrorCorrection::PacketList MediaPacketGenerator::ConstructMediaPackets( in ConstructMediaPackets()
52 ForwardErrorCorrection::PacketList media_packets; in ConstructMediaPackets()
55 std::unique_ptr<ForwardErrorCorrection::Packet> media_packet( in ConstructMediaPackets()
56 new ForwardErrorCorrection::Packet()); in ConstructMediaPackets()
89 ForwardErrorCorrection::Packet* media_packet = media_packets.back().get(); in ConstructMediaPackets()
98 ForwardErrorCorrection::PacketList MediaPacketGenerator::ConstructMediaPackets( in ConstructMediaPackets()
160 const ForwardErrorCorrection::Packet& packet) { in BuildFlexfecPacket()
206 const ForwardErrorCorrection::Packet& packet) { in BuildUlpfecRedPacket()
Dulpfec_receiver_impl.cc37 fec_(ForwardErrorCorrection::CreateUlpfec(ssrc_)) {} in UlpfecReceiverImpl()
101 std::make_unique<ForwardErrorCorrection::ReceivedPacket>(); in AddReceivedRedPacket()
102 received_packet->pkt = new ForwardErrorCorrection::Packet(); in AddReceivedRedPacket()
162 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>> in ProcessReceivedFec()
169 ForwardErrorCorrection::Packet* packet = received_packet->pkt; in ProcessReceivedFec()
205 ForwardErrorCorrection::Packet* packet = recovered_packet->pkt; in ProcessReceivedFec()
Drtp_fec_unittest.cc36 void DeepCopyEveryNthPacket(const ForwardErrorCorrection::PacketList& src, in DeepCopyEveryNthPacket()
38 ForwardErrorCorrection::PacketList* dst) { in DeepCopyEveryNthPacket()
43 dst->emplace_back(new ForwardErrorCorrection::Packet(*packet)); in DeepCopyEveryNthPacket()
88 ForwardErrorCorrection::PacketList media_packets_;
89 std::list<ForwardErrorCorrection::Packet*> generated_fec_packets_;
90 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>>
92 ForwardErrorCorrection::RecoveredPacketList recovered_packets_;
120 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( in ReceivedPackets()
121 new ForwardErrorCorrection::ReceivedPacket()); in ReceivedPackets()
122 received_packet->pkt = new ForwardErrorCorrection::Packet(); in ReceivedPackets()
[all …]
Dulpfec_generator.h72 UlpfecGenerator(std::unique_ptr<ForwardErrorCorrection> fec, Clock* clock);
102 const std::unique_ptr<ForwardErrorCorrection> fec_
104 ForwardErrorCorrection::PacketList media_packets_
108 std::list<ForwardErrorCorrection::Packet*> generated_fec_packets_
Dulpfec_receiver_impl.h49 std::unique_ptr<ForwardErrorCorrection> fec_;
54 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>>
56 ForwardErrorCorrection::RecoveredPacketList recovered_packets_;
Dflexfec_receiver_unittest.cc32 using Packet = ForwardErrorCorrection::Packet;
33 using PacketList = ForwardErrorCorrection::PacketList;
66 ForwardErrorCorrection::CreateFlexfec(kFlexfecSsrc, kMediaSsrc)), in FlexfecReceiverTest()
79 std::unique_ptr<ForwardErrorCorrection> erasure_code_;
117 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
133 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
154 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
191 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
208 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
218 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet = in TEST_F()
Dflexfec_header_reader_writer.h65 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const override;
83 ForwardErrorCorrection::Packet* fec_packet) const override;
Dulpfec_header_reader_writer.h46 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const override;
64 ForwardErrorCorrection::Packet* fec_packet) const override;
Dulpfec_generator.cc77 fec_(ForwardErrorCorrection::CreateUlpfec(kUnknownSsrc)), in UlpfecGenerator()
84 UlpfecGenerator::UlpfecGenerator(std::unique_ptr<ForwardErrorCorrection> fec, in UlpfecGenerator()
135 auto fec_packet = std::make_unique<ForwardErrorCorrection::Packet>(); in AddPacketAndGenerateFec()
Dulpfec_header_reader_writer.cc59 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const { in ReadFecHeader()
110 ForwardErrorCorrection::Packet* fec_packet) const { in FinalizeFecHeader()
Dflexfec_header_reader_writer.cc82 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const { in ReadFecHeader()
251 ForwardErrorCorrection::Packet* fec_packet) const { in FinalizeFecHeader()
Dulpfec_header_reader_writer_unittest.cc30 using Packet = ForwardErrorCorrection::Packet;
31 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
Dflexfec_sender.cc94 ForwardErrorCorrection::CreateFlexfec(ssrc, protected_media_ssrc), in FlexfecSender()
Dflexfec_header_reader_writer_unittest.cc31 using Packet = ForwardErrorCorrection::Packet;
32 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
/external/webrtc/test/fuzzers/
Dforward_error_correction_fuzzer.cc33 std::unique_ptr<ForwardErrorCorrection> fec = in FuzzOneInput()
34 ForwardErrorCorrection::CreateFlexfec(kFecSsrc, kMediaSsrc); in FuzzOneInput()
49 ForwardErrorCorrection::RecoveredPacketList recovered_packets; in FuzzOneInput()
55 ForwardErrorCorrection::RecoveredPacket* recovered_packet = in FuzzOneInput()
56 new ForwardErrorCorrection::RecoveredPacket(); in FuzzOneInput()
57 recovered_packet->pkt = rtc::scoped_refptr<ForwardErrorCorrection::Packet>( in FuzzOneInput()
58 new ForwardErrorCorrection::Packet()); in FuzzOneInput()
67 ForwardErrorCorrection::ReceivedPacket received_packet; in FuzzOneInput()
68 received_packet.pkt = rtc::scoped_refptr<ForwardErrorCorrection::Packet>( in FuzzOneInput()
69 new ForwardErrorCorrection::Packet()); in FuzzOneInput()
Dulpfec_header_reader_fuzzer.cc20 using Packet = ForwardErrorCorrection::Packet;
21 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
Dflexfec_header_reader_fuzzer.cc20 using Packet = ForwardErrorCorrection::Packet;
21 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc38 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>>* in ReceivePackets()
40 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>>* in ReceivePackets()
65 ForwardErrorCorrection::ReceivedPacket* received_packet = in ReceivePackets()
69 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> duplicate_packet( in ReceivePackets()
70 new ForwardErrorCorrection::ReceivedPacket()); in ReceivePackets()
72 duplicate_packet->pkt = new ForwardErrorCorrection::Packet(); in ReceivePackets()
104 ForwardErrorCorrection::PacketList media_packet_list; in RunTest()
105 std::list<ForwardErrorCorrection::Packet*> fec_packet_list; in RunTest()
106 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>> in RunTest()
108 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>> in RunTest()
[all …]
/external/webrtc/modules/rtp_rtcp/include/
Dflexfec_receiver.h50 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> AddReceivedPacket(
53 const ForwardErrorCorrection::ReceivedPacket& received_packet);
61 std::unique_ptr<ForwardErrorCorrection> erasure_code_
63 ForwardErrorCorrection::RecoveredPacketList recovered_packets_