Searched refs:maxGain (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.cc | 85 int16_t constLinApprox, zeroGainLvl, maxGain, diffGain; in WebRtcAgc_CalculateGainTable() local 99 maxGain = WEBRTC_SPL_MAX(tmp16no1, (analogTarget - targetLevelDbfs)); in WebRtcAgc_CalculateGainTable() 100 tmp32no1 = maxGain * kCompRatio; in WebRtcAgc_CalculateGainTable() 190 numFIX = (maxGain * constMaxGain) * (1 << 6); // Q14 in WebRtcAgc_CalculateGainTable()
|
/external/aac/libSBRdec/src/ |
D | env_calc.cpp | 1261 FIXP_DBL sumRef, boostGain, maxGain; in calculateSbrEnvelope() local 1267 hFreq->limiterBandTable[c + 1], &sumRef, &sumRef_e, &maxGain, in calculateSbrEnvelope() 1271 maxGain = fMult( in calculateSbrEnvelope() 1272 maxGain, in calculateSbrEnvelope() 1287 if (maxGain == FL2FXCONST_DBL(0.0f)) in calculateSbrEnvelope() 1290 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope() 1292 maxGain <<= (int)charTemp; in calculateSbrEnvelope() 1296 maxGain = FL2FXCONST_DBL(0.5f); in calculateSbrEnvelope() 1305 (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k] > maxGain)) { in calculateSbrEnvelope() 1309 FDK_divide_MantExp(maxGain, maxGain_e, pNrgs->nrgGain[k], in calculateSbrEnvelope() [all …]
|