/external/webrtc/modules/rtp_rtcp/source/ |
D | forward_error_correction.cc | 36 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 …]
|
D | ulpfec_receiver_unittest.cc | 35 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 …]
|
D | flexfec_receiver.cc | 49 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 …]
|
D | fec_test_helper.h | 24 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);
|
D | forward_error_correction.h | 38 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;
|
D | fec_test_helper.cc | 45 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()
|
D | ulpfec_receiver_impl.cc | 37 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()
|
D | rtp_fec_unittest.cc | 36 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 …]
|
D | ulpfec_generator.h | 72 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_
|
D | ulpfec_receiver_impl.h | 49 std::unique_ptr<ForwardErrorCorrection> fec_; 54 std::vector<std::unique_ptr<ForwardErrorCorrection::ReceivedPacket>> 56 ForwardErrorCorrection::RecoveredPacketList recovered_packets_;
|
D | flexfec_receiver_unittest.cc | 32 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()
|
D | flexfec_header_reader_writer.h | 65 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const override; 83 ForwardErrorCorrection::Packet* fec_packet) const override;
|
D | ulpfec_header_reader_writer.h | 46 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const override; 64 ForwardErrorCorrection::Packet* fec_packet) const override;
|
D | ulpfec_generator.cc | 77 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()
|
D | ulpfec_header_reader_writer.cc | 59 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const { in ReadFecHeader() 110 ForwardErrorCorrection::Packet* fec_packet) const { in FinalizeFecHeader()
|
D | flexfec_header_reader_writer.cc | 82 ForwardErrorCorrection::ReceivedFecPacket* fec_packet) const { in ReadFecHeader() 251 ForwardErrorCorrection::Packet* fec_packet) const { in FinalizeFecHeader()
|
D | ulpfec_header_reader_writer_unittest.cc | 30 using Packet = ForwardErrorCorrection::Packet; 31 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
|
D | flexfec_sender.cc | 94 ForwardErrorCorrection::CreateFlexfec(ssrc, protected_media_ssrc), in FlexfecSender()
|
D | flexfec_header_reader_writer_unittest.cc | 31 using Packet = ForwardErrorCorrection::Packet; 32 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
|
/external/webrtc/test/fuzzers/ |
D | forward_error_correction_fuzzer.cc | 33 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()
|
D | ulpfec_header_reader_fuzzer.cc | 20 using Packet = ForwardErrorCorrection::Packet; 21 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
|
D | flexfec_header_reader_fuzzer.cc | 20 using Packet = ForwardErrorCorrection::Packet; 21 using ReceivedFecPacket = ForwardErrorCorrection::ReceivedFecPacket;
|
/external/webrtc/modules/rtp_rtcp/test/testFec/ |
D | test_fec.cc | 38 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/ |
D | flexfec_receiver.h | 50 std::unique_ptr<ForwardErrorCorrection::ReceivedPacket> AddReceivedPacket( 53 const ForwardErrorCorrection::ReceivedPacket& received_packet); 61 std::unique_ptr<ForwardErrorCorrection> erasure_code_ 63 ForwardErrorCorrection::RecoveredPacketList recovered_packets_
|