Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c346 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()
Ddigital_agc.h30 int16_t logRatio; // log( P(active) / P(inactive) ) (Q10) member
Danalog_agc.c1199 stt->vadMic.logRatio, in WebRtcAgc_Process()