/frameworks/base/media/libstagefright/codecs/aacdec/ |
ps_pwr_transient_detection.cpp | 195 Int32 nrg; local 317 nrg = *ptr_aPrevNrg + ((*aPower - *ptr_aPrevNrg) >> 2); 319 *(ptr_aPrevNrg++) = nrg; 323 if (peakDiff <= nrg) 329 pv_div(nrg, peakDiff, &result);
|
calc_sbr_envelope.cpp | 260 UInt32 nrg = 0; local 449 nrg = 0; 452 nrg += nrg_est_man[k] >> (tmp_q1 - nrg_est_exp[k]); /* for the whole scalefactor band. */ 454 nrg /= (ui - li); 473 nrg_est_man[c] = nrg; [all...] |
/external/webrtc/src/modules/audio_processing/agc/main/source/ |
digital_agc.c | 301 WebRtc_Word32 nrg, max_nrg; local 397 nrg = WEBRTC_SPL_MUL_16_16(out[k * L + n], out[k * L + n]); 398 if (nrg > max_nrg) 400 max_nrg = nrg; 648 WebRtc_Word32 out, nrg, tmp32, tmp32b; local 658 nrg = 0; 688 nrg += WEBRTC_SPL_RSHIFT_W32(tmp32, 6); 694 if (!(0xFFFF0000 & nrg)) 701 if (!(0xFF000000 & (nrg << zeros))) 705 if (!(0xF0000000 & (nrg << zeros)) [all...] |
analog_agc.c | 116 WebRtc_Word32 nrg, max_nrg, sample, tmp32; local 277 nrg = WEBRTC_SPL_MUL_16_16(in_mic[i * L + n], in_mic[i * L + n]); 278 if (nrg > max_nrg) 280 max_nrg = nrg; 401 WebRtc_UWord32 nrg; local 429 nrg = WEBRTC_SPL_MUL_16_16(in_near[sampleCntr], in_near[sampleCntr]); 430 frameNrg += nrg; [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
line_pe.c | 96 Word32 nrg = sfbEnergy[sfbGrp+sfb]; local 100 if (nrg > thres) {
|