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

/external/webrtc/src/modules/audio_processing/ns/
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 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.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...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
H A Dnsx_core_neon.c137 uint16_t* magn,
159 // lmagn(i)=log(magn(i))=log(2)*log2(magn(i))
160 // magn is in Q(-stages), and the real lmagn values are:
161 // real_lmagn(i)=log(magn(i)*2^stages)=log(magn(i))+log(2^stages)
164 if (magn[i]) {
165 zeros = WebRtcSpl_NormU32((uint32_t)magn[i]);
166 frac = (int16_t)((((uint32_t)magn[i] << zeros)
169 // log2(magn(
136 WebRtcNsx_NoiseEstimationNeon(NsxInst_t* inst, uint16_t* magn, uint32_t* noise, int16_t* q_noise) argument
[all...]
H A Dns_core.c255 void WebRtcNs_NoiseEstimation(NSinst_t* inst, float* magn, float* noise) { argument
264 lmagn[i] = (float)log(magn[i]);
643 // magn is the input magnitude spectrum
771 float magn[HALF_ANAL_BLOCKL], noise[HALF_ANAL_BLOCKL]; local
825 magn[0] = (float)(fabs(real[0]) + 1.0f);
828 magn[inst->magnLen - 1] = (float)(fabs(real[inst->magnLen - 1]) + 1.0f);
831 sumMagn = magn[0] + magn[inst->magnLen - 1];
836 tmpFloat1 = log(magn[inst->magnLen - 1]);
847 magn[
1055 float magn[HALF_ANAL_BLOCKL]; local
[all...]
H A Dnsx_core.c336 uint16_t* magn,
356 // lmagn(i)=log(magn(i))=log(2)*log2(magn(i))
357 // magn is in Q(-stages), and the real lmagn values are:
358 // real_lmagn(i)=log(magn(i)*2^stages)=log(magn(i))+log(2^stages)
361 if (magn[i]) {
362 zeros = WebRtcSpl_NormU32((uint32_t)magn[i]);
363 frac = (int16_t)((((uint32_t)magn[i] << zeros)
365 // log2(magn(
335 NoiseEstimationC(NsxInst_t* inst, uint16_t* magn, uint32_t* noise, int16_t* q_noise) argument
1027 WebRtcNsx_ComputeSpectralFlatness(NsxInst_t* inst, uint16_t* magn) argument
[all...]

Completed in 83 milliseconds