Lines Matching refs:LEN_SUBFR

173   ixheaacd_memset(st->bpf_prev, FILTER_DELAY + LEN_SUBFR);  in ixheaacd_fix2flt_data()
223 FLOAT32 noise_buf[FILTER_DELAY + (2 * LEN_SUBFR)], *noise_tmp1, *noise_tmp2, in ixheaacd_bass_post_filter()
227 noise_tmp2 = noise_buf + FILTER_DELAY + LEN_SUBFR; in ixheaacd_bass_post_filter()
229 memcpy(synth_out, synth_sig - LEN_SUBFR, len_fr * sizeof(FLOAT32)); in ixheaacd_bass_post_filter()
232 memset(synth_out + len_fr, 0, (LEN_SUBFR - len_fr % 64) * sizeof(FLOAT32)); in ixheaacd_bass_post_filter()
235 for (num_subfr = 0; num_subfr < len_fr; num_subfr += LEN_SUBFR, sf++) { in ixheaacd_bass_post_filter()
248 for (i = 0; i < LEN_SUBFR + 96; i++) { in ixheaacd_bass_post_filter()
260 if (lg > LEN_SUBFR) lg = LEN_SUBFR; in ixheaacd_bass_post_filter()
283 for (i = lg; i < LEN_SUBFR; i++) { in ixheaacd_bass_post_filter()
288 memset(noise_tmp2, 0, LEN_SUBFR * sizeof(FLOAT32)); in ixheaacd_bass_post_filter()
291 memcpy(noise_buf, bpf_prev, (FILTER_DELAY + LEN_SUBFR) * sizeof(FLOAT32)); in ixheaacd_bass_post_filter()
292 memcpy(bpf_prev, noise_buf + LEN_SUBFR, in ixheaacd_bass_post_filter()
293 (FILTER_DELAY + LEN_SUBFR) * sizeof(FLOAT32)); in ixheaacd_bass_post_filter()
295 for (i = 0; i < LEN_SUBFR; i++) { in ixheaacd_bass_post_filter()
367 synth_delay = num_subfr_by2 * LEN_SUBFR; in ixheaacd_lpd_dec()
469 length = (2 * len_subfrm - tmp_start) / LEN_SUBFR; in ixheaacd_lpd_dec()
473 &ptr_tmp[tmp_start], LEN_SUBFR, length); in ixheaacd_lpd_dec()
589 if ((((i * LEN_SUBFR) + LEN_SUBFR) > LEN_SUPERFRAME) || in ixheaacd_lpd_dec()
590 ((((i * LEN_SUBFR) + LEN_SUBFR) - tp) > LEN_SUPERFRAME)) in ixheaacd_lpd_dec()
592 for (k = 0; k < LEN_SUBFR; k++) { in ixheaacd_lpd_dec()
594 synth[i * LEN_SUBFR + k] * synth[(i * LEN_SUBFR) - tp + k]; in ixheaacd_lpd_dec()
596 synth[(i * LEN_SUBFR) - tp + k] * synth[(i * LEN_SUBFR) - tp + k]; in ixheaacd_lpd_dec()
625 lpd_delay = lpd_sbf_len * LEN_SUBFR; in ixheaacd_lpd_dec_update()
627 synth_delay = num_subfr_by2 * LEN_SUBFR; in ixheaacd_lpd_dec_update()
630 for (i = 0; i < LEN_SUBFR + synth_delay; i++) in ixheaacd_lpd_dec_update()
632 (FLOAT32)tddec->synth_prev[MAX_PITCH - (LEN_SUBFR) + i] * 16384.0); in ixheaacd_lpd_dec_update()
634 ptr_overlap += LEN_SUBFR + synth_delay - fac_length; in ixheaacd_lpd_dec_update()
671 lpd_delay = lpd_sbf_len * LEN_SUBFR; in ixheaacd_lpd_bpf_fix()
673 synth_delay = num_subfr_by2 * LEN_SUBFR; in ixheaacd_lpd_bpf_fix()
678 ixheaacd_mem_cpy(out_buffer, synth_buf + MAX_PITCH - (LEN_SUBFR), in ixheaacd_lpd_bpf_fix()
679 synth_delay + len_fr + (LEN_SUBFR)); in ixheaacd_lpd_bpf_fix()
702 if ((i * LEN_SUBFR + MAX_PITCH) < tp) { in ixheaacd_lpd_bpf_fix()
704 } else if (((i * LEN_SUBFR + MAX_PITCH - tp) >= 1883) || in ixheaacd_lpd_bpf_fix()
705 (((i * LEN_SUBFR) + LEN_SUBFR) > LEN_SUPERFRAME) || in ixheaacd_lpd_bpf_fix()
706 ((((i * LEN_SUBFR) + LEN_SUBFR) - tp) > LEN_SUPERFRAME)) { in ixheaacd_lpd_bpf_fix()
712 for (k = 0; k < LEN_SUBFR; k++) { in ixheaacd_lpd_bpf_fix()
714 synth[i * LEN_SUBFR + k] * synth[(i * LEN_SUBFR) - tp + k]; in ixheaacd_lpd_bpf_fix()
716 synth[(i * LEN_SUBFR) - tp + k] * synth[(i * LEN_SUBFR) - tp + k]; in ixheaacd_lpd_bpf_fix()
723 (lpd_sbf_len + 2) * LEN_SUBFR + LEN_SUBFR, in ixheaacd_lpd_bpf_fix()
724 len_fr - (lpd_sbf_len + 4) * LEN_SUBFR, in ixheaacd_lpd_bpf_fix()
729 (lpd_sbf_len + 2) * LEN_SUBFR + LEN_SUBFR); in ixheaacd_lpd_bpf_fix()