Lines Matching refs:nTimeSlots
262 HANDLE_ONSET_DETECT hOnset, const INT nTimeSlots, const INT nHybridBands, in fdk_sacenc_onsetDetect_Apply() argument
276 if ((nTimeSlots < 0) || (nTimeSlots > hOnset->maxTimeSlots) || in fdk_sacenc_onsetDetect_Apply()
299 currPos = FDKmax(nTimeSlots, in fdk_sacenc_onsetDetect_Apply()
300 prevPos - nTimeSlots + hOnset->minTransientDistance); in fdk_sacenc_onsetDetect_Apply()
302 currPos = nTimeSlots; in fdk_sacenc_onsetDetect_Apply()
308 for (ts = 0; ts < nTimeSlots; ts++) { in fdk_sacenc_onsetDetect_Apply()
318 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
323 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
328 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
334 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
341 for (; (currPos < (nTimeSlots << 1)) && (trCnt < MAX_NUM_TRANS); in fdk_sacenc_onsetDetect_Apply()
343 p1 = fMultDiv2(envs[currPos - nTimeSlots + M], threshold_square) >> in fdk_sacenc_onsetDetect_Apply()
349 p2 -= (envs[currPosPrev - nTimeSlots] >> in fdk_sacenc_onsetDetect_Apply()
351 p2 += (envs[currPos - nTimeSlots + M - 1] >> in fdk_sacenc_onsetDetect_Apply()
357 p2 += (envs[currPos - nTimeSlots + ts] >> in fdk_sacenc_onsetDetect_Apply()