Searched refs:logRatio (Results 1 – 4 of 4) sorted by relevance
346 logratio = (int16_t)((tmp32 - stt->vadFarend.logRatio) >> 2); in WebRtcAgc_ProcessDigital()611 state->logRatio = 0; // log( P(active) / P(inactive) ) in WebRtcAgc_InitVad()756 tmp32b = WEBRTC_SPL_MUL_16_U16(state->logRatio, tmpU16); in WebRtcAgc_ProcessVad()759 state->logRatio = (int16_t)(tmp32 >> 6); in WebRtcAgc_ProcessVad()762 if (state->logRatio > 2048) in WebRtcAgc_ProcessVad()764 state->logRatio = 2048; in WebRtcAgc_ProcessVad()766 if (state->logRatio < -2048) in WebRtcAgc_ProcessVad()768 state->logRatio = -2048; in WebRtcAgc_ProcessVad()771 return state->logRatio; // Q10 in WebRtcAgc_ProcessVad()
30 int16_t logRatio; // log( P(active) / P(inactive) ) (Q10) member
1199 stt->vadMic.logRatio, in WebRtcAgc_Process()
80 logRatio( double val ) in logRatio() function1566 C = err = -logRatio( err ); in update_weights()