Searched refs:diffGain (Results 1 – 1 of 1) sorted by relevance
80 int16_t constLinApprox, zeroGainLvl, maxGain, diffGain; in WebRtcAgc_CalculateGainTable() local108 diffGain = WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()109 if (diffGain < 0 || diffGain >= kGenFuncTableSize) in WebRtcAgc_CalculateGainTable()126 constMaxGain = kGenFuncTable[diffGain]; // in Q8 in WebRtcAgc_CalculateGainTable()146 inLevel = ((int32_t)diffGain << 14) - inLevel; // Q14 in WebRtcAgc_CalculateGainTable()189 numFIX -= (int32_t)logApprox * diffGain; // Q14 in WebRtcAgc_CalculateGainTable()