Home
last modified time | relevance | path

Searched refs:low_energy (Results 1 – 2 of 2) sorted by relevance

/external/libldac/src/
Dsigana_ldac.c36 SCALAR low_energy, tmp; in calc_mdct_pseudo_spectrum_ldac() local
43 low_energy = tmp; in calc_mdct_pseudo_spectrum_ldac()
52 low_energy += tmp; in calc_mdct_pseudo_spectrum_ldac()
69 return low_energy; in calc_mdct_pseudo_spectrum_ldac()
134 SCALAR low_energy, centroid; in ana_frame_status_ldac() local
140low_energy = calc_mdct_pseudo_spectrum_ldac(p_ac->p_acsub->a_spec, a_psd_spec, LDAC_NSP_PSEUDOANA); in ana_frame_status_ldac()
147 if (low_energy < LDAC_TH_LOWENERGY_L) { in ana_frame_status_ldac()
151 if (low_energy < LDAC_TH_LOWENERGY_M) { in ana_frame_status_ldac()
154 else if (low_energy < LDAC_TH_LOWENERGY_H) { in ana_frame_status_ldac()
Dsigana_fixp_ldac.c195 INT64 low_energy; in calc_mdct_pseudo_spectrum_ldac() local
204 low_energy = acc1 >> LDAC_Q_ADD_LOWENERGY; /* Q26 <- (Q15 * Q15) >> 4 */ in calc_mdct_pseudo_spectrum_ldac()
217 low_energy += acc1 >> LDAC_Q_ADD_LOWENERGY; /* Q26 <- (Q15 * Q15) >> 4 */ in calc_mdct_pseudo_spectrum_ldac()
244 low_energy >>= LDAC_Q_LOWENERGY; /* Q15 <- Q26 >> 11 */ in calc_mdct_pseudo_spectrum_ldac()
245 if (low_energy > LDAC_MAX_32BIT) { in calc_mdct_pseudo_spectrum_ldac()
246 low_energy = LDAC_MAX_32BIT; in calc_mdct_pseudo_spectrum_ldac()
249 return (INT32)low_energy; in calc_mdct_pseudo_spectrum_ldac()
319 INT32 low_energy, centroid; in ana_frame_status_ldac() local
326low_energy = calc_mdct_pseudo_spectrum_ldac(p_ac->p_acsub->a_spec, a_psd_spec, LDAC_NSP_PSEUDOANA); in ana_frame_status_ldac()
333 if (low_energy < LDAC_TH_LOWENERGY_L) { in ana_frame_status_ldac()
[all …]