Lines Matching refs:p_ac
161 AC *p_ac,
167 int nqus = p_ac->p_ab->nqus;
171 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_0, LDAC_SFCBLENBITS, p_stream, p_loc);
173 pack_store_ldac(p_ac->sfc_offset, LDAC_IDSFBITS, p_stream, p_loc);
175 pack_store_ldac(p_ac->sfc_weight, LDAC_SFCWTBLBITS, p_stream, p_loc);
177 p_tbl = gaa_sfcwgt_ldac[p_ac->sfc_weight];
178 val0 = p_ac->a_idsf[0] + p_tbl[0];
180 pack_store_ldac(val0-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc);
182 p_hcsf = ga_hcenc_sf0_ldac + (p_ac->sfc_bitlen-LDAC_MINSFCBLEN_0);
184 val1 = p_ac->a_idsf[iqu] + p_tbl[iqu];
197 AC *p_ac,
202 int nqus = p_ac->p_ab->nqus;
205 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_1, LDAC_SFCBLENBITS, p_stream, p_loc);
207 if (p_ac->sfc_bitlen > 4) {
209 pack_store_ldac(p_ac->a_idsf[iqu], LDAC_IDSFBITS, p_stream, p_loc);
213 pack_store_ldac(p_ac->sfc_offset, LDAC_IDSFBITS, p_stream, p_loc);
215 pack_store_ldac(p_ac->sfc_weight, LDAC_SFCWTBLBITS, p_stream, p_loc);
217 p_tbl = gaa_sfcwgt_ldac[p_ac->sfc_weight];
219 pack_store_ldac(p_ac->a_idsf[iqu]+p_tbl[iqu]-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc);
230 AC *p_ac,
236 int nqus = p_ac->p_ab->nqus;
239 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_2, LDAC_SFCBLENBITS, p_stream, p_loc);
241 p_hcsf = ga_hcenc_sf1_ldac + (p_ac->sfc_bitlen-LDAC_MINSFCBLEN_2);
243 dif = (p_ac->a_idsf[iqu] - p_ac->p_ab->ap_ac[0]->a_idsf[iqu]) & p_hcsf->mask;
254 AC *p_ac,
258 int sfc_mode = p_ac->sfc_mode;
262 if (p_ac->ich == 0) {
264 pack_scale_factor_0_ldac(p_ac, p_stream, p_loc);
267 pack_scale_factor_1_ldac(p_ac, p_stream, p_loc);
272 pack_scale_factor_0_ldac(p_ac, p_stream, p_loc);
275 pack_scale_factor_2_ldac(p_ac, p_stream, p_loc);
286 AC *p_ac,
292 int nqus = p_ac->p_ab->nqus;
299 idwl1 = p_ac->a_idwl1[iqu];
306 val = (p_ac->a_qspec[isp ]+1) << 2;
307 val += (p_ac->a_qspec[isp+1]+1);
312 val = (p_ac->a_qspec[isp ]+1) << 6;
313 val += (p_ac->a_qspec[isp+1]+1) << 4;
314 val += (p_ac->a_qspec[isp+2]+1) << 2;
315 val += (p_ac->a_qspec[isp+3]+1);
322 pack_store_ldac(p_ac->a_qspec[isp], wl, p_stream, p_loc);
334 AC *p_ac,
340 int nqus = p_ac->p_ab->nqus;
344 idwl2 = p_ac->a_idwl2[iqu];
352 pack_store_ldac(p_ac->a_rspec[isp], wl, p_stream, p_loc);
368 AC *p_ac;
390 p_ac = p_ab->ap_ac[ich];
393 pack_scale_factor_ldac(p_ac, p_stream, p_loc);
397 pack_spectrum_ldac(p_ac, p_stream, p_loc);
401 pack_residual_ldac(p_ac, p_stream, p_loc);