Searched refs:kCompRatio (Results 1 – 1 of 1) sorted by relevance
76 const int16_t kCompRatio = 3; in WebRtcAgc_CalculateGainTable() local90 tmp32no1 = (digCompGaindB - analogTarget) * (kCompRatio - 1); in WebRtcAgc_CalculateGainTable()92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()94 tmp32no1 = maxGain * kCompRatio; in WebRtcAgc_CalculateGainTable()96 zeroGainLvl -= WebRtcSpl_DivW32W16ResW16(tmp32no1 + ((kCompRatio - 1) >> 1), in WebRtcAgc_CalculateGainTable()97 kCompRatio - 1); in WebRtcAgc_CalculateGainTable()107 tmp32no1 = digCompGaindB * (kCompRatio - 1); in WebRtcAgc_CalculateGainTable()108 diffGain = WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()121 tmp16no1 = WebRtcSpl_DivW32W16ResW16(limiterOffset + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()141 tmp16 = (int16_t)((kCompRatio - 1) * (i - 1)); // Q0 in WebRtcAgc_CalculateGainTable()[all …]