Home
last modified time | relevance | path

Searched refs:p_spec (Results 1 – 4 of 4) sorted by relevance

/external/libldac/src/
Dsigana_ldac.c31 SCALAR *p_spec, in calc_mdct_pseudo_spectrum_ldac() argument
40 y1 = p_spec[0]; in calc_mdct_pseudo_spectrum_ldac()
41 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac()
50 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac()
59 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac()
76 SCALAR *p_spec, in calc_spectral_centroid_ldac() argument
85 s1 += (SCALAR)isp * *p_spec; in calc_spectral_centroid_ldac()
86 s2 += *p_spec++; in calc_spectral_centroid_ldac()
Dquant_fixp_ldac.c67 INT32 *p_spec = p_ac->p_acsub->a_spec; in norm_spectrum_ldac() local
73 maxspec = abs(p_spec[lsp]); in norm_spectrum_ldac()
75 tmp = abs(p_spec[isp]); in norm_spectrum_ldac()
84 p_spec[isp] = sftrnd_ldac(p_spec[isp], idsf-LDAC_Q_NORM); in norm_spectrum_ldac()
89 p_spec[isp] = sa_val_ldac[isp-lsp]; in norm_spectrum_ldac()
Dsigana_fixp_ldac.c187 INT32 *p_spec, in calc_mdct_pseudo_spectrum_ldac() argument
199 y1 = p_spec[0]; in calc_mdct_pseudo_spectrum_ldac()
200 y2 = p_spec[1]; in calc_mdct_pseudo_spectrum_ldac()
213 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac()
226 y2 = p_spec[isp+1]; in calc_mdct_pseudo_spectrum_ldac()
256 INT32 *p_spec, in calc_spectral_centroid_ldac() argument
265 s1 += ((INT64)isp * (INT64)*p_spec); /* Q15 <- Q00 * Q15 */ in calc_spectral_centroid_ldac()
266 s2 += (INT64)*p_spec++; /* Q15 */ in calc_spectral_centroid_ldac()
Dquant_ldac.c57 SCALAR *p_spec = p_ac->p_acsub->a_spec; in norm_spectrum_ldac() local
63 maxspec = fabs(p_spec[lsp]); in norm_spectrum_ldac()
65 tmp = fabs(p_spec[isp]); in norm_spectrum_ldac()
75 p_spec[isp] *= tmp; in norm_spectrum_ldac()
80 p_spec[isp] = sa_val_ldac[isp-lsp]; in norm_spectrum_ldac()