Home
last modified time | relevance | path

Searched refs:histSpecDiff (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/ns/
Dns_core.c173 memset(self->histSpecDiff, 0, sizeof(int) * HIST_PAR_EST); in WebRtcNs_InitCore()
332 self->histSpecDiff[i]++; in FeatureParameterExtraction()
417 if (self->histSpecDiff[i] > maxPeak1) { in FeatureParameterExtraction()
423 maxPeak1 = self->histSpecDiff[i]; in FeatureParameterExtraction()
424 weightPeak1SpecDiff = self->histSpecDiff[i]; in FeatureParameterExtraction()
426 } else if (self->histSpecDiff[i] > maxPeak2) { in FeatureParameterExtraction()
428 maxPeak2 = self->histSpecDiff[i]; in FeatureParameterExtraction()
429 weightPeak2SpecDiff = self->histSpecDiff[i]; in FeatureParameterExtraction()
514 self->histSpecDiff[i] = 0; in FeatureParameterExtraction()
Dnsx_core.c720 WebRtcSpl_ZerosArrayW16(inst->histSpecDiff, HIST_PAR_EST); in WebRtcNsx_InitCore()
863 inst->histSpecDiff[histIndex]++; in WebRtcNsx_FeatureParameterExtraction()
968 if (inst->histSpecDiff[i] > maxPeak1) { in WebRtcNsx_FeatureParameterExtraction()
974 maxPeak1 = inst->histSpecDiff[i]; in WebRtcNsx_FeatureParameterExtraction()
975 weightPeak1SpecDiff = inst->histSpecDiff[i]; in WebRtcNsx_FeatureParameterExtraction()
977 } else if (inst->histSpecDiff[i] > maxPeak2) { in WebRtcNsx_FeatureParameterExtraction()
979 maxPeak2 = inst->histSpecDiff[i]; in WebRtcNsx_FeatureParameterExtraction()
980 weightPeak2SpecDiff = inst->histSpecDiff[i]; in WebRtcNsx_FeatureParameterExtraction()
1010 WebRtcSpl_ZerosArrayW16(inst->histSpecDiff, HIST_PAR_EST); in WebRtcNsx_FeatureParameterExtraction()
Dns_core.h108 int histSpecDiff[HIST_PAR_EST]; member
Dnsx_core.h93 int16_t histSpecDiff[HIST_PAR_EST]; member