Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/aec3/
Dsubband_erle_estimator.cc105 std::array<float, kFftLengthBy2> new_erle; in UpdateBands() local
112 new_erle[k] = accum_spectra_.Y2[ch][k] / accum_spectra_.E2[ch][k]; in UpdateBands()
123 float alpha = new_erle[k] < erle_onsets_[ch][k] ? 0.3f : 0.15f; in UpdateBands()
126 alpha * (new_erle[k] - erle_onsets_[ch][k]), in UpdateBands()
138 if (new_erle[k] < erle_[ch][k]) { in UpdateBands()
142 rtc::SafeClamp(erle_[ch][k] + alpha * (new_erle[k] - erle_[ch][k]), in UpdateBands()
Dsignal_dependent_erle_estimator.cc276 std::array<float, kSubbands> new_erle; in UpdateCorrectionFactors() local
279 new_erle.fill(0.f); in UpdateCorrectionFactors()
283 new_erle[subband] = Y2_subbands[subband] / E2_subbands[subband]; in UpdateCorrectionFactors()
284 RTC_DCHECK_GT(new_erle[subband], 0); in UpdateCorrectionFactors()
293 float alpha = new_erle[subband] > erle_estimators_[ch][idx][subband] in UpdateCorrectionFactors()
298 alpha * (new_erle[subband] - erle_estimators_[ch][idx][subband]); in UpdateCorrectionFactors()
304 float alpha = new_erle[subband] > erle_ref_[ch][subband] in UpdateCorrectionFactors()
309 alpha * (new_erle[subband] - erle_ref_[ch][subband]); in UpdateCorrectionFactors()