Home
last modified time | relevance | path

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

/external/aac/libSACdec/src/
Dsac_reshapeBBEnv.cpp348 FIXP_DBL maxVal, env, frameNrg, normNrg; in extractBBEnv() local
426 frameNrg = FL2FXCONST_DBL(0.0f); in extractBBEnv()
435 frameNrg += slotNrg[pb] >> 3; in extractBBEnv()
443 frameNrg += slotNrg[pb] >> 3; in extractBBEnv()
452 frameNrg += slotNrg[pb] >> 3; in extractBBEnv()
461 frameNrg += slotNrg[pb] >> 3; in extractBBEnv()
468 frameNrg = fMult(frameNrg, FL2FXCONST_DBL(0.88888888888f)); in extractBBEnv()
479 frameNrg = ((fMultDiv2(alpha1, frameNrg) >> scaleCur) + in extractBBEnv()
484 clz = fixMax(0, CntLeadingZeros(frameNrg) - 1); in extractBBEnv()
485 pBBEnvState->frameNrgPrev__FDK[prevChOffs] = frameNrg << clz; in extractBBEnv()
/external/webrtc/webrtc/modules/audio_processing/agc/legacy/
Danalog_agc.c295 uint32_t frameNrg = 0; in WebRtcAgc_VirtualMic() local
313 frameNrg = (uint32_t)(in_near[0][0] * in_near[0][0]); in WebRtcAgc_VirtualMic()
319 if (frameNrg < frameNrgLimit) in WebRtcAgc_VirtualMic()
322 frameNrg += nrg; in WebRtcAgc_VirtualMic()
330 if ((frameNrg < 500) || (numZeroCrossing <= 5)) in WebRtcAgc_VirtualMic()
336 } else if (frameNrg <= frameNrgLimit) in WebRtcAgc_VirtualMic()