Searched refs:logRatio (Results 1 – 3 of 3) sorted by relevance
362 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()
30 WebRtc_Word16 logRatio; // log( P(active) / P(inactive) ) (Q10) member
1357 stt->vadMic.logRatio, echo, saturationWarning) == -1) in WebRtcAgc_Process()