Home
last modified time | relevance | path

Searched refs:magnIn (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/src/modules/audio_processing/ns/
Dns_core.c531 void WebRtcNs_ComputeSpectralFlatness(NSinst_t* inst, float* magnIn) { in WebRtcNs_ComputeSpectralFlatness() argument
541 avgSpectralFlatnessDen -= magnIn[i]; in WebRtcNs_ComputeSpectralFlatness()
545 if (magnIn[i] > 0.0) { in WebRtcNs_ComputeSpectralFlatness()
546 avgSpectralFlatnessNum += (float)log(magnIn[i]); in WebRtcNs_ComputeSpectralFlatness()
568 void WebRtcNs_ComputeSpectralDifference(NSinst_t* inst, float* magnIn) { in WebRtcNs_ComputeSpectralDifference() argument
588 covMagnPause += (magnIn[i] - avgMagn) * (inst->magnAvgPause[i] - avgPause); in WebRtcNs_ComputeSpectralDifference()
590 varMagn += (magnIn[i] - avgMagn) * (magnIn[i] - avgMagn); in WebRtcNs_ComputeSpectralDifference()
Dnsx_core.c1197 void WebRtcNsx_ComputeSpectralDifference(NsxInst_t* inst, WebRtc_UWord16* magnIn) { in WebRtcNsx_ComputeSpectralDifference() argument
1235 tmp16no1 = (WebRtc_Word16)((WebRtc_Word32)magnIn[i] - avgMagnFX); in WebRtcNsx_ComputeSpectralDifference()