Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/aec3/
Dreverb_decay_estimator.cc63 float BlockEnergyPeak(rtc::ArrayView<const float> h, int peak_block) { in BlockEnergyPeak() argument
64 RTC_DCHECK_LE((peak_block + 1) * kFftLengthBy2, h.size()); in BlockEnergyPeak()
65 RTC_DCHECK_GE(peak_block, 0); in BlockEnergyPeak()
67 *std::max_element(h.begin() + peak_block * kFftLengthBy2, in BlockEnergyPeak()
68 h.begin() + (peak_block + 1) * kFftLengthBy2, in BlockEnergyPeak()
160 int peak_block) { in EstimateDecay() argument
166 std::min(peak_block + kEarlyReverbMinSizeBlocks, filter_length_blocks_); in EstimateDecay()
174 float peak_energy = BlockEnergyPeak(h, peak_block); in EstimateDecay()
202 peak_block + kEarlyReverbMinSizeBlocks + size_early_reverb; in EstimateDecay()
Dreverb_decay_estimator.h43 void EstimateDecay(rtc::ArrayView<const float> filter, int peak_block);