Searched refs:p_ac (Results 1 – 10 of 10) sorted by relevance
/external/libldac/src/ |
D | pack_ldac.c | 161 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 …]
|
D | bitalloc_sub_ldac.c | 87 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 …]
|
D | quant_ldac.c | 49 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 …]
|
D | quant_fixp_ldac.c | 60 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 …]
|
D | bitalloc_ldac.c | 28 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 …]
|
D | sigana_ldac.c | 128 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()
|
D | encode_ldac.c | 176 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()
|
D | mdct_ldac.c | 104 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()
|
D | sigana_fixp_ldac.c | 312 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()
|
D | mdct_fixp_ldac.c | 136 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()
|