/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | payload_splitter_unittest.cc | 167 PacketList packet_list; in TEST() local 168 packet_list.push_back(packet); in TEST() 170 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); in TEST() 171 ASSERT_EQ(2u, packet_list.size()); in TEST() 173 packet = packet_list.front(); in TEST() 178 packet_list.pop_front(); in TEST() 180 packet = packet_list.front(); in TEST() 194 PacketList packet_list; in TEST() local 195 packet_list.push_back(packet); in TEST() 201 packet_list.push_back(packet); in TEST() [all …]
|
D | payload_splitter.cc | 26 int PayloadSplitter::SplitRed(PacketList* packet_list) { in SplitRed() argument 28 PacketList::iterator it = packet_list->begin(); in SplitRed() 29 while (it != packet_list->end()) { in SplitRed() 109 packet_list->splice(it, new_packets, new_packets.begin(), in SplitRed() 117 it = packet_list->erase(it); in SplitRed() 122 int PayloadSplitter::SplitFec(PacketList* packet_list, in SplitFec() argument 124 PacketList::iterator it = packet_list->begin(); in SplitFec() 126 while (it != packet_list->end()) { in SplitFec() 167 packet_list->insert(it, new_packet); in SplitFec() 180 int PayloadSplitter::CheckRedPayloads(PacketList* packet_list, in CheckRedPayloads() argument [all …]
|
D | packet_buffer.cc | 79 int PacketBuffer::InsertPacketList(PacketList* packet_list, in InsertPacketList() argument 84 while (!packet_list->empty()) { in InsertPacketList() 85 Packet* packet = packet_list->front(); in InsertPacketList() 106 packet_list->pop_front(); in InsertPacketList() 112 DeleteAllPackets(packet_list); in InsertPacketList() 242 bool PacketBuffer::DeleteFirstPacket(PacketList* packet_list) { in DeleteFirstPacket() argument 243 if (packet_list->empty()) { in DeleteFirstPacket() 246 Packet* first_packet = packet_list->front(); in DeleteFirstPacket() 249 packet_list->pop_front(); in DeleteFirstPacket() 253 void PacketBuffer::DeleteAllPackets(PacketList* packet_list) { in DeleteAllPackets() argument [all …]
|
D | neteq_impl.cc | 424 PacketList packet_list; in InsertPacketInternal() local 449 packet_list.push_back(packet); in InsertPacketInternal() 491 if (payload_splitter_->SplitRed(&packet_list) != PayloadSplitter::kOK) { in InsertPacketInternal() 492 LOG_FERR1(LS_WARNING, SplitRed, packet_list.size()); in InsertPacketInternal() 493 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 498 payload_splitter_->CheckRedPayloads(&packet_list, *decoder_database_); in InsertPacketInternal() 501 memcpy(&main_header, &packet_list.front()->header, sizeof(main_header)); in InsertPacketInternal() 505 if (decoder_database_->CheckPayloadTypes(packet_list) == in InsertPacketInternal() 507 LOG_FERR1(LS_WARNING, CheckPayloadTypes, packet_list.size()); in InsertPacketInternal() 508 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() [all …]
|
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 | decoder_database_unittest.cc | 149 PacketList packet_list; in TEST() local 155 packet_list.push_back(packet); in TEST() 160 db.CheckPayloadTypes(packet_list)); in TEST() 162 delete packet_list.back(); in TEST() 163 packet_list.pop_back(); // Remove the unknown one. in TEST() 165 EXPECT_EQ(DecoderDatabase::kOK, db.CheckPayloadTypes(packet_list)); in TEST() 168 PacketList::iterator it = packet_list.begin(); in TEST() 169 while (it != packet_list.end()) { in TEST() 170 delete packet_list.front(); in TEST() 171 it = packet_list.erase(it); in TEST()
|
D | packet_buffer.h | 62 virtual int InsertPacketList(PacketList* packet_list, 122 static bool DeleteFirstPacket(PacketList* packet_list); 126 static void DeleteAllPackets(PacketList* packet_list);
|
D | timestamp_scaler.cc | 27 void TimestampScaler::ToInternal(PacketList* packet_list) { in ToInternal() argument 29 for (it = packet_list->begin(); it != packet_list->end(); ++it) { in ToInternal()
|
D | neteq_impl.h | 231 PacketList* packet_list, 241 int Decode(PacketList* packet_list, 248 int DecodeLoop(PacketList* packet_list, 288 int DoRfc3389Cng(PacketList* packet_list, bool play_dtmf) 314 int ExtractPackets(int required_samples, PacketList* packet_list)
|
D | timestamp_scaler_unittest.cc | 208 PacketList packet_list; in TEST() local 209 packet_list.push_back(&packet1); in TEST() 210 packet_list.push_back(&packet2); in TEST() 212 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 | 145 virtual int CheckPayloadTypes(const PacketList& packet_list) const;
|
D | neteq_impl_unittest.cc | 44 int DeletePacketsAndReturnOk(PacketList* packet_list) { in DeletePacketsAndReturnOk() argument 45 PacketBuffer::DeleteAllPackets(packet_list); in DeletePacketsAndReturnOk()
|
/external/chromium_org/third_party/webrtc/modules/pacing/ |
D | paced_sender.cc | 199 paced_sender::PacketList* packet_list = NULL; in SendPacket() local 202 packet_list = high_priority_packets_.get(); in SendPacket() 205 packet_list = normal_priority_packets_.get(); in SendPacket() 208 packet_list = low_priority_packets_.get(); in SendPacket() 211 packet_list->push_back(paced_sender::Packet(ssrc, in SendPacket() 273 paced_sender::PacketList* packet_list; in Process() local 274 while (ShouldSendNextPacket(&packet_list)) { in Process() 275 if (!SendPacketFromList(packet_list)) in Process() 293 bool PacedSender::SendPacketFromList(paced_sender::PacketList* packet_list) in SendPacketFromList() argument 295 paced_sender::Packet packet = GetNextPacketFromList(packet_list); in SendPacketFromList() [all …]
|
/external/chromium_org/third_party/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 | 60 int(const PacketList& packet_list));
|
/external/chromium_org/media/midi/ |
D | midi_manager_mac.cc | 127 void MidiManagerMac::ReadMidiDispatch(const MIDIPacketList* packet_list, in ReadMidiDispatch() argument 138 manager->ReadMidi(source, packet_list); in ReadMidiDispatch() 142 const MIDIPacketList* packet_list) { in ReadMidi() argument 150 for (size_t i = 0; i < packet_list->numPackets; i++) { in ReadMidi() 152 const MIDIPacket &packet = packet_list->packet[i]; in ReadMidi()
|
/external/chromium_org/third_party/webrtc/modules/pacing/include/ |
D | paced_sender.h | 116 bool ShouldSendNextPacket(paced_sender::PacketList** packet_list) 123 bool SendPacketFromList(paced_sender::PacketList* packet_list)
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 76 void ReceivedPackets(const PacketList& packet_list, int* loss_mask, 847 void RtpFecTest::ReceivedPackets(const PacketList& packet_list, int* loss_mask, in ReceivedPackets() argument 854 PacketList::const_iterator packet_list_item = packet_list.begin(); in ReceivedPackets() 856 while (packet_list_item != packet_list.end()) { in ReceivedPackets()
|