Lines Matching refs:p_ab
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()
95 p_ab->ap_ac[ich]->ich = ich; in init_encode_ldac()
96 p_ab->ap_ac[ich]->frmana_cnt = 0; in init_encode_ldac()
99 p_ab++; in init_encode_ldac()
114 AB *p_ab = p_sfinfo->p_ab; in calc_initial_bits_ldac() local
132 p_ab->nbits_ab = nbits_ab; in calc_initial_bits_ldac()
134 p_ab++; in calc_initial_bits_ldac()
150 if (p_sfinfo->p_ab != (AB *)NULL) { in free_encode_ldac()
151 free(p_sfinfo->p_ab); in free_encode_ldac()
152 p_sfinfo->p_ab = (AB *)NULL; in free_encode_ldac()
174 AB *p_ab) in encode_audio_block_ldac() argument
178 int nchs = p_ab->blk_nchs; in encode_audio_block_ldac()
181 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()
186 if (!alloc_bits_ldac(p_ab)) { in encode_audio_block_ldac()
191 p_ac = p_ab->ap_ac[ich]; in encode_audio_block_ldac()
214 AB *p_ab = p_sfinfo->p_ab; in encode_ldac() local
219 p_ab->nbands = nbands; in encode_ldac()
220 p_ab->nqus = ga_nqus_ldac[nbands]; in encode_ldac()
221 p_ab->grad_mode = grad_mode; in encode_ldac()
222 p_ab->grad_qu_l = grad_qu_l; in encode_ldac()
223 p_ab->grad_qu_h = grad_qu_h; in encode_ldac()
224 p_ab->grad_os_l = grad_os_l; in encode_ldac()
225 p_ab->grad_os_h = grad_os_h; in encode_ldac()
226 p_ab->abc_status = abc_status; in encode_ldac()
228 if (!encode_audio_block_ldac(p_ab)) { in encode_ldac()
232 p_ab++; in encode_ldac()