Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c70 WebRtc_Word32 tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local
189 numFIX = WEBRTC_SPL_LSHIFT_W32(WEBRTC_SPL_MUL_16_U16(maxGain, constMaxGain), 6); // Q14 in WebRtcAgc_CalculateGainTable()
190 numFIX -= WEBRTC_SPL_MUL_32_16((WebRtc_Word32)logApprox, diffGain); // Q14 in WebRtcAgc_CalculateGainTable()
195 if (numFIX > (den >> 8)) // |den| is Q8. in WebRtcAgc_CalculateGainTable()
197 zeros = WebRtcSpl_NormW32(numFIX); in WebRtcAgc_CalculateGainTable()
202 numFIX = WEBRTC_SPL_LSHIFT_W32(numFIX, zeros); // Q(14+zeros) in WebRtcAgc_CalculateGainTable()
206 if (numFIX < 0) in WebRtcAgc_CalculateGainTable()
208 numFIX -= WEBRTC_SPL_RSHIFT_W32(tmp32no1, 1); in WebRtcAgc_CalculateGainTable()
211 numFIX += WEBRTC_SPL_RSHIFT_W32(tmp32no1, 1); in WebRtcAgc_CalculateGainTable()
213 y32 = WEBRTC_SPL_DIV(numFIX, tmp32no1); // in Q14 in WebRtcAgc_CalculateGainTable()