/external/webrtc/modules/audio_coding/neteq/ |
D | red_payload_splitter_unittest.cc | 187 PacketList packet_list; in TEST() local 188 packet_list.push_back(CreateRedPayload(2, payload_types, kTimestampOffset)); in TEST() 190 EXPECT_TRUE(splitter.SplitRed(&packet_list)); in TEST() 191 ASSERT_EQ(2u, packet_list.size()); in TEST() 193 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[1], in TEST() 195 packet_list.pop_front(); in TEST() 197 VerifyPacket(packet_list.front(), kPayloadLength, payload_types[0], in TEST() 207 PacketList packet_list; in TEST() local 208 packet_list.push_back(CreateRedPayload(1, payload_types, kTimestampOffset)); in TEST() 215 packet_list.push_back(std::move(packet)); in TEST() [all …]
|
D | red_payload_splitter.cc | 36 bool RedPayloadSplitter::SplitRed(PacketList* packet_list) { in SplitRed() argument 41 PacketList::iterator it = packet_list->begin(); in SplitRed() 42 while (it != packet_list->end()) { in SplitRed() 133 packet_list->splice(it, std::move(new_packets)); in SplitRed() 141 it = packet_list->erase(it); in SplitRed() 147 PacketList* packet_list, in CheckRedPayloads() argument 150 for (auto it = packet_list->begin(); it != packet_list->end(); /* */) { in CheckRedPayloads() 153 it = packet_list->erase(it); in CheckRedPayloads() 167 it = packet_list->erase(it); in CheckRedPayloads()
|
D | neteq_impl.cc | 554 PacketList packet_list; in InsertPacketInternal() local 556 packet_list.push_back([&rtp_header, &payload, &receive_time_ms] { in InsertPacketInternal() 578 timestamp_scaler_->ToInternal(&packet_list); in InsertPacketInternal() 583 uint32_t main_timestamp = packet_list.front().timestamp; in InsertPacketInternal() 584 uint8_t main_payload_type = packet_list.front().payload_type; in InsertPacketInternal() 585 uint16_t main_sequence_number = packet_list.front().sequence_number; in InsertPacketInternal() 614 if (!red_payload_splitter_->SplitRed(&packet_list)) { in InsertPacketInternal() 619 red_payload_splitter_->CheckRedPayloads(&packet_list, *decoder_database_); in InsertPacketInternal() 620 if (packet_list.empty()) { in InsertPacketInternal() 626 if (decoder_database_->CheckPayloadTypes(packet_list) == in InsertPacketInternal() [all …]
|
D | decoder_database_unittest.cc | 154 PacketList packet_list; in TEST() local 160 packet_list.push_back(std::move(packet)); in TEST() 165 db.CheckPayloadTypes(packet_list)); in TEST() 167 packet_list.pop_back(); // Remove the unknown one. in TEST() 169 EXPECT_EQ(DecoderDatabase::kOK, db.CheckPayloadTypes(packet_list)); in TEST() 172 PacketList::iterator it = packet_list.begin(); in TEST() 173 while (it != packet_list.end()) { in TEST() 174 it = packet_list.erase(it); in TEST()
|
D | timestamp_scaler_unittest.cc | 218 PacketList packet_list; in TEST() local 226 packet_list.push_back(std::move(packet1)); in TEST() 227 packet_list.push_back(std::move(packet2)); in TEST() 230 scaler.ToInternal(&packet_list); in TEST() 231 EXPECT_EQ(internal_timestamp, packet_list.front().timestamp); in TEST() 232 packet_list.pop_front(); in TEST() 233 EXPECT_EQ(internal_timestamp + 20, packet_list.front().timestamp); in TEST()
|
D | timestamp_scaler.cc | 30 void TimestampScaler::ToInternal(PacketList* packet_list) { in ToInternal() argument 32 for (it = packet_list->begin(); it != packet_list->end(); ++it) { in ToInternal()
|
D | red_payload_splitter.h | 36 virtual bool SplitRed(PacketList* packet_list); 41 virtual void CheckRedPayloads(PacketList* packet_list,
|
D | packet_buffer.cc | 133 PacketList* packet_list, in InsertPacketList() argument 140 for (auto& packet : *packet_list) { in InsertPacketList() 170 packet_list->clear(); in InsertPacketList() 174 packet_list->clear(); in InsertPacketList()
|
D | neteq_impl.h | 228 PacketList* packet_list, 240 int Decode(PacketList* packet_list, 253 int DecodeLoop(PacketList* packet_list, 296 int DoRfc3389Cng(PacketList* packet_list, bool play_dtmf) 317 int ExtractPackets(size_t required_samples, PacketList* packet_list)
|
D | decoder_database.cc | 291 int DecoderDatabase::CheckPayloadTypes(const PacketList& packet_list) const { in CheckPayloadTypes() 293 for (it = packet_list.begin(); it != packet_list.end(); ++it) { in CheckPayloadTypes()
|
D | timestamp_scaler.h | 45 virtual void ToInternal(PacketList* packet_list);
|
D | packet_buffer.h | 66 PacketList* packet_list,
|
D | decoder_database.h | 200 int CheckPayloadTypes(const PacketList& packet_list) const;
|
D | neteq_impl_unittest.cc | 66 int DeletePacketsAndReturnOk(PacketList* packet_list) { in DeletePacketsAndReturnOk() argument 67 packet_list->clear(); in DeletePacketsAndReturnOk()
|
/external/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_red_payload_splitter.h | 21 MOCK_METHOD(bool, SplitRed, (PacketList * packet_list), (override)); 24 (PacketList * packet_list,
|
D | mock_packet_buffer.h | 33 (PacketList * packet_list,
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_fec_unittest.cc | 78 void ReceivedPackets(const T& packet_list, int* loss_mask, bool is_fec); 111 const PacketListType& packet_list, in ReceivedPackets() argument 118 for (const auto& packet : packet_list) { in ReceivedPackets()
|