Lines Matching refs:ixheaacd_drc_offset
288 offset_lengths *ixheaacd_drc_offset, in ixheaacd_fd_imdct_short() argument
311 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
312 ixheaacd_normalize(p_in_ibuffer, max_shift, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
317 sizeof(WORD32) * ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
320 fp = overlap_data + ixheaacd_drc_offset->n_flat_ls; in ixheaacd_fd_imdct_short()
324 ixheaacd_acelp_imdct(p_in_ibuffer + (k * ixheaacd_drc_offset->n_short), in ixheaacd_fd_imdct_short()
325 2 * ixheaacd_drc_offset->n_short, &shiftp, in ixheaacd_fd_imdct_short()
330 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
331 ixheaacd_normalize(p_in_ibuffer, max_shift - 1, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_short()
334 err_code = ixheaacd_calc_window(&window_short, ixheaacd_drc_offset->n_short, in ixheaacd_fd_imdct_short()
339 ixheaacd_drc_offset->n_trans_ls, window_select_prev); in ixheaacd_fd_imdct_short()
343 ixheaacd_windowing_short1(p_in_ibuffer + ixheaacd_drc_offset->n_short / 2, in ixheaacd_fd_imdct_short()
344 window_short_prev_ptr, fp, ixheaacd_drc_offset, in ixheaacd_fd_imdct_short()
348 ixheaacd_windowing_short2(p_in_ibuffer + ixheaacd_drc_offset->n_short / 2, in ixheaacd_fd_imdct_short()
349 window_short_prev_ptr, fp, ixheaacd_drc_offset, in ixheaacd_fd_imdct_short()
353 p_in_ibuffer, window_short + ixheaacd_drc_offset->n_short - 1, in ixheaacd_fd_imdct_short()
354 fp + ixheaacd_drc_offset->n_short, ixheaacd_drc_offset->n_short, shiftp, in ixheaacd_fd_imdct_short()
356 p_in_ibuffer += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
357 fp += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
363 window_short_prev_ptr + ixheaacd_drc_offset->n_short - 1, in ixheaacd_fd_imdct_short()
364 ixheaacd_drc_offset->n_short, 1, shiftp, shift_olap, output_q); in ixheaacd_fd_imdct_short()
365 p_in_ibuffer += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
366 fp += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
372 window_short_prev_ptr + ixheaacd_drc_offset->n_short - 1, in ixheaacd_fd_imdct_short()
373 ixheaacd_drc_offset->n_short, 0, shiftp, shift_olap, output_q); in ixheaacd_fd_imdct_short()
374 p_in_ibuffer += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
375 fp += ixheaacd_drc_offset->n_short; in ixheaacd_fd_imdct_short()
378 ixheaacd_combine_fac(overlap_data + ixheaacd_drc_offset->n_flat_ls + in ixheaacd_fd_imdct_short()
379 ixheaacd_drc_offset->lfac, in ixheaacd_fd_imdct_short()
381 overlap_data + ixheaacd_drc_offset->n_flat_ls + in ixheaacd_fd_imdct_short()
382 ixheaacd_drc_offset->lfac, in ixheaacd_fd_imdct_short()
383 2 * ixheaacd_drc_offset->lfac, output_q, fac_q); in ixheaacd_fd_imdct_short()
385 memset(overlap_data + 2 * ixheaacd_drc_offset->n_long - in ixheaacd_fd_imdct_short()
386 ixheaacd_drc_offset->n_flat_ls, in ixheaacd_fd_imdct_short()
387 0, sizeof(WORD32) * ixheaacd_drc_offset->n_flat_ls); in ixheaacd_fd_imdct_short()
389 ixheaacd_drc_offset->n_flat_ls, shift_olap, output_q); in ixheaacd_fd_imdct_short()
392 overlap_data + ixheaacd_drc_offset->n_long, in ixheaacd_fd_imdct_short()
393 ixheaacd_drc_offset->n_long, output_q, shift_olap); in ixheaacd_fd_imdct_short()
394 ixheaacd_scale_down(p_out_ibuffer, overlap_data, ixheaacd_drc_offset->n_long, in ixheaacd_fd_imdct_short()
400 for (k = 0; k < ixheaacd_drc_offset->n_long; k++) { in ixheaacd_fd_imdct_short()
406 for (k = 0; k < ixheaacd_drc_offset->n_long; k++) { in ixheaacd_fd_imdct_short()
416 offset_lengths *ixheaacd_drc_offset, in ixheaacd_fd_imdct_long() argument
439 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_long()
440 ixheaacd_normalize(p_in_ibuffer, max_shift, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_long()
443 ixheaacd_acelp_imdct(p_in_ibuffer, 2 * ixheaacd_drc_offset->n_long, &shiftp, in ixheaacd_fd_imdct_long()
447 ixheaacd_calc_max_spectralline(p_in_ibuffer, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_long()
448 ixheaacd_normalize(p_in_ibuffer, max_shift - 1, ixheaacd_drc_offset->n_long); in ixheaacd_fd_imdct_long()
455 &window_long_prev, ixheaacd_drc_offset->n_long, window_select_prev); in ixheaacd_fd_imdct_long()
459 window_long_prev + ixheaacd_drc_offset->n_long - 1, p_out_ibuffer, in ixheaacd_fd_imdct_long()
460 ixheaacd_drc_offset->n_long, shiftp, shift_olap); in ixheaacd_fd_imdct_long()
466 ixheaacd_drc_offset->n_trans_ls, in ixheaacd_fd_imdct_long()
472 p_overlap_ibuffer, p_out_ibuffer, ixheaacd_drc_offset, shiftp, in ixheaacd_fd_imdct_long()
478 window_short_prev_ptr + ixheaacd_drc_offset->n_trans_ls - 1, in ixheaacd_fd_imdct_long()
479 ixheaacd_drc_offset, shiftp, shift_olap); in ixheaacd_fd_imdct_long()
484 for (i = 0; i < ixheaacd_drc_offset->n_long / 2; i++) { in ixheaacd_fd_imdct_long()
485 p_overlap_ibuffer[ixheaacd_drc_offset->n_long / 2 + i] = in ixheaacd_fd_imdct_long()
487 p_overlap_ibuffer[ixheaacd_drc_offset->n_long / 2 - i - 1] = in ixheaacd_fd_imdct_long()
491 ixheaacd_scale_down(p_out_ibuffer, p_out_ibuffer, ixheaacd_drc_offset->n_long, in ixheaacd_fd_imdct_long()
497 for (k = 0; k < ixheaacd_drc_offset->n_long; k++) { in ixheaacd_fd_imdct_long()
503 for (k = 0; k < ixheaacd_drc_offset->n_long; k++) { in ixheaacd_fd_imdct_long()
513 offset_lengths ixheaacd_drc_offset; in ixheaacd_fd_frm_dec() local
518 ixheaacd_drc_offset.n_long = usac_data->ccfl; in ixheaacd_fd_frm_dec()
519 ixheaacd_drc_offset.n_short = ixheaacd_drc_offset.n_long >> 3; in ixheaacd_fd_frm_dec()
525 ixheaacd_drc_offset.lfac = ixheaacd_drc_offset.n_long >> 4; in ixheaacd_fd_frm_dec()
527 ixheaacd_drc_offset.lfac = ixheaacd_drc_offset.n_long >> 3; in ixheaacd_fd_frm_dec()
529 ixheaacd_drc_offset.n_flat_ls = in ixheaacd_fd_frm_dec()
530 (ixheaacd_drc_offset.n_long - (ixheaacd_drc_offset.lfac) * 2) >> 1; in ixheaacd_fd_frm_dec()
532 ixheaacd_drc_offset.n_trans_ls = (ixheaacd_drc_offset.lfac) << 1; in ixheaacd_fd_frm_dec()
534 ixheaacd_drc_offset.lfac = FAC_LENGTH; in ixheaacd_fd_frm_dec()
535 ixheaacd_drc_offset.n_flat_ls = in ixheaacd_fd_frm_dec()
536 (ixheaacd_drc_offset.n_long - ixheaacd_drc_offset.n_short) >> 1; in ixheaacd_fd_frm_dec()
537 ixheaacd_drc_offset.n_trans_ls = ixheaacd_drc_offset.n_short; in ixheaacd_fd_frm_dec()
541 fac_q = ixheaacd_cal_fac_data(usac_data, i_ch, ixheaacd_drc_offset.n_long, in ixheaacd_fd_frm_dec()
542 ixheaacd_drc_offset.lfac, fac_idata); in ixheaacd_fd_frm_dec()
545 ixheaacd_fd_imdct_long(usac_data, i_ch, fac_idata, &ixheaacd_drc_offset, in ixheaacd_fd_frm_dec()
549 ixheaacd_fd_imdct_short(usac_data, i_ch, fac_idata, &ixheaacd_drc_offset, in ixheaacd_fd_frm_dec()