Lines Matching refs:nrg
893 FIXP_DBL nrg_ov, nrg; in sbrDecoder_calculateGainVec() local
910 nrg_ov = nrg = (FIXP_DBL)0; in sbrDecoder_calculateGainVec()
922 nrg += (fPow2Div2(sourceBufferReal[i][loBand] << reserve) + in sbrDecoder_calculateGainVec()
930 nrg = (scaleValue(nrg_ov, scale_nrg_ov) >> 1) + in sbrDecoder_calculateGainVec()
931 (scaleValue(nrg, scale_nrg) >> 1); in sbrDecoder_calculateGainVec()
932 nrg = fMult(nrg, invNumSlots); in sbrDecoder_calculateGainVec()
940 if (nrg > (FIXP_DBL)0) { in sbrDecoder_calculateGainVec()
942 nrg = CalcLog2(nrg, exp_new, &exp_log2); in sbrDecoder_calculateGainVec()
943 nrg = scaleValue(nrg, exp_log2 - 6); in sbrDecoder_calculateGainVec()
944 nrg = fMult(FL2FXCONST_SGL(LOG10FAC), nrg); in sbrDecoder_calculateGainVec()
946 nrg = (FIXP_DBL)0; in sbrDecoder_calculateGainVec()
948 LowEnv[loBand] = nrg; in sbrDecoder_calculateGainVec()
949 meanNrg += fMult(nrg, invNumBands); in sbrDecoder_calculateGainVec()