Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c65 int16_t analogTarget) // Q0 in WebRtcAgc_CalculateGainTable() argument
90 tmp32no1 = (digCompGaindB - analogTarget) * (kCompRatio - 1); in WebRtcAgc_CalculateGainTable()
91 tmp16no1 = analogTarget - targetLevelDbfs; in WebRtcAgc_CalculateGainTable()
93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable()
98 if ((digCompGaindB <= analogTarget) && (limiterEnable)) in WebRtcAgc_CalculateGainTable()
100 zeroGainLvl += (analogTarget - digCompGaindB + kSoftLimiterLeft); in WebRtcAgc_CalculateGainTable()
118 limiterLvlX = analogTarget - limiterOffset; in WebRtcAgc_CalculateGainTable()
Danalog_agc.c442 stt->analogTarget = DIGITAL_REF_AT_0_COMP_GAIN + tmp16; in WebRtcAgc_UpdateAgcThresholds()
443 if (stt->analogTarget < DIGITAL_REF_AT_0_COMP_GAIN) in WebRtcAgc_UpdateAgcThresholds()
445 stt->analogTarget = DIGITAL_REF_AT_0_COMP_GAIN; in WebRtcAgc_UpdateAgcThresholds()
450 stt->analogTarget = stt->compressionGaindB; in WebRtcAgc_UpdateAgcThresholds()
453 stt->analogTarget += stt->targetIdxOffset; in WebRtcAgc_UpdateAgcThresholds()
1101 stt->analogTarget); in WebRtcAgc_ProcessAnalog()
1273 stt->targetLevelDbfs, stt->limiterEnable, stt->analogTarget) == -1) in WebRtcAgc_set_config()
Ddigital_agc.h78 int16_t analogTarget);
Danalog_agc.h73 int16_t analogTarget; // Digital reference level in ENV scale member