Searched refs:maxGain (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/ |
D | digital_agc.c | 80 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/ |
D | env_calc.cpp | 1278 FIXP_DBL sumRef, boostGain, maxGain; in calculateSbrEnvelope() local 1284 hFreq->limiterBandTable[c + 1], &sumRef, &sumRef_e, &maxGain, in calculateSbrEnvelope() 1288 maxGain = fMult( in calculateSbrEnvelope() 1289 maxGain, in calculateSbrEnvelope() 1304 if (maxGain == FL2FXCONST_DBL(0.0f)) in calculateSbrEnvelope() 1307 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope() 1309 maxGain <<= (int)charTemp; in calculateSbrEnvelope() 1313 maxGain = FL2FXCONST_DBL(0.5f); in calculateSbrEnvelope() 1322 (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k] > maxGain)) { in calculateSbrEnvelope() 1326 FDK_divide_MantExp(maxGain, maxGain_e, pNrgs->nrgGain[k], in calculateSbrEnvelope() [all …]
|