• Home
  • Raw
  • Download

Lines Matching refs:timeSlot

911   int timeSlot, band;  in FDKsbrEnc_fastTransientDetect()  local
942 for (timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
953 int tmp_headroom = fNormz(Energies[timeSlot][band]) - 1; in FDKsbrEnc_fastTransientDetect()
964 fMult(Energies[timeSlot][band] << headroomEnSlot, in FDKsbrEnc_fastTransientDetect()
975 energy_timeSlots[timeSlot] = tmpE; in FDKsbrEnc_fastTransientDetect()
985 if (timeSlot < YBufferWriteOffset) { in FDKsbrEnc_fastTransientDetect()
986 energy_timeSlots_scale[timeSlot] = in FDKsbrEnc_fastTransientDetect()
990 energy_timeSlots_scale[timeSlot] = in FDKsbrEnc_fastTransientDetect()
1000 if (-energy_timeSlots_scale[timeSlot - 1] + 1 > 5) { in FDKsbrEnc_fastTransientDetect()
1006 scaleValue(smallNRG, -(energy_timeSlots_scale[timeSlot - 1] + 1)); in FDKsbrEnc_fastTransientDetect()
1007 denominator = (energy_timeSlots[timeSlot - 1] >> 1) + smallNRG; in FDKsbrEnc_fastTransientDetect()
1008 denominator_scale = energy_timeSlots_scale[timeSlot - 1] + 1; in FDKsbrEnc_fastTransientDetect()
1011 delta_energy[timeSlot] = in FDKsbrEnc_fastTransientDetect()
1012 fDivNorm(energy_timeSlots[timeSlot], denominator, &norm); in FDKsbrEnc_fastTransientDetect()
1013 delta_energy_scale[timeSlot] = in FDKsbrEnc_fastTransientDetect()
1014 energy_timeSlots_scale[timeSlot] - denominator_scale + norm; in FDKsbrEnc_fastTransientDetect()
1026 for (timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1028 fMult(energy_timeSlots[timeSlot], FL2FXCONST_DBL(1.0f / 1.4f)); in FDKsbrEnc_fastTransientDetect()
1029 if (!fIsLessThan(delta_energy[timeSlot], delta_energy_scale[timeSlot], thr, in FDKsbrEnc_fastTransientDetect()
1031 (((transientCandidates[timeSlot - 2] == 0) && in FDKsbrEnc_fastTransientDetect()
1032 (transientCandidates[timeSlot - 1] == 0)) || in FDKsbrEnc_fastTransientDetect()
1034 energy_timeSlots_scale[timeSlot], in FDKsbrEnc_fastTransientDetect()
1035 energy_timeSlots[timeSlot - 1], in FDKsbrEnc_fastTransientDetect()
1036 energy_timeSlots_scale[timeSlot - 1]) || in FDKsbrEnc_fastTransientDetect()
1038 energy_timeSlots_scale[timeSlot], in FDKsbrEnc_fastTransientDetect()
1039 energy_timeSlots[timeSlot - 2], in FDKsbrEnc_fastTransientDetect()
1040 energy_timeSlots_scale[timeSlot - 2]))) { in FDKsbrEnc_fastTransientDetect()
1043 transientCandidates[timeSlot] = 1; in FDKsbrEnc_fastTransientDetect()
1052 for (timeSlot = 0; timeSlot < nTimeSlots; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1053 int scale = fMax(delta_energy_scale[timeSlot], max_delta_energy_scale); in FDKsbrEnc_fastTransientDetect()
1054 if (transientCandidates[timeSlot] && in FDKsbrEnc_fastTransientDetect()
1055 ((delta_energy[timeSlot] >> (scale - delta_energy_scale[timeSlot])) > in FDKsbrEnc_fastTransientDetect()
1057 max_delta_energy = delta_energy[timeSlot]; in FDKsbrEnc_fastTransientDetect()
1059 ind_max = timeSlot; in FDKsbrEnc_fastTransientDetect()
1074 for (timeSlot = nTimeSlots; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1075 if (transientCandidates[timeSlot]) { in FDKsbrEnc_fastTransientDetect()
1081 for (timeSlot = 0; timeSlot < lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1082 transientCandidates[timeSlot] = transientCandidates[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1085 energy_timeSlots[timeSlot] = energy_timeSlots[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1086 energy_timeSlots_scale[timeSlot] = in FDKsbrEnc_fastTransientDetect()
1087 energy_timeSlots_scale[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1089 delta_energy[timeSlot] = delta_energy[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1090 delta_energy_scale[timeSlot] = delta_energy_scale[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()