Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/ns/
Dnsx_core_mips.c345 memcpy(inst->analysisBuffer, inst->analysisBuffer + inst->blockLen10ms, in WebRtcNsx_AnalysisUpdate_mips()
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()
348 inst->blockLen10ms * sizeof(*inst->analysisBuffer)); in WebRtcNsx_AnalysisUpdate_mips()
508 int iters = (int)inst->blockLen10ms >> 2; in WebRtcNsx_SynthesisUpdate_mips()
509 int after = inst->blockLen10ms & 3; in WebRtcNsx_SynthesisUpdate_mips()
517 int block10 = (int)inst->blockLen10ms; in WebRtcNsx_SynthesisUpdate_mips()
748 memcpy(inst->synthesisBuffer, inst->synthesisBuffer + inst->blockLen10ms, 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()
Dnsx_core.c511 for (i = 0; i < inst->blockLen10ms; i++) { in SynthesisUpdateC()
516 memcpy(inst->synthesisBuffer, inst->synthesisBuffer + inst->blockLen10ms, in SynthesisUpdateC()
517 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->synthesisBuffer)); in SynthesisUpdateC()
519 + inst->anaLen - inst->blockLen10ms, inst->blockLen10ms); in SynthesisUpdateC()
529 memcpy(inst->analysisBuffer, inst->analysisBuffer + inst->blockLen10ms, in AnalysisUpdateC()
530 (inst->anaLen - inst->blockLen10ms) * sizeof(*inst->analysisBuffer)); in AnalysisUpdateC()
531 memcpy(inst->analysisBuffer + inst->anaLen - inst->blockLen10ms, new_speech, in AnalysisUpdateC()
532 inst->blockLen10ms * sizeof(*inst->analysisBuffer)); in AnalysisUpdateC()
645 inst->blockLen10ms = 80; in WebRtcNsx_InitCore()
653 inst->blockLen10ms = 160; in WebRtcNsx_InitCore()
[all …]
Dnsx_core_neon.c449 assert(inst->blockLen10ms % 16 == 0); in WebRtcNsx_SynthesisUpdateNeon()
508 int16_t * p_end = inst->synthesisBuffer + inst->blockLen10ms; in WebRtcNsx_SynthesisUpdateNeon()
518 int16_t* p_start_src = inst->synthesisBuffer + inst->blockLen10ms; in WebRtcNsx_SynthesisUpdateNeon()
528 p_start = inst->synthesisBuffer + inst->anaLen - inst->blockLen10ms; in WebRtcNsx_SynthesisUpdateNeon()
529 p_end = p_start + inst->blockLen10ms; in WebRtcNsx_SynthesisUpdateNeon()
540 assert(inst->blockLen10ms % 16 == 0); in WebRtcNsx_AnalysisUpdateNeon()
546 int16_t* p_start_src = inst->analysisBuffer + inst->blockLen10ms; in WebRtcNsx_AnalysisUpdateNeon()
560 p_end_src = new_speech + inst->blockLen10ms; in WebRtcNsx_AnalysisUpdateNeon()
561 p_start_dst = inst->analysisBuffer + inst->anaLen - inst->blockLen10ms; in WebRtcNsx_AnalysisUpdateNeon()
Dnsx_core.h101 size_t blockLen10ms; member