Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Ddigital_agc.c80 int16_t constLinApprox, zeroGainLvl, maxGain, diffGain; in WebRtcAgc_CalculateGainTable() local
93 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable()
94 tmp32no1 = maxGain * kCompRatio; in WebRtcAgc_CalculateGainTable()
188 numFIX = (maxGain * constMaxGain) << 6; // Q14 in WebRtcAgc_CalculateGainTable()
/external/aac/libSBRdec/src/
Denv_calc.cpp1276 FIXP_DBL sumRef, boostGain, maxGain; in calculateSbrEnvelope() local
1282 hFreq->limiterBandTable[c + 1], &sumRef, &sumRef_e, &maxGain, in calculateSbrEnvelope()
1286 maxGain = fMult( in calculateSbrEnvelope()
1287 maxGain, in calculateSbrEnvelope()
1302 if (maxGain == FL2FXCONST_DBL(0.0f)) in calculateSbrEnvelope()
1305 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope()
1307 maxGain <<= (int)charTemp; in calculateSbrEnvelope()
1311 maxGain = FL2FXCONST_DBL(0.5f); in calculateSbrEnvelope()
1320 (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k] > maxGain)) { in calculateSbrEnvelope()
1324 FDK_divide_MantExp(maxGain, maxGain_e, pNrgs->nrgGain[k], in calculateSbrEnvelope()
[all …]