Home
last modified time | relevance | path

Searched refs:anaLen (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_mips.c335 int anaLen = (int)inst->anaLen; in WebRtcNsx_AnalysisUpdate_mips() local
346 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->analysisBuffer)); in WebRtcNsx_AnalysisUpdate_mips()
347 memcpy(inst->analysisBuffer + inst->anaLen - inst->blockLen10ms, new_speech, in WebRtcNsx_AnalysisUpdate_mips()
434 : [anaLen] "r" (anaLen) in WebRtcNsx_AnalysisUpdate_mips()
497 : [anaLen] "r" (anaLen) in WebRtcNsx_AnalysisUpdate_mips()
518 int anaLen = (int)inst->anaLen; in WebRtcNsx_SynthesisUpdate_mips() local
743 [sat_neg] "r" (sat_neg), [anaLen] "r" (anaLen) in WebRtcNsx_SynthesisUpdate_mips()
749 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->synthesisBuffer)); in WebRtcNsx_SynthesisUpdate_mips()
751 + inst->anaLen - inst->blockLen10ms, inst->blockLen10ms); in WebRtcNsx_SynthesisUpdate_mips()
762 int16_t tmp16 = (int16_t)(inst->anaLen << 1) - 4; in WebRtcNsx_PrepareSpectrum_mips()
[all …]
Dnsx_core_neon.c439 freq_buf[inst->anaLen] = inst->real[inst->anaLen2]; in WebRtcNsx_PrepareSpectrumNeon()
440 freq_buf[inst->anaLen + 1] = -inst->imag[inst->anaLen2]; in WebRtcNsx_PrepareSpectrumNeon()
448 assert(inst->anaLen % 16 == 0); in WebRtcNsx_SynthesisUpdateNeon()
453 int16_t* preal_end = preal_start + inst->anaLen; in WebRtcNsx_SynthesisUpdateNeon()
519 int16_t* p_end_src = inst->synthesisBuffer + inst->anaLen; in WebRtcNsx_SynthesisUpdateNeon()
528 p_start = inst->synthesisBuffer + inst->anaLen - inst->blockLen10ms; in WebRtcNsx_SynthesisUpdateNeon()
541 assert(inst->anaLen % 16 == 0); in WebRtcNsx_AnalysisUpdateNeon()
547 int16_t* p_end_src = inst->analysisBuffer + inst->anaLen; in WebRtcNsx_AnalysisUpdateNeon()
561 p_start_dst = inst->analysisBuffer + inst->anaLen - inst->blockLen10ms; in WebRtcNsx_AnalysisUpdateNeon()
574 const int16_t* p_end_out = out + inst->anaLen; in WebRtcNsx_AnalysisUpdateNeon()
Dns_core.c91 self->anaLen = 128; in WebRtcNs_InitCore()
95 self->anaLen = 256; in WebRtcNs_InitCore()
98 self->magnLen = self->anaLen / 2 + 1; // Number of frequency bins. in WebRtcNs_InitCore()
103 WebRtc_rdft(self->anaLen, 1, self->dataBuf, self->ip, self->wfft); in WebRtcNs_InitCore()
1069 UpdateBuffer(speechFrame, self->blockLen, self->anaLen, self->analyzeBuf); in WebRtcNs_AnalyzeCore()
1071 Windowing(self->window, self->analyzeBuf, self->anaLen, winData); in WebRtcNs_AnalyzeCore()
1072 energy = Energy(winData, self->anaLen); in WebRtcNs_AnalyzeCore()
1087 FFT(self, winData, self->anaLen, self->magnLen, real, imag, magn); in WebRtcNs_AnalyzeCore()
1226 UpdateBuffer(speechFrame[0], self->blockLen, self->anaLen, self->dataBuf); in WebRtcNs_ProcessCore()
1233 self->anaLen, in WebRtcNs_ProcessCore()
[all …]
Dnsx_core.c472 freq_buf[inst->anaLen] = inst->real[inst->anaLen2]; in PrepareSpectrumC()
473 freq_buf[inst->anaLen + 1] = -inst->imag[inst->anaLen2]; in PrepareSpectrumC()
482 for (i = 0; i < inst->anaLen; i += 1) { in DenormalizeC()
500 for (i = 0; i < inst->anaLen; i++) { in SynthesisUpdateC()
517 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->synthesisBuffer)); in SynthesisUpdateC()
519 + inst->anaLen - inst->blockLen10ms, inst->blockLen10ms); in SynthesisUpdateC()
530 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->analysisBuffer)); in AnalysisUpdateC()
531 memcpy(inst->analysisBuffer + inst->anaLen - inst->blockLen10ms, new_speech, in AnalysisUpdateC()
535 for (i = 0; i < inst->anaLen; i++) { in AnalysisUpdateC()
547 for (i = 0; i < inst->anaLen; ++i) { in NormalizeRealBufferC()
[all …]
Dns_core.h56 size_t anaLen; member
Dnsx_core.h37 size_t anaLen; member