Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c70 int32_t tmp32, tmp32no1, tmp32no2, numFIX, den, y32; in WebRtcAgc_CalculateGainTable() local
188 numFIX = (maxGain * constMaxGain) << 6; // Q14 in WebRtcAgc_CalculateGainTable()
189 numFIX -= (int32_t)logApprox * diffGain; // Q14 in WebRtcAgc_CalculateGainTable()
194 if (numFIX > (den >> 8)) // |den| is Q8. in WebRtcAgc_CalculateGainTable()
196 zeros = WebRtcSpl_NormW32(numFIX); in WebRtcAgc_CalculateGainTable()
201 numFIX <<= zeros; // Q(14+zeros) in WebRtcAgc_CalculateGainTable()
205 if (numFIX < 0) in WebRtcAgc_CalculateGainTable()
207 numFIX -= tmp32no1 / 2; in WebRtcAgc_CalculateGainTable()
210 numFIX += tmp32no1 / 2; in WebRtcAgc_CalculateGainTable()
212 y32 = numFIX / tmp32no1; // in Q14 in WebRtcAgc_CalculateGainTable()