Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/ns/
Dns_core.c137 self->priorSpeechProb = 0.5f; // Prior prob for speech/noise. in WebRtcNs_InitCore()
734 self->priorSpeechProb += PRIOR_UPDATE * (indPrior - self->priorSpeechProb); in SpeechNoiseProb()
736 if (self->priorSpeechProb > 1.f) { in SpeechNoiseProb()
737 self->priorSpeechProb = 1.f; in SpeechNoiseProb()
739 if (self->priorSpeechProb < 0.01f) { in SpeechNoiseProb()
740 self->priorSpeechProb = 0.01f; in SpeechNoiseProb()
744 gainPrior = (1.f - self->priorSpeechProb) / (self->priorSpeechProb + 0.0001f); in SpeechNoiseProb()
1341 factor = self->priorSpeechProb * factor1 + in WebRtcNs_ProcessCore()
1342 (1.f - self->priorSpeechProb) * factor2; in WebRtcNs_ProcessCore()
Dnoise_suppression.c58 return self->priorSpeechProb; in WebRtcNs_prior_speech_probability()
Dns_core.h92 float priorSpeechProb; // Prior speech/noise probability. member