Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c362 logratio = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32 - stt->vadFarend.logRatio, 2); in WebRtcAgc_ProcessDigital()
641 state->logRatio = 0; // log( P(active) / P(inactive) ) in WebRtcAgc_InitVad()
782 tmp32b = WEBRTC_SPL_MUL_16_U16(state->logRatio, tmpU16); in WebRtcAgc_ProcessVad()
785 state->logRatio = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 6); in WebRtcAgc_ProcessVad()
788 if (state->logRatio > 2048) in WebRtcAgc_ProcessVad()
790 state->logRatio = 2048; in WebRtcAgc_ProcessVad()
792 if (state->logRatio < -2048) in WebRtcAgc_ProcessVad()
794 state->logRatio = -2048; in WebRtcAgc_ProcessVad()
797 return state->logRatio; // Q10 in WebRtcAgc_ProcessVad()
Ddigital_agc.h30 WebRtc_Word16 logRatio; // log( P(active) / P(inactive) ) (Q10) member
Danalog_agc.c1357 stt->vadMic.logRatio, echo, saturationWarning) == -1) in WebRtcAgc_Process()