Home
last modified time | relevance | path

Searched refs:p_ac (Results 1 – 10 of 10) sorted by relevance

/external/libldac/src/
Dpack_ldac.c161 AC *p_ac, in pack_scale_factor_0_ldac() argument
167 int nqus = p_ac->p_ab->nqus; in pack_scale_factor_0_ldac()
171 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_0, LDAC_SFCBLENBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
173 pack_store_ldac(p_ac->sfc_offset, LDAC_IDSFBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
175 pack_store_ldac(p_ac->sfc_weight, LDAC_SFCWTBLBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
177 p_tbl = gaa_sfcwgt_ldac[p_ac->sfc_weight]; in pack_scale_factor_0_ldac()
178 val0 = p_ac->a_idsf[0] + p_tbl[0]; in pack_scale_factor_0_ldac()
180 pack_store_ldac(val0-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc); in pack_scale_factor_0_ldac()
182 p_hcsf = ga_hcenc_sf0_ldac + (p_ac->sfc_bitlen-LDAC_MINSFCBLEN_0); in pack_scale_factor_0_ldac()
184 val1 = p_ac->a_idsf[iqu] + p_tbl[iqu]; in pack_scale_factor_0_ldac()
[all …]
Dbitalloc_sub_ldac.c87 AC *p_ac, in encode_scale_factor_0_ldac() argument
92 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_0_ldac()
95 int *p_idsf = p_ac->a_idsf; in encode_scale_factor_0_ldac()
96 int *p_idsf_dif = p_ac->a_tmp; in encode_scale_factor_0_ldac()
141 AC *p_ac, in encode_scale_factor_1_ldac() argument
145 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_1_ldac()
148 int *p_idsf = p_ac->a_idsf; in encode_scale_factor_1_ldac()
192 AC *p_ac, in encode_scale_factor_2_ldac() argument
197 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_2_ldac()
199 int *p_idsf_dif = p_ac->a_tmp; in encode_scale_factor_2_ldac()
[all …]
Dquant_ldac.c49 AC *p_ac) in norm_spectrum_ldac() argument
53 int nqus = p_ac->p_ab->nqus; in norm_spectrum_ldac()
55 int *p_idsf = p_ac->a_idsf; in norm_spectrum_ldac()
57 SCALAR *p_spec = p_ac->p_acsub->a_spec; in norm_spectrum_ldac()
94 AC *p_ac, in quant_spectrum_core_ldac() argument
100 int *p_qspec = p_ac->a_qspec+isp; in quant_spectrum_core_ldac()
101 SCALAR qf = ga_qf_ldac[p_ac->a_idwl1[iqu]]; in quant_spectrum_core_ldac()
102 SCALAR *p_nspec = p_ac->p_acsub->a_spec+isp; in quant_spectrum_core_ldac()
119 AC *p_ac) in quant_spectrum_ldac() argument
122 int nqus = p_ac->p_ab->nqus; in quant_spectrum_ldac()
[all …]
Dquant_fixp_ldac.c60 AC *p_ac) in norm_spectrum_ldac() argument
64 int nqus = p_ac->p_ab->nqus; in norm_spectrum_ldac()
67 INT32 *p_spec = p_ac->p_acsub->a_spec; in norm_spectrum_ldac()
93 p_ac->a_idsf[iqu] = idsf; in norm_spectrum_ldac()
103 AC *p_ac, in quant_spectrum_core_ldac() argument
109 int *p_qspec = p_ac->a_qspec+isp; in quant_spectrum_core_ldac()
110 INT32 qf = ga_qf_ldac[p_ac->a_idwl1[iqu]]; in quant_spectrum_core_ldac()
111 INT32 *p_nspec = p_ac->p_acsub->a_spec+isp; in quant_spectrum_core_ldac()
125 AC *p_ac) in quant_spectrum_ldac() argument
128 int nqus = p_ac->p_ab->nqus; in quant_spectrum_ldac()
[all …]
Dbitalloc_ldac.c28 AC *p_ac; in encode_audio_block_a_ldac() local
72 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_a_ldac()
73 p_idsf = p_ac->a_idsf; in encode_audio_block_a_ldac()
74 p_addwl = p_ac->a_addwl; in encode_audio_block_a_ldac()
75 p_idwl1 = p_ac->a_idwl1; in encode_audio_block_a_ldac()
76 p_idwl2 = p_ac->a_idwl2; in encode_audio_block_a_ldac()
179 AC *p_ac; in encode_audio_block_b_ldac() local
189 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_b_ldac()
190 p_idwl1 = p_ac->a_idwl1; in encode_audio_block_b_ldac()
191 p_idwl2 = p_ac->a_idwl2; in encode_audio_block_b_ldac()
[all …]
Dsigana_ldac.c128 AC *p_ac; in ana_frame_status_ldac() local
138 p_ac = p_sfinfo->ap_ac[ich]; in ana_frame_status_ldac()
140 …low_energy = calc_mdct_pseudo_spectrum_ldac(p_ac->p_acsub->a_spec, a_psd_spec, LDAC_NSP_PSEUDOANA); in ana_frame_status_ldac()
144 zero_cross = calc_zero_cross_number_ldac(p_ac->p_acsub->a_time, nsmpl); in ana_frame_status_ldac()
158 cnt = p_ac->frmana_cnt; in ana_frame_status_ldac()
173 p_ac->frmana_cnt = cnt; in ana_frame_status_ldac()
Dencode_ldac.c176 AC *p_ac; in encode_audio_block_ldac() local
181 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()
183 norm_spectrum_ldac(p_ac); in encode_audio_block_ldac()
191 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()
193 quant_spectrum_ldac(p_ac); in encode_audio_block_ldac()
195 quant_residual_ldac(p_ac); in encode_audio_block_ldac()
Dmdct_ldac.c104 AC *p_ac; in proc_mdct_ldac() local
109 p_ac = p_sfinfo->ap_ac[ich]; in proc_mdct_ldac()
110 proc_mdct_core_ldac(p_ac->p_acsub->a_time, p_ac->p_acsub->a_spec, nlnn); in proc_mdct_ldac()
Dsigana_fixp_ldac.c312 AC *p_ac; in ana_frame_status_ldac() local
324 p_ac = p_sfinfo->ap_ac[ich]; in ana_frame_status_ldac()
326 …low_energy = calc_mdct_pseudo_spectrum_ldac(p_ac->p_acsub->a_spec, a_psd_spec, LDAC_NSP_PSEUDOANA); in ana_frame_status_ldac()
330 zero_cross = calc_zero_cross_number_ldac(p_ac->p_acsub->a_time, nsmpl); in ana_frame_status_ldac()
344 cnt = p_ac->frmana_cnt; in ana_frame_status_ldac()
359 p_ac->frmana_cnt = cnt; in ana_frame_status_ldac()
Dmdct_fixp_ldac.c136 AC *p_ac; in proc_mdct_ldac() local
141 p_ac = p_sfinfo->ap_ac[ich]; in proc_mdct_ldac()
142 proc_mdct_core_ldac(p_ac->p_acsub->a_time, p_ac->p_acsub->a_spec, nlnn); in proc_mdct_ldac()