Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c76 const WebRtc_Word16 kCompRatio = 3; in WebRtcAgc_CalculateGainTable() local
90 tmp32no1 = WEBRTC_SPL_MUL_16_16(digCompGaindB - analogTarget, kCompRatio - 1); in WebRtcAgc_CalculateGainTable()
92 tmp16no1 += WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()
94 tmp32no1 = WEBRTC_SPL_MUL_16_16(maxGain, kCompRatio); in WebRtcAgc_CalculateGainTable()
96 zeroGainLvl -= WebRtcSpl_DivW32W16ResW16(tmp32no1 + ((kCompRatio - 1) >> 1), in WebRtcAgc_CalculateGainTable()
97 kCompRatio - 1); in WebRtcAgc_CalculateGainTable()
107 tmp32no1 = WEBRTC_SPL_MUL_16_16(digCompGaindB, kCompRatio - 1); in WebRtcAgc_CalculateGainTable()
108 diffGain = WebRtcSpl_DivW32W16ResW16(tmp32no1 + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()
122 tmp16no1 = WebRtcSpl_DivW32W16ResW16(limiterOffset + (kCompRatio >> 1), kCompRatio); in WebRtcAgc_CalculateGainTable()
142 tmp16 = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16(kCompRatio - 1, i - 1); // Q0 in WebRtcAgc_CalculateGainTable()
[all …]