Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c68 WebRtc_UWord32 tmpU32no1, tmpU32no2, absInLevel, logApprox; in WebRtcAgc_CalculateGainTable() local
150 absInLevel = (WebRtc_UWord32)WEBRTC_SPL_ABS_W32(inLevel); // Q14 in WebRtcAgc_CalculateGainTable()
153 intPart = (WebRtc_UWord16)WEBRTC_SPL_RSHIFT_U32(absInLevel, 14); in WebRtcAgc_CalculateGainTable()
154 fracPart = (WebRtc_UWord16)(absInLevel & 0x00003FFF); // extract the fractional part in WebRtcAgc_CalculateGainTable()
163 zeros = WebRtcSpl_NormU32(absInLevel); in WebRtcAgc_CalculateGainTable()
168 tmpU32no2 = WEBRTC_SPL_RSHIFT_U32(absInLevel, 15 - zeros); // Q(zeros-1) in WebRtcAgc_CalculateGainTable()
180 tmpU32no2 = WEBRTC_SPL_UMUL_32_16(absInLevel, kLogE_1); // Q28 in WebRtcAgc_CalculateGainTable()