Searched refs:nrg (Results 1 - 6 of 6) sorted by relevance
/external/webrtc/src/modules/audio_processing/agc/ |
H A D | digital_agc.c | 313 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...] |
H A D | analog_agc.c | 116 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;
|
/external/aac/libSBRenc/src/ |
H A D | env_est.cpp | 504 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 nmhLoweringEnergy(FIXP_DBL nrg, FIXP_DBL nrgSum, INT M) argument 542 if (nrg>FL2FXCONST_DB [all...] |
H A D | invf_est.cpp | 368 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);
|
/external/aac/libSBRdec/src/ |
H A D | psdec.cpp | 595 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...] |
/external/aac/libAACenc/src/ |
H A D | aacenc_pns.cpp | 209 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;
|
Completed in 493 milliseconds