Lines Matching refs:timeSlot

909   int timeSlot, band;  in FDKsbrEnc_fastTransientDetect()  local
938 for(timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
949 int tmp_headroom = fNormz(Energies[timeSlot][band])-1; in FDKsbrEnc_fastTransientDetect()
959 …FIXP_DBL weightedEnergy = fMult(Energies[timeSlot][band]<<headroomEnSlot, h_sbrFastTransientDetect… in FDKsbrEnc_fastTransientDetect()
968 energy_timeSlots[timeSlot] = tmpE; in FDKsbrEnc_fastTransientDetect()
976 if(timeSlot < YBufferWriteOffset){ in FDKsbrEnc_fastTransientDetect()
977 …energy_timeSlots_scale[timeSlot] = (-scaleEnergies[0]+2*QMF_SCALE_OFFSET) + (10+6) - headroomEnSlo… in FDKsbrEnc_fastTransientDetect()
979 …energy_timeSlots_scale[timeSlot] = (-scaleEnergies[1]+2*QMF_SCALE_OFFSET) + (10+6) - headroomEnSlo… in FDKsbrEnc_fastTransientDetect()
987 if ( -energy_timeSlots_scale[timeSlot-1] + 1 > 5 ) in FDKsbrEnc_fastTransientDetect()
993 smallNRG = scaleValue(smallNRG, -(energy_timeSlots_scale[timeSlot-1] + 1)); in FDKsbrEnc_fastTransientDetect()
994 denominator = (energy_timeSlots[timeSlot-1]>>1) + smallNRG; in FDKsbrEnc_fastTransientDetect()
995 denominator_scale = energy_timeSlots_scale[timeSlot-1]+1; in FDKsbrEnc_fastTransientDetect()
998 delta_energy[timeSlot] = fDivNorm(energy_timeSlots[timeSlot], denominator, &norm); in FDKsbrEnc_fastTransientDetect()
999 delta_energy_scale[timeSlot] = energy_timeSlots_scale[timeSlot] - denominator_scale + norm; in FDKsbrEnc_fastTransientDetect()
1011 for(timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1012 FIXP_DBL energy_cur_slot_weighted = fMult(energy_timeSlots[timeSlot],FL2FXCONST_DBL(1.0f/1.4f)); in FDKsbrEnc_fastTransientDetect()
1013 if( !fIsLessThan(delta_energy[timeSlot], delta_energy_scale[timeSlot], thr, thr_scale) && in FDKsbrEnc_fastTransientDetect()
1014 ( ((transientCandidates[timeSlot-2]==0) && (transientCandidates[timeSlot-1]==0)) || in FDKsbrEnc_fastTransientDetect()
1015 …r_slot_weighted, energy_timeSlots_scale[timeSlot], energy_timeSlots[timeSlot-1], energy_timeSlots_… in FDKsbrEnc_fastTransientDetect()
1016 …r_slot_weighted, energy_timeSlots_scale[timeSlot], energy_timeSlots[timeSlot-2], energy_timeSlots_… in FDKsbrEnc_fastTransientDetect()
1022 transientCandidates[timeSlot] = 1; in FDKsbrEnc_fastTransientDetect()
1031 for(timeSlot = 0; timeSlot < nTimeSlots; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1032 int scale = fMax(delta_energy_scale[timeSlot], max_delta_energy_scale); in FDKsbrEnc_fastTransientDetect()
1033 …if(transientCandidates[timeSlot] && ( (delta_energy[timeSlot] >> (scale - delta_energy_scale[timeS… in FDKsbrEnc_fastTransientDetect()
1034 max_delta_energy = delta_energy[timeSlot]; in FDKsbrEnc_fastTransientDetect()
1036 ind_max = timeSlot; in FDKsbrEnc_fastTransientDetect()
1051 for(timeSlot = nTimeSlots; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1052 if(transientCandidates[timeSlot]) { in FDKsbrEnc_fastTransientDetect()
1058 for(timeSlot = 0; timeSlot < lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1059 transientCandidates[timeSlot] = transientCandidates[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1062 energy_timeSlots[timeSlot] = energy_timeSlots[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1063 energy_timeSlots_scale[timeSlot] = energy_timeSlots_scale[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1065 delta_energy[timeSlot] = delta_energy[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1066 delta_energy_scale[timeSlot] = delta_energy_scale[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()