Searched defs:nrg (Results 1 - 6 of 6) sorted by relevance

/external/aac/libAACenc/src/
H A Daacenc_pns.cpp209 noiseNrg[sfb] = NO_NOISE_PNS; /* clear nrg's of previous frame */
404 INT nrg = (-sfbEnergyLdData[sfb]+FL2FXCONST_DBL(0.5f/64.0f))>>(DFRACT_BITS-1-7); local
405 noiseNrg[sfb] = tmp - nrg;
/external/aac/libSBRenc/src/
H A Dinvf_est.cpp368 FIXP_DBL nrg; local
374 nrg = (fMultDiv2(FL2FXCONST_DBL(2.f*0.375f), (FIXP_DBL)(CalcLdData(detectorValues->avgNrg+(FIXP_DBL)1) + FL2FXCONST_DBL(0.0625f) + FL2FXCONST_DBL(0.6875f)))) << 0; /* scaled by 1/2^8; 2^44 -> qmf energy scale */
391 regionNrg = findRegion(nrg,nrgBorders,numRegionsNrg);
H A Denv_est.cpp504 mhLoweringEnergy(FIXP_DBL nrg, INT M) argument
517 tmpScale = CountLeadingBits(nrg);
518 nrg <<= tmpScale;
519 nrg = fMult(nrg, FL2FXCONST_DBL(0.398107267f)); /* The maximum boost is 1.584893, so the maximum attenuation should be square(1/1.584893) = 0.398107267 */
520 nrg >>= tmpScale;
524 nrg >>= 1;
528 return nrg;
540 FIXP_DBL nrg,
546 if (nrg>FL2FXCONST_DB
539 nmhLoweringEnergy( FIXP_DBL nrg, const FIXP_DBL nrgSum, const INT nrgSum_scale, const INT M ) argument
[all...]
/external/webrtc/src/modules/audio_processing/agc/
H A Danalog_agc.c116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local
281 nrg = WEBRTC_SPL_MUL_16_16(in_mic[i * L + n], in_mic[i * L + n]);
282 if (nrg > max_nrg)
284 max_nrg = nrg;
405 WebRtc_UWord32 nrg; local
433 nrg = WEBRTC_SPL_MUL_16_16(in_near[sampleCntr], in_near[sampleCntr]);
434 frameNrg += nrg;
H A Ddigital_agc.c313 WebRtc_Word32 nrg, max_nrg; local
417 nrg = WEBRTC_SPL_MUL_16_16(out[k * L + n], out[k * L + n]);
418 if (nrg > max_nrg)
420 max_nrg = nrg;
668 WebRtc_Word32 out, nrg, tmp32, tmp32b; local
677 nrg = 0;
706 nrg += WEBRTC_SPL_RSHIFT_W32(tmp32, 6);
712 if (!(0xFFFF0000 & nrg))
719 if (!(0xFF000000 & (nrg << zeros)))
723 if (!(0xF0000000 & (nrg << zero
[all...]
/external/aac/libSBRdec/src/
H A Dpsdec.cpp595 FIXP_DBL peakDiff, nrg, transRatio; local
687 nrg = h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] + fMult( INT_FILTER_COEFF, aaPowerSlot[bin] - h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] );
691 nrg = fixMax(nrg,FL2FXCONST_DBL(0.f));
693 /* save nrg for the next frame */
694 h_ps_d->specificTo.mpeg.aPrevNrgBin[bin] = nrg;
696 nrg = fMult( nrg, TRANSIENT_IMPACT_FACTOR );
699 if ( peakDiff <= nrg || peakDiff == FL2FXCONST_DBL(0.0) ) {
702 else if ( nrg <
[all...]

Completed in 98 milliseconds