Searched refs:PacketBuffer (Results 1 – 14 of 14) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | packet_buffer_unittest.cc | 82 TEST(PacketBuffer, CreateAndDestroy) { in TEST() argument 83 PacketBuffer* buffer = new PacketBuffer(10); // 10 packets. in TEST() 88 TEST(PacketBuffer, InsertPacket) { in TEST() argument 89 PacketBuffer buffer(10); // 10 packets. in TEST() 97 EXPECT_EQ(PacketBuffer::kOK, buffer.NextTimestamp(&next_ts)); in TEST() 109 TEST(PacketBuffer, FlushBuffer) { in TEST() argument 110 PacketBuffer buffer(10); // 10 packets. in TEST() 117 EXPECT_EQ(PacketBuffer::kOK, buffer.InsertPacket(packet)); in TEST() 129 TEST(PacketBuffer, OverfillBuffer) { in TEST() argument 130 PacketBuffer buffer(10); // 10 packets. in TEST() [all …]
|
D | packet_buffer.cc | 40 PacketBuffer::PacketBuffer(size_t max_number_of_packets) in PacketBuffer() function in webrtc::PacketBuffer 44 PacketBuffer::~PacketBuffer() { in ~PacketBuffer() 49 void PacketBuffer::Flush() { in Flush() 53 bool PacketBuffer::Empty() const { in Empty() 57 int PacketBuffer::InsertPacket(Packet* packet) { in InsertPacket() 107 int PacketBuffer::InsertPacketList(PacketList* packet_list, in InsertPacketList() 147 int PacketBuffer::NextTimestamp(uint32_t* next_timestamp) const { in NextTimestamp() 158 int PacketBuffer::NextHigherTimestamp(uint32_t timestamp, in NextHigherTimestamp() 177 const RTPHeader* PacketBuffer::NextRtpHeader() const { in NextRtpHeader() 184 Packet* PacketBuffer::GetNextPacket(size_t* discard_count) { in GetNextPacket() [all …]
|
D | packet_buffer.h | 24 class PacketBuffer { 37 PacketBuffer(size_t max_number_of_packets); 40 virtual ~PacketBuffer(); 151 RTC_DISALLOW_COPY_AND_ASSIGN(PacketBuffer);
|
D | decision_logic.h | 26 class PacketBuffer; variable 40 const PacketBuffer& packet_buffer, 49 const PacketBuffer& packet_buffer, 148 const PacketBuffer& packet_buffer_;
|
D | neteq.cc | 55 PacketBuffer* packet_buffer = new PacketBuffer(config.max_packets_in_buffer); in Create()
|
D | neteq_impl.cc | 63 PacketBuffer* packet_buffer, in NetEqImpl() 544 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 558 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 581 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 585 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 600 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 614 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() 656 if (ret == PacketBuffer::kFlushed) { in InsertPacketInternal() 660 } else if (ret != PacketBuffer::kOK) { in InsertPacketInternal() 661 PacketBuffer::DeleteAllPackets(&packet_list); in InsertPacketInternal() [all …]
|
D | decision_logic.cc | 30 const PacketBuffer& packet_buffer, in Create() 62 const PacketBuffer& packet_buffer, in DecisionLogic()
|
D | neteq_impl.h | 46 class PacketBuffer; variable 69 PacketBuffer* packet_buffer, 352 const rtc::scoped_ptr<PacketBuffer> packet_buffer_ GUARDED_BY(crit_sect_);
|
D | decision_logic_fax.h | 29 const PacketBuffer& packet_buffer, in DecisionLogicFax()
|
D | decision_logic_unittest.cc | 27 PacketBuffer packet_buffer(10); in TEST()
|
D | decision_logic_normal.h | 29 const PacketBuffer& packet_buffer, in DecisionLogicNormal()
|
D | decision_logic_normal.cc | 75 } else if (!PacketBuffer::IsObsoleteTimestamp( in GetDecisionSpecialized()
|
D | neteq_impl_unittest.cc | 50 PacketBuffer::DeleteAllPackets(packet_list); in DeletePacketsAndReturnOk() 51 return PacketBuffer::kOK; in DeletePacketsAndReturnOk() 134 packet_buffer_ = new PacketBuffer(config_.max_packets_in_buffer); in CreateInstance() 222 PacketBuffer* packet_buffer_;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_packet_buffer.h | 20 class MockPacketBuffer : public PacketBuffer { 23 : PacketBuffer(max_number_of_packets) {} in MockPacketBuffer()
|