Lines Matching refs:sfb
160 WORD32 g, sfb; in ixheaacd_cplx_pred_data() local
174 for (sfb = 0; sfb < max_sfb_ste; sfb += SFB_PER_PRED_BAND) { in ixheaacd_cplx_pred_data()
175 cplx_pred_used[g][sfb] = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_cplx_pred_data()
177 if (sfb + 1 < max_sfb_ste) in ixheaacd_cplx_pred_data()
178 cplx_pred_used[g][sfb + 1] = cplx_pred_used[g][sfb]; in ixheaacd_cplx_pred_data()
180 for (sfb = max_sfb_ste; sfb < SFB_NUM_MAX; sfb++) in ixheaacd_cplx_pred_data()
181 cplx_pred_used[g][sfb] = 0; in ixheaacd_cplx_pred_data()
185 for (sfb = 0; sfb < max_sfb_ste; sfb++) cplx_pred_used[g][sfb] = 1; in ixheaacd_cplx_pred_data()
187 for (sfb = max_sfb_ste; sfb < SFB_NUM_MAX; sfb++) in ixheaacd_cplx_pred_data()
188 cplx_pred_used[g][sfb] = 0; in ixheaacd_cplx_pred_data()
209 for (sfb = 0; sfb < max_sfb_ste; sfb += SFB_PER_PRED_BAND) { in ixheaacd_cplx_pred_data()
211 last_alpha_q_re = alpha_q_re_prev[sfb]; in ixheaacd_cplx_pred_data()
212 last_alpha_q_im = alpha_q_im_prev[sfb]; in ixheaacd_cplx_pred_data()
214 if (sfb > 0) { in ixheaacd_cplx_pred_data()
215 last_alpha_q_re = alpha_q_re[g][sfb - 1]; in ixheaacd_cplx_pred_data()
216 last_alpha_q_im = alpha_q_im[g][sfb - 1]; in ixheaacd_cplx_pred_data()
222 if (cplx_pred_used[g][sfb] == 1) { in ixheaacd_cplx_pred_data()
225 alpha_q_re[g][sfb] = dpcm_alpha + last_alpha_q_re; in ixheaacd_cplx_pred_data()
230 alpha_q_im[g][sfb] = dpcm_alpha + last_alpha_q_im; in ixheaacd_cplx_pred_data()
232 alpha_q_im[g][sfb] = 0; in ixheaacd_cplx_pred_data()
235 alpha_q_re[g][sfb] = 0; in ixheaacd_cplx_pred_data()
236 alpha_q_im[g][sfb] = 0; in ixheaacd_cplx_pred_data()
239 if ((sfb + 1) < max_sfb_ste) { in ixheaacd_cplx_pred_data()
240 alpha_q_re[g][sfb + 1] = alpha_q_re[g][sfb]; in ixheaacd_cplx_pred_data()
241 alpha_q_im[g][sfb + 1] = alpha_q_im[g][sfb]; in ixheaacd_cplx_pred_data()
244 alpha_q_re_prev[sfb] = alpha_q_re[g][sfb]; in ixheaacd_cplx_pred_data()
245 alpha_q_im_prev[sfb] = alpha_q_im[g][sfb]; in ixheaacd_cplx_pred_data()
247 for (sfb = max_sfb_ste; sfb < SFB_NUM_MAX; sfb++) { in ixheaacd_cplx_pred_data()
248 alpha_q_re[g][sfb] = 0; in ixheaacd_cplx_pred_data()
249 alpha_q_im[g][sfb] = 0; in ixheaacd_cplx_pred_data()
250 alpha_q_re_prev[sfb] = 0; in ixheaacd_cplx_pred_data()
251 alpha_q_im_prev[sfb] = 0; in ixheaacd_cplx_pred_data()
262 WORD32 g, sfb; in ixheaacd_read_ms_mask() local
279 for (sfb = 0; sfb < max_sfb; sfb++) { in ixheaacd_read_ms_mask()
283 for (; sfb < info->sfb_per_sbk; sfb++) { in ixheaacd_read_ms_mask()
292 for (sfb = 0; sfb < info->sfb_per_sbk; sfb++) *ms_used++ = 1; in ixheaacd_read_ms_mask()
302 for (sfb = 0; sfb < SFB_NUM_MAX; sfb++) { in ixheaacd_read_ms_mask()
303 usac_data->alpha_q_re_prev[sfb] = 0; in ixheaacd_read_ms_mask()
304 usac_data->alpha_q_im_prev[sfb] = 0; in ixheaacd_read_ms_mask()
312 WORD32 sfb, k, grp, grp_len; in ixheaacd_ms_stereo() local
320 for (sfb = 0; sfb < nband; sfb++) { in ixheaacd_ms_stereo()
321 ixheaacd_drc_offset += ptr_sfb_info->sfb_width[sfb]; in ixheaacd_ms_stereo()
322 if (ms_used[sfb]) { in ixheaacd_ms_stereo()
323 for (k = 0; k < ptr_sfb_info->sfb_width[sfb]; k++) { in ixheaacd_ms_stereo()
332 r_spec += ptr_sfb_info->sfb_width[sfb]; in ixheaacd_ms_stereo()
333 l_spec += ptr_sfb_info->sfb_width[sfb]; in ixheaacd_ms_stereo()
477 WORD32 grp, sfb, grp_len, i = 0, k; in ixheaacd_cplx_pred_upmixing() local
493 for (sfb = 0; sfb < pstr_sfb_info->sfb_per_sbk; sfb++) { in ixheaacd_cplx_pred_upmixing()
494 if (cplx_pred_used[grp][sfb] == 1) { in ixheaacd_cplx_pred_upmixing()
496 pstr_sfb_info->sfb_width[sfb] * sizeof(WORD32)); in ixheaacd_cplx_pred_upmixing()
497 i += pstr_sfb_info->sfb_width[sfb]; in ixheaacd_cplx_pred_upmixing()
501 for (k = 0; k < pstr_sfb_info->sfb_width[sfb]; k++, i++) { in ixheaacd_cplx_pred_upmixing()
524 for (sfb = 0; sfb < pstr_sfb_info->sfb_per_sbk; sfb++) { in ixheaacd_cplx_pred_upmixing()
525 alpha_q_re_temp = alpha_q_re[grp][sfb] * 1677722; in ixheaacd_cplx_pred_upmixing()
526 alpha_q_im_temp = alpha_q_im[grp][sfb] * 1677722; in ixheaacd_cplx_pred_upmixing()
527 if (cplx_pred_used[grp][sfb]) { in ixheaacd_cplx_pred_upmixing()
528 for (k = 0; k < pstr_sfb_info->sfb_width[sfb]; k++, i++) { in ixheaacd_cplx_pred_upmixing()
543 i += pstr_sfb_info->sfb_width[sfb]; in ixheaacd_cplx_pred_upmixing()
551 for (sfb = 0; sfb < pstr_sfb_info->sfb_per_sbk; sfb++) { in ixheaacd_cplx_pred_upmixing()
552 alpha_q_re_temp = alpha_q_re[grp][sfb] * 1677722; in ixheaacd_cplx_pred_upmixing()
553 if (cplx_pred_used[grp][sfb]) { in ixheaacd_cplx_pred_upmixing()
554 for (k = 0; k < pstr_sfb_info->sfb_width[sfb]; k++, i++) { in ixheaacd_cplx_pred_upmixing()
566 i += pstr_sfb_info->sfb_width[sfb]; in ixheaacd_cplx_pred_upmixing()