Searched refs:magn (Results 1 - 4 of 4) sorted by relevance

/external/webrtc/src/modules/audio_processing/ns/
H A Dns_core.c240 void WebRtcNs_NoiseEstimation(NSinst_t* inst, float* magn, float* noise) { argument
249 lmagn[i] = (float)log(magn[i]);
606 //magn is the input magnitude spectrum
737 float magn[HALF_ANAL_BLOCKL], noise[HALF_ANAL_BLOCKL]; local
869 magn[0] = (float)(fabs(real[0]) + 1.0f);
872 magn[inst->magnLen - 1] = (float)(fabs(real[inst->magnLen - 1]) + 1.0f);
875 sumMagn = magn[0] + magn[inst->magnLen - 1];
877 inst->initMagnEst[0] += magn[0];
878 inst->initMagnEst[inst->magnLen - 1] += magn[ins
[all...]
H A Dnsx_core.h173 uint16_t* magn,
H A Dnsx_core_neon.c96 uint16_t* magn,
118 // lmagn(i)=log(magn(i))=log(2)*log2(magn(i))
119 // magn is in Q(-stages), and the real lmagn values are:
120 // real_lmagn(i)=log(magn(i)*2^stages)=log(magn(i))+log(2^stages)
123 if (magn[i]) {
124 zeros = WebRtcSpl_NormU32((uint32_t)magn[i]);
125 frac = (int16_t)((((uint32_t)magn[i] << zeros)
128 // log2(magn(
95 NoiseEstimationNeon(NsxInst_t* inst, uint16_t* magn, uint32_t* noise, int16_t* q_noise) argument
[all...]
H A Dnsx_core.c472 uint16_t* magn,
492 // lmagn(i)=log(magn(i))=log(2)*log2(magn(i))
493 // magn is in Q(-stages), and the real lmagn values are:
494 // real_lmagn(i)=log(magn(i)*2^stages)=log(magn(i))+log(2^stages)
497 if (magn[i]) {
498 zeros = WebRtcSpl_NormU32((WebRtc_UWord32)magn[i]);
499 frac = (WebRtc_Word16)((((WebRtc_UWord32)magn[i] << zeros)
501 // log2(magn(
471 NoiseEstimationC(NsxInst_t* inst, uint16_t* magn, uint32_t* noise, int16_t* q_noise) argument
1127 WebRtcNsx_ComputeSpectralFlatness(NsxInst_t* inst, WebRtc_UWord16* magn) argument
[all...]

Completed in 66 milliseconds