Searched refs:p_ab (Results 1 – 7 of 7) sorted by relevance
/external/libldac/src/ |
D | bitalloc_ldac.c | 25 AB *p_ab, in encode_audio_block_a_ldac() argument 30 int nchs = p_ab->blk_nchs; in encode_audio_block_a_ldac() 33 int grad_mode = p_ab->grad_mode; in encode_audio_block_a_ldac() 34 int grad_qu_l = p_ab->grad_qu_l; in encode_audio_block_a_ldac() 35 int grad_qu_h = p_ab->grad_qu_h; in encode_audio_block_a_ldac() 36 int grad_os_l = p_ab->grad_os_l; in encode_audio_block_a_ldac() 37 int grad_os_h = p_ab->grad_os_h; in encode_audio_block_a_ldac() 38 int *p_grad = p_ab->a_grad; in encode_audio_block_a_ldac() 72 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_a_ldac() 176 AB *p_ab, in encode_audio_block_b_ldac() argument [all …]
|
D | encode_ldac.c | 52 p_sfinfo->p_ab = (AB *)calloc_ldac(p_sfinfo, nbks, sizeof(AB)); in alloc_encode_ldac() 53 if (p_sfinfo->p_ab == (AB *)NULL) { in alloc_encode_ldac() 68 AB *p_ab; in init_encode_ldac() local 84 p_ab = p_sfinfo->p_ab; in init_encode_ldac() 86 p_ab->blk_type = blk_type = gaa_block_setting_ldac[chconfig_id][ibk+2]; in init_encode_ldac() 87 p_ab->blk_nchs = blk_nchs = get_block_nchs_ldac(blk_type); in init_encode_ldac() 88 p_ab->p_smplrate_id = &p_cfg->smplrate_id; in init_encode_ldac() 89 p_ab->p_error_code = &p_sfinfo->error_code; in init_encode_ldac() 93 p_ab->ap_ac[ich] = p_sfinfo->ap_ac[ch_offset++]; in init_encode_ldac() 94 p_ab->ap_ac[ich]->p_ab = p_ab; in init_encode_ldac() [all …]
|
D | pack_ldac.c | 116 AB *p_ab, in pack_band_info_ldac() argument 120 pack_store_ldac(p_ab->nbands-LDAC_BAND_OFFSET, LDAC_NBANDBITS, p_stream, p_loc); in pack_band_info_ldac() 131 AB *p_ab, in pack_gradient_ldac() argument 135 pack_store_ldac(p_ab->grad_mode, LDAC_GRADMODEBITS, p_stream, p_loc); in pack_gradient_ldac() 137 if (p_ab->grad_mode == LDAC_MODE_0) { in pack_gradient_ldac() 138 pack_store_ldac(p_ab->grad_qu_l, LDAC_GRADQU0BITS, p_stream, p_loc); in pack_gradient_ldac() 140 pack_store_ldac(p_ab->grad_qu_h-1, LDAC_GRADQU0BITS, p_stream, p_loc); in pack_gradient_ldac() 142 pack_store_ldac(p_ab->grad_os_l, LDAC_GRADOSBITS, p_stream, p_loc); in pack_gradient_ldac() 144 pack_store_ldac(p_ab->grad_os_h, LDAC_GRADOSBITS, p_stream, p_loc); in pack_gradient_ldac() 147 pack_store_ldac(p_ab->grad_qu_l, LDAC_GRADQU1BITS, p_stream, p_loc); in pack_gradient_ldac() [all …]
|
D | bitalloc_sub_ldac.c | 23 __attribute__((unused)) AB *p_ab) in encode_band_info_ldac() argument 36 AB *p_ab) in encode_gradient_ldac() argument 40 if (p_ab->grad_mode == LDAC_MODE_0) { in encode_gradient_ldac() 92 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_0_ldac() 145 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_1_ldac() 197 int nqus = p_ac->p_ab->nqus; in encode_scale_factor_2_ldac() 201 p_idsf_dif[0] = p_ac->a_idsf[0] - p_ac->p_ab->ap_ac[0]->a_idsf[0]; in encode_scale_factor_2_ldac() 204 p_idsf_dif[iqu] = p_ac->a_idsf[iqu] - p_ac->p_ab->ap_ac[0]->a_idsf[iqu]; in encode_scale_factor_2_ldac() 260 AB *p_ab) in encode_side_info_ldac() argument 264 int nchs = p_ab->blk_nchs; in encode_side_info_ldac() [all …]
|
D | quant_ldac.c | 53 int nqus = p_ac->p_ab->nqus; in norm_spectrum_ldac() 122 int nqus = p_ac->p_ab->nqus; in quant_spectrum_ldac() 168 int nqus = p_ac->p_ab->nqus; in quant_residual_ldac()
|
D | quant_fixp_ldac.c | 64 int nqus = p_ac->p_ab->nqus; in norm_spectrum_ldac() 128 int nqus = p_ac->p_ab->nqus; in quant_spectrum_ldac() 174 int nqus = p_ac->p_ab->nqus; in quant_residual_ldac()
|
D | ldac.h | 202 AB *p_ab; member 235 AB *p_ab; member
|