Lines Matching refs:p_ac
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()
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()
230 AC *p_ac) in encode_scale_factor_ldac() argument
237 if (p_ac->ich == 0) { in encode_scale_factor_ldac()
238 a_nbits[LDAC_MODE_0] = encode_scale_factor_0_ldac(p_ac, a_sfcinf+LDAC_MODE_0); in encode_scale_factor_ldac()
239 a_nbits[LDAC_MODE_1] = encode_scale_factor_1_ldac(p_ac, a_sfcinf+LDAC_MODE_1); in encode_scale_factor_ldac()
242 a_nbits[LDAC_MODE_0] = encode_scale_factor_0_ldac(p_ac, a_sfcinf+LDAC_MODE_0); in encode_scale_factor_ldac()
243 a_nbits[LDAC_MODE_1] = encode_scale_factor_2_ldac(p_ac, a_sfcinf+LDAC_MODE_1); in encode_scale_factor_ldac()
246 p_ac->sfc_mode = sfc_mode = get_minimum_id_ldac(a_nbits, LDAC_MODE_1+1); in encode_scale_factor_ldac()
248 p_ac->sfc_bitlen = p_sfcinf->bitlen; in encode_scale_factor_ldac()
249 p_ac->sfc_offset = p_sfcinf->offset; in encode_scale_factor_ldac()
250 p_ac->sfc_weight = p_sfcinf->weight; in encode_scale_factor_ldac()
262 AC *p_ac; in encode_side_info_ldac() local
270 p_ac = p_ab->ap_ac[ich]; in encode_side_info_ldac()
271 nbits_scfc += encode_scale_factor_ldac(p_ac); in encode_side_info_ldac()
272 calc_add_word_length_ldac(p_ac); in encode_side_info_ldac()
285 AC *p_ac) in calc_add_word_length_ldac() argument
288 int nqus = p_ac->p_ab->nqus; in calc_add_word_length_ldac()
290 int *p_idsf = p_ac->a_idsf; in calc_add_word_length_ldac()
291 int *p_addwl = p_ac->a_addwl; in calc_add_word_length_ldac()
295 if (p_ac->p_ab->grad_mode != LDAC_MODE_0) { in calc_add_word_length_ldac()