Home
last modified time | relevance | path

Searched refs:PacketBuffer (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc82 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 …]
Dpacket_buffer.cc40 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 …]
Dpacket_buffer.h24 class PacketBuffer {
37 PacketBuffer(size_t max_number_of_packets);
40 virtual ~PacketBuffer();
151 RTC_DISALLOW_COPY_AND_ASSIGN(PacketBuffer);
Ddecision_logic.h26 class PacketBuffer; variable
40 const PacketBuffer& packet_buffer,
49 const PacketBuffer& packet_buffer,
148 const PacketBuffer& packet_buffer_;
Dneteq.cc55 PacketBuffer* packet_buffer = new PacketBuffer(config.max_packets_in_buffer); in Create()
Dneteq_impl.cc63 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 …]
Ddecision_logic.cc30 const PacketBuffer& packet_buffer, in Create()
62 const PacketBuffer& packet_buffer, in DecisionLogic()
Dneteq_impl.h46 class PacketBuffer; variable
69 PacketBuffer* packet_buffer,
352 const rtc::scoped_ptr<PacketBuffer> packet_buffer_ GUARDED_BY(crit_sect_);
Ddecision_logic_fax.h29 const PacketBuffer& packet_buffer, in DecisionLogicFax()
Ddecision_logic_unittest.cc27 PacketBuffer packet_buffer(10); in TEST()
Ddecision_logic_normal.h29 const PacketBuffer& packet_buffer, in DecisionLogicNormal()
Ddecision_logic_normal.cc75 } else if (!PacketBuffer::IsObsoleteTimestamp( in GetDecisionSpecialized()
Dneteq_impl_unittest.cc50 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/
Dmock_packet_buffer.h20 class MockPacketBuffer : public PacketBuffer {
23 : PacketBuffer(max_number_of_packets) {} in MockPacketBuffer()