Home
last modified time | relevance | path

Searched refs:timestamp_limit (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dpacket_buffer.h104 virtual void DiscardOldPackets(uint32_t timestamp_limit,
109 virtual void DiscardAllOldPackets(uint32_t timestamp_limit,
141 uint32_t timestamp_limit, in IsObsoleteTimestamp() argument
143 return IsNewerTimestamp(timestamp_limit, timestamp) && in IsObsoleteTimestamp()
145 IsNewerTimestamp(timestamp, timestamp_limit - horizon_samples)); in IsObsoleteTimestamp()
Dpacket_buffer.cc238 void PacketBuffer::DiscardOldPackets(uint32_t timestamp_limit, in DiscardOldPackets() argument
241 buffer_.remove_if([timestamp_limit, horizon_samples, stats](const Packet& p) { in DiscardOldPackets()
242 if (timestamp_limit == p.timestamp || in DiscardOldPackets()
243 !IsObsoleteTimestamp(p.timestamp, timestamp_limit, horizon_samples)) { in DiscardOldPackets()
251 void PacketBuffer::DiscardAllOldPackets(uint32_t timestamp_limit, in DiscardAllOldPackets() argument
253 DiscardOldPackets(timestamp_limit, 0, stats); in DiscardAllOldPackets()
/external/webrtc/modules/audio_coding/neteq/mock/
Dmock_packet_buffer.h55 (uint32_t timestamp_limit,
61 (uint32_t timestamp_limit, StatisticsCalculator* stats),