Home
last modified time | relevance | path

Searched refs:next_pop_idx_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Dtimestamp_map.cc23 next_pop_idx_(0) {} in VCMTimestampMap()
32 if (next_add_idx_ == next_pop_idx_) { in Add()
34 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_; in Add()
40 if (ring_buffer_[next_pop_idx_].timestamp == timestamp) { in Pop()
42 VCMFrameInformation* data = ring_buffer_[next_pop_idx_].data; in Pop()
43 ring_buffer_[next_pop_idx_].data = nullptr; in Pop()
44 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_; in Pop()
46 } else if (IsNewerTimestamp(ring_buffer_[next_pop_idx_].timestamp, in Pop()
53 next_pop_idx_ = (next_pop_idx_ + 1) % capacity_; in Pop()
61 return (next_add_idx_ == next_pop_idx_); in IsEmpty()
Dtimestamp_map.h42 size_t next_pop_idx_; variable