Home
last modified time | relevance | path

Searched refs:next_insertion_index_ (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/audio_processing/echo_detector/
Dcircular_buffer.cc23 buffer_[next_insertion_index_] = value; in Push()
24 ++next_insertion_index_; in Push()
25 next_insertion_index_ %= buffer_.size(); in Push()
26 RTC_DCHECK_LT(next_insertion_index_, buffer_.size()); in Push()
36 (buffer_.size() + next_insertion_index_ - nr_elements_in_buffer_) % in Pop()
45 next_insertion_index_ = 0; in Clear()
Dcircular_buffer.h36 size_t next_insertion_index_ = 0; member
/external/webrtc/modules/audio_processing/
Dresidual_echo_detector.cc104 RTC_DCHECK_LT(next_insertion_index_, kLookbackFrames); in AnalyzeCaptureAudio()
105 render_power_[next_insertion_index_] = *buffered_render_power; in AnalyzeCaptureAudio()
106 render_power_mean_[next_insertion_index_] = render_statistics_.mean(); in AnalyzeCaptureAudio()
107 render_power_std_dev_[next_insertion_index_] = in AnalyzeCaptureAudio()
119 size_t read_index = next_insertion_index_; in AnalyzeCaptureAudio()
141 size_t read_index = kLookbackFrames + next_insertion_index_ - best_delay; in AnalyzeCaptureAudio()
178 next_insertion_index_ = next_insertion_index_ < (kLookbackFrames - 1) in AnalyzeCaptureAudio()
179 ? next_insertion_index_ + 1 in AnalyzeCaptureAudio()
198 next_insertion_index_ = 0; in Initialize()
Dresidual_echo_detector.h75 size_t next_insertion_index_ = 0; variable