/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | payload_splitter_unittest.cc | 172 PacketList packet_list; in TEST() local 173 packet_list.push_back(packet); in TEST() 175 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); in TEST() 176 ASSERT_EQ(2u, packet_list.size()); in TEST() 178 packet = packet_list.front(); in TEST() 183 packet_list.pop_front(); in TEST() 185 packet = packet_list.front(); in TEST() 199 PacketList packet_list; in TEST() local 200 packet_list.push_back(packet); in TEST() 206 packet_list.push_back(packet); in TEST() [all …]
|
D | payload_splitter.cc | 27 int PayloadSplitter::SplitRed(PacketList* packet_list) { in SplitRed() argument 29 PacketList::iterator it = packet_list->begin(); in SplitRed() 30 while (it != packet_list->end()) { in SplitRed() 111 packet_list->splice(it, new_packets, new_packets.begin(), in SplitRed() 119 it = packet_list->erase(it); in SplitRed() 124 int PayloadSplitter::SplitFec(PacketList* packet_list, in SplitFec() argument 126 PacketList::iterator it = packet_list->begin(); in SplitFec() 128 while (it != packet_list->end()) { in SplitFec() 173 packet_list->insert(it, new_packet); in SplitFec() 187 int PayloadSplitter::CheckRedPayloads(PacketList* packet_list, in CheckRedPayloads() argument [all …]
|
D | neteq_impl.cc | 477 PacketList packet_list; in InsertPacketInternal() local 502 packet_list.push_back(packet); in InsertPacketInternal() 543 if (payload_splitter_->SplitRed(&packet_list) != PayloadSplitter::kOK) { in InsertPacketInternal() 544 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 549 payload_splitter_->CheckRedPayloads(&packet_list, *decoder_database_); in InsertPacketInternal() 552 memcpy(&main_header, &packet_list.front()->header, sizeof(main_header)); in InsertPacketInternal() 556 if (decoder_database_->CheckPayloadTypes(packet_list) == in InsertPacketInternal() 558 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 563 timestamp_scaler_->ToInternal(&packet_list); in InsertPacketInternal() 567 PacketList::iterator it = packet_list.begin(); in InsertPacketInternal() [all …]
|
D | packet_buffer.cc | 107 int PacketBuffer::InsertPacketList(PacketList* packet_list, in InsertPacketList() argument 112 while (!packet_list->empty()) { in InsertPacketList() 113 Packet* packet = packet_list->front(); in InsertPacketList() 134 packet_list->pop_front(); in InsertPacketList() 140 DeleteAllPackets(packet_list); in InsertPacketList() 278 bool PacketBuffer::DeleteFirstPacket(PacketList* packet_list) { in DeleteFirstPacket() argument 279 if (packet_list->empty()) { in DeleteFirstPacket() 282 Packet* first_packet = packet_list->front(); in DeleteFirstPacket() 285 packet_list->pop_front(); in DeleteFirstPacket() 289 void PacketBuffer::DeleteAllPackets(PacketList* packet_list) { in DeleteAllPackets() argument [all …]
|
D | decoder_database_unittest.cc | 165 PacketList packet_list; in TEST() local 171 packet_list.push_back(packet); in TEST() 176 db.CheckPayloadTypes(packet_list)); in TEST() 178 delete packet_list.back(); in TEST() 179 packet_list.pop_back(); // Remove the unknown one. in TEST() 181 EXPECT_EQ(DecoderDatabase::kOK, db.CheckPayloadTypes(packet_list)); in TEST() 184 PacketList::iterator it = packet_list.begin(); in TEST() 185 while (it != packet_list.end()) { in TEST() 186 delete packet_list.front(); in TEST() 187 it = packet_list.erase(it); in TEST()
|
D | payload_splitter.h | 49 virtual int SplitRed(PacketList* packet_list); 54 virtual int SplitFec(PacketList* packet_list, 60 virtual int CheckRedPayloads(PacketList* packet_list, 67 virtual int SplitAudio(PacketList* packet_list,
|
D | timestamp_scaler.cc | 31 void TimestampScaler::ToInternal(PacketList* packet_list) { in ToInternal() argument 33 for (it = packet_list->begin(); it != packet_list->end(); ++it) { in ToInternal()
|
D | packet_buffer.h | 62 virtual int InsertPacketList(PacketList* packet_list, 128 static bool DeleteFirstPacket(PacketList* packet_list); 132 static void DeleteAllPackets(PacketList* packet_list);
|
D | neteq_impl.h | 232 PacketList* packet_list, 242 int Decode(PacketList* packet_list, 254 int DecodeLoop(PacketList* packet_list, 295 int DoRfc3389Cng(PacketList* packet_list, bool play_dtmf) 322 int ExtractPackets(size_t required_samples, PacketList* packet_list)
|
D | timestamp_scaler_unittest.cc | 212 PacketList packet_list; in TEST() local 213 packet_list.push_back(&packet1); in TEST() 214 packet_list.push_back(&packet2); in TEST() 216 scaler.ToInternal(&packet_list); in TEST()
|
D | decoder_database.cc | 248 int DecoderDatabase::CheckPayloadTypes(const PacketList& packet_list) const { in CheckPayloadTypes() 250 for (it = packet_list.begin(); it != packet_list.end(); ++it) { in CheckPayloadTypes()
|
D | timestamp_scaler.h | 46 virtual void ToInternal(PacketList* packet_list);
|
D | decoder_database.h | 150 virtual int CheckPayloadTypes(const PacketList& packet_list) const;
|
D | neteq_impl_unittest.cc | 49 int DeletePacketsAndReturnOk(PacketList* packet_list) { in DeletePacketsAndReturnOk() argument 50 PacketBuffer::DeleteAllPackets(packet_list); in DeletePacketsAndReturnOk()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_payload_splitter.h | 23 int(PacketList* packet_list)); 25 int(PacketList* packet_list, DecoderDatabase* decoder_database)); 27 int(PacketList* packet_list, const DecoderDatabase& decoder_database)); 29 int(PacketList* packet_list, const DecoderDatabase& decoder_database));
|
D | mock_packet_buffer.h | 33 int(PacketList* packet_list,
|
D | mock_decoder_database.h | 64 int(const PacketList& packet_list));
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 81 void ReceivedPackets(const PacketList& packet_list, int* loss_mask, 852 void RtpFecTest::ReceivedPackets(const PacketList& packet_list, int* loss_mask, in ReceivedPackets() argument 859 PacketList::const_iterator packet_list_item = packet_list.begin(); in ReceivedPackets() 861 while (packet_list_item != packet_list.end()) { in ReceivedPackets()
|