Searched refs:maxGain (Results 1 – 2 of 2) sorted by relevance
/external/aac/libSBRdec/src/ |
D | env_calc.cpp | 736 FIXP_DBL sumRef, boostGain, maxGain; in calculateSbrEnvelope() local 743 &maxGain, &maxGain_e); in calculateSbrEnvelope() 746 maxGain = fMult(maxGain, FDK_sbrDecoder_sbr_limGains_m[hHeaderData->bs_data.limiterGains]); in calculateSbrEnvelope() 750 if (maxGain == FL2FXCONST_DBL(0.0f)) in calculateSbrEnvelope() 753 SCHAR charTemp = CountLeadingBits(maxGain); in calculateSbrEnvelope() 755 maxGain <<= (int)charTemp; in calculateSbrEnvelope() 759 maxGain = FL2FXCONST_DBL(0.5f); in calculateSbrEnvelope() 767 …s->nrgGain_e[k] > maxGain_e) || (pNrgs->nrgGain_e[k] == maxGain_e && pNrgs->nrgGain[k]>maxGain) ) { in calculateSbrEnvelope() 772 …FDK_divide_MantExp(maxGain, maxGain_e, pNrgs->nrgGain[k], pNrgs->nrgGain_e[k], &noiseAmp, &noiseAm… in calculateSbrEnvelope() 775 pNrgs->nrgGain[k] = maxGain; in calculateSbrEnvelope()
|
/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()
|