Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/ns/
Dnoise_suppressor.cc197 float avg_prob_speech = 0.f; in ComputeUpperBandsGain() local
201 avg_prob_speech += speech_probability[i]; in ComputeUpperBandsGain()
204 avg_prob_speech = avg_prob_speech * kOneByNumAvgBins; in ComputeUpperBandsGain()
221 avg_prob_speech *= sum_processing_spectrum / sum_analysis_spectrum; in ComputeUpperBandsGain()
225 0.5f * (1.f + static_cast<float>(tanh(2.f * avg_prob_speech - 1.f))); in ComputeUpperBandsGain()
228 if (avg_prob_speech >= 0.5f) { in ComputeUpperBandsGain()