Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/ns/
Dns_core.c170 inst->blockInd = -1; //frame counter in WebRtcNs_InitCore()
863 inst->blockInd++; // Update the block index only when we process a block. in WebRtcNs_ProcessCore()
876 if (inst->blockInd < END_STARTUP_SHORT) { in WebRtcNs_ProcessCore()
895 if (inst->blockInd < END_STARTUP_SHORT) { in WebRtcNs_ProcessCore()
916 if (inst->blockInd < END_STARTUP_SHORT) { in WebRtcNs_ProcessCore()
947 parametric_num = exp(inst->pinkNoiseNumerator / (float)(inst->blockInd + 1)); in WebRtcNs_ProcessCore()
948 parametric_num *= (float)(inst->blockInd + 1); in WebRtcNs_ProcessCore()
949 parametric_exp = inst->pinkNoiseExp / (float)(inst->blockInd + 1); in WebRtcNs_ProcessCore()
961 noise[i] *= (inst->blockInd); in WebRtcNs_ProcessCore()
962 tmpFloat2 = parametric_noise * (END_STARTUP_SHORT - inst->blockInd); in WebRtcNs_ProcessCore()
[all …]
Dns_core.h83 WebRtc_Word32 blockInd; //frame index counter member