Lines Matching refs:h_sbrFastTransientDetector
796 HANDLE_FAST_TRAN_DET h_sbrFastTransientDetector, in FDKsbrEnc_InitSbrFastTransientDetector() argument
809 h_sbrFastTransientDetector->lookahead = TRAN_DET_LOOKAHEAD; in FDKsbrEnc_InitSbrFastTransientDetector()
810 h_sbrFastTransientDetector->nTimeSlots = time_slots_per_frame; in FDKsbrEnc_InitSbrFastTransientDetector()
812 buff_size = h_sbrFastTransientDetector->nTimeSlots + h_sbrFastTransientDetector->lookahead; in FDKsbrEnc_InitSbrFastTransientDetector()
815 h_sbrFastTransientDetector->delta_energy[i] = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_InitSbrFastTransientDetector()
816 h_sbrFastTransientDetector->energy_timeSlots[i] = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_InitSbrFastTransientDetector()
817 h_sbrFastTransientDetector->lowpass_energy[i] = FL2FXCONST_DBL(0.0f); in FDKsbrEnc_InitSbrFastTransientDetector()
818 h_sbrFastTransientDetector->transientCandidates[i] = 0; in FDKsbrEnc_InitSbrFastTransientDetector()
822 …h_sbrFastTransientDetector->stopBand = fMin(TRAN_DET_STOP_FREQ/bandwidth_qmf_slot, no_qmf_channel… in FDKsbrEnc_InitSbrFastTransientDetector()
823 …h_sbrFastTransientDetector->startBand = fMin(sbr_qmf_1st_band, h_sbrFastTransientDetector->stopBan… in FDKsbrEnc_InitSbrFastTransientDetector()
825 FDK_ASSERT(h_sbrFastTransientDetector->startBand < no_qmf_channels); in FDKsbrEnc_InitSbrFastTransientDetector()
826 FDK_ASSERT(h_sbrFastTransientDetector->startBand < h_sbrFastTransientDetector->stopBand); in FDKsbrEnc_InitSbrFastTransientDetector()
827 FDK_ASSERT(h_sbrFastTransientDetector->startBand > 1); in FDKsbrEnc_InitSbrFastTransientDetector()
828 FDK_ASSERT(h_sbrFastTransientDetector->stopBand > 1); in FDKsbrEnc_InitSbrFastTransientDetector()
832 FDK_ASSERT(h_sbrFastTransientDetector->stopBand - h_sbrFastTransientDetector->startBand <= 64); in FDKsbrEnc_InitSbrFastTransientDetector()
890 h_sbrFastTransientDetector->dBf_m[i] = dBf_m; in FDKsbrEnc_InitSbrFastTransientDetector()
891 h_sbrFastTransientDetector->dBf_e[i] = dBf_e; in FDKsbrEnc_InitSbrFastTransientDetector()
902 const HANDLE_FAST_TRAN_DET h_sbrFastTransientDetector, in FDKsbrEnc_fastTransientDetect() argument
916 const int nTimeSlots = h_sbrFastTransientDetector->nTimeSlots; in FDKsbrEnc_fastTransientDetect()
917 const int lookahead = h_sbrFastTransientDetector->lookahead; in FDKsbrEnc_fastTransientDetect()
918 const int startBand = h_sbrFastTransientDetector->startBand; in FDKsbrEnc_fastTransientDetect()
919 const int stopBand = h_sbrFastTransientDetector->stopBand; in FDKsbrEnc_fastTransientDetect()
921 int * transientCandidates = h_sbrFastTransientDetector->transientCandidates; in FDKsbrEnc_fastTransientDetect()
923 FIXP_DBL * energy_timeSlots = h_sbrFastTransientDetector->energy_timeSlots; in FDKsbrEnc_fastTransientDetect()
924 int * energy_timeSlots_scale = h_sbrFastTransientDetector->energy_timeSlots_scale; in FDKsbrEnc_fastTransientDetect()
926 FIXP_DBL * delta_energy = h_sbrFastTransientDetector->delta_energy; in FDKsbrEnc_fastTransientDetect()
927 int * delta_energy_scale = h_sbrFastTransientDetector->delta_energy_scale; in FDKsbrEnc_fastTransientDetect()
959 …ightedEnergy = fMult(Energies[timeSlot][band]<<headroomEnSlot, h_sbrFastTransientDetector->dBf_m[i… in FDKsbrEnc_fastTransientDetect()
964 tmpE += weightedEnergy >> (6 + (10 - h_sbrFastTransientDetector->dBf_e[i])); in FDKsbrEnc_fastTransientDetect()