/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | timestamp_scaler.cc | 27 void TimestampScaler::ToInternal(PacketList* packet_list) { argument 29 for (it = packet_list->begin(); it != packet_list->end(); ++it) {
|
H A D | decoder_database_unittest.cc | 149 PacketList packet_list; local 155 packet_list.push_back(packet); 160 db.CheckPayloadTypes(packet_list)); 162 delete packet_list.back(); 163 packet_list.pop_back(); // Remove the unknown one. 165 EXPECT_EQ(DecoderDatabase::kOK, db.CheckPayloadTypes(packet_list)); 168 PacketList::iterator it = packet_list.begin(); 169 while (it != packet_list.end()) { 170 delete packet_list.front(); 171 it = packet_list [all...] |
H A D | timestamp_scaler_unittest.cc | 187 // Make sure that the method ToInternal(PacketList* packet_list) is wired up 208 PacketList packet_list; local 209 packet_list.push_back(&packet1); 210 packet_list.push_back(&packet2); 212 scaler.ToInternal(&packet_list);
|
H A D | payload_splitter.cc | 22 // When the first packet in |packet_list| has been processed, the orignal packet 23 // is replaced by the new ones in |new_packets|, so that |packet_list| becomes: 26 int PayloadSplitter::SplitRed(PacketList* packet_list) { argument 28 PacketList::iterator it = packet_list->begin(); 29 while (it != packet_list->end()) { 109 packet_list->splice(it, new_packets, new_packets.begin(), 117 it = packet_list->erase(it); 122 int PayloadSplitter::SplitFec(PacketList* packet_list, argument 124 PacketList::iterator it = packet_list->begin(); 125 // Iterate through all packets in |packet_list| 180 CheckRedPayloads(PacketList* packet_list, const DecoderDatabase& decoder_database) argument 212 SplitAudio(PacketList* packet_list, const DecoderDatabase& decoder_database) argument [all...] |
H A D | packet_buffer.cc | 79 int PacketBuffer::InsertPacketList(PacketList* packet_list, argument 84 while (!packet_list->empty()) { 85 Packet* packet = packet_list->front(); 106 packet_list->pop_front(); 112 DeleteAllPackets(packet_list); 242 bool PacketBuffer::DeleteFirstPacket(PacketList* packet_list) { argument 243 if (packet_list->empty()) { 246 Packet* first_packet = packet_list->front(); 249 packet_list->pop_front(); 253 void PacketBuffer::DeleteAllPackets(PacketList* packet_list) { argument [all...] |
H A D | payload_splitter_unittest.cc | 167 PacketList packet_list; local 168 packet_list.push_back(packet); 170 EXPECT_EQ(PayloadSplitter::kOK, splitter.SplitRed(&packet_list)); 171 ASSERT_EQ(2u, packet_list.size()); 173 packet = packet_list.front(); 178 packet_list.pop_front(); 180 packet = packet_list.front(); 194 PacketList packet_list; local 195 packet_list.push_back(packet); 201 packet_list 234 PacketList packet_list; local 297 PacketList packet_list; local 339 PacketList packet_list; local 359 PacketList packet_list; local 416 PacketList packet_list; local 512 PacketList packet_list; local 591 PacketList packet_list; local 662 PacketList packet_list; local 693 PacketList packet_list; local 723 PacketList packet_list; local [all...] |
H A D | neteq_impl_unittest.cc | 44 int DeletePacketsAndReturnOk(PacketList* packet_list) { argument 45 PacketBuffer::DeleteAllPackets(packet_list);
|
H A D | neteq_impl.cc | 424 PacketList packet_list; local 449 packet_list.push_back(packet); 491 if (payload_splitter_->SplitRed(&packet_list) != PayloadSplitter::kOK) { 492 LOG_FERR1(LS_WARNING, SplitRed, packet_list.size()); 493 PacketBuffer::DeleteAllPackets(&packet_list); 498 payload_splitter_->CheckRedPayloads(&packet_list, *decoder_database_); 501 memcpy(&main_header, &packet_list.front()->header, sizeof(main_header)); 505 if (decoder_database_->CheckPayloadTypes(packet_list) == 507 LOG_FERR1(LS_WARNING, CheckPayloadTypes, packet_list.size()); 508 PacketBuffer::DeleteAllPackets(&packet_list); 675 PacketList packet_list; local 853 GetDecision(Operations* operation, PacketList* packet_list, DtmfEvent* dtmf_event, bool* play_dtmf) argument 1108 Decode(PacketList* packet_list, Operations* operation, int* decoded_length, AudioDecoder::SpeechType* speech_type) argument 1212 DecodeLoop(PacketList* packet_list, Operations* operation, AudioDecoder* decoder, int* decoded_length, AudioDecoder::SpeechType* speech_type) argument 1526 DoRfc3389Cng(PacketList* packet_list, bool play_dtmf) argument 1733 ExtractPackets(int required_samples, PacketList* packet_list) argument [all...] |
/external/chromium_org/media/midi/ |
H A D | midi_manager_mac.cc | 127 void MidiManagerMac::ReadMidiDispatch(const MIDIPacketList* packet_list, argument 138 manager->ReadMidi(source, packet_list); 142 const MIDIPacketList* packet_list) { 150 for (size_t i = 0; i < packet_list->numPackets; i++) { 152 const MIDIPacket &packet = packet_list->packet[i]; 141 ReadMidi(MIDIEndpointRef source, const MIDIPacketList* packet_list) argument
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
H A D | rtp_fec_unittest.cc | 72 // Add packet from |packet_list| to list of received packets, using the 74 // The |packet_list| may be a media packet list (is_fec = false), or a 76 void ReceivedPackets(const PacketList& packet_list, int* loss_mask, 847 void RtpFecTest::ReceivedPackets(const PacketList& packet_list, int* loss_mask, argument 854 PacketList::const_iterator packet_list_item = packet_list.begin(); 856 while (packet_list_item != packet_list.end()) {
|
/external/chromium_org/third_party/webrtc/modules/pacing/ |
H A D | paced_sender.cc | 199 paced_sender::PacketList* packet_list = NULL; local 202 packet_list = high_priority_packets_.get(); 205 packet_list = normal_priority_packets_.get(); 208 packet_list = low_priority_packets_.get(); 211 packet_list->push_back(paced_sender::Packet(ssrc, 273 paced_sender::PacketList* packet_list; local 274 while (ShouldSendNextPacket(&packet_list)) { 275 if (!SendPacketFromList(packet_list)) 293 bool PacedSender::SendPacketFromList(paced_sender::PacketList* packet_list) 295 paced_sender::Packet packet = GetNextPacketFromList(packet_list); 328 ShouldSendNextPacket(paced_sender::PacketList** packet_list) argument [all...] |