Lines Matching refs:maxTimeSlots
123 INT maxTimeSlots; member
139 const UINT maxTimeSlots) { in fdk_sacenc_onsetDetect_Open() argument
148 FDK_ALLOCATE_MEMORY_1D(hOnset->pEnergyHist__FDK, 16 + maxTimeSlots, in fdk_sacenc_onsetDetect_Open()
150 FDK_ALLOCATE_MEMORY_1D(hOnset->pEnergyHistScale, 16 + maxTimeSlots, SCHAR); in fdk_sacenc_onsetDetect_Open()
152 hOnset->maxTimeSlots = maxTimeSlots; in fdk_sacenc_onsetDetect_Open()
175 if ((pOnsetDetectConfig->maxTimeSlots > hOnset->maxTimeSlots) || in fdk_sacenc_onsetDetect_Init()
182 hOnset->maxTimeSlots = pOnsetDetectConfig->maxTimeSlots; in fdk_sacenc_onsetDetect_Init()
197 for (i = 0; i < hOnset->avgEnergyDistance + hOnset->maxTimeSlots; i++) in fdk_sacenc_onsetDetect_Init()
203 hOnset->avgEnergyDistance + hOnset->maxTimeSlots); in fdk_sacenc_onsetDetect_Init()
241 if (timeSlots > hOnset->maxTimeSlots) { in fdk_sacenc_onsetDetect_Update()
276 if ((nTimeSlots < 0) || (nTimeSlots > hOnset->maxTimeSlots) || in fdk_sacenc_onsetDetect_Apply()