Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/ns/
Dns_core.c172 memset(self->histSpecFlat, 0, sizeof(int) * HIST_PAR_EST); in WebRtcNs_InitCore()
324 self->histSpecFlat[i]++; in FeatureParameterExtraction()
389 if (self->histSpecFlat[i] > maxPeak1) { in FeatureParameterExtraction()
395 maxPeak1 = self->histSpecFlat[i]; in FeatureParameterExtraction()
396 weightPeak1SpecFlat = self->histSpecFlat[i]; in FeatureParameterExtraction()
398 } else if (self->histSpecFlat[i] > maxPeak2) { in FeatureParameterExtraction()
400 maxPeak2 = self->histSpecFlat[i]; in FeatureParameterExtraction()
401 weightPeak2SpecFlat = self->histSpecFlat[i]; in FeatureParameterExtraction()
513 self->histSpecFlat[i] = 0; in FeatureParameterExtraction()
Dnsx_core.c721 WebRtcSpl_ZerosArrayW16(inst->histSpecFlat, HIST_PAR_EST); in WebRtcNsx_InitCore()
851 inst->histSpecFlat[histIndex]++; in WebRtcNsx_FeatureParameterExtraction()
922 if (inst->histSpecFlat[i] > maxPeak1) { in WebRtcNsx_FeatureParameterExtraction()
928 maxPeak1 = inst->histSpecFlat[i]; in WebRtcNsx_FeatureParameterExtraction()
929 weightPeak1SpecFlat = inst->histSpecFlat[i]; in WebRtcNsx_FeatureParameterExtraction()
931 } else if (inst->histSpecFlat[i] > maxPeak2) { in WebRtcNsx_FeatureParameterExtraction()
933 maxPeak2 = inst->histSpecFlat[i]; in WebRtcNsx_FeatureParameterExtraction()
934 weightPeak2SpecFlat = inst->histSpecFlat[i]; in WebRtcNsx_FeatureParameterExtraction()
1011 WebRtcSpl_ZerosArrayW16(inst->histSpecFlat, HIST_PAR_EST); in WebRtcNsx_FeatureParameterExtraction()
Dns_core.h107 int histSpecFlat[HIST_PAR_EST]; member
Dnsx_core.h92 int16_t histSpecFlat[HIST_PAR_EST]; member