Lines Matching refs:pstr_scratch
234 iusace_scratch_mem *pstr_scratch = &usac_data->str_scratch; in iusace_core_lpd_encode() local
243 FLOAT32 *lp_filter_coeff = pstr_scratch->p_lp_filter_coeff; in iusace_core_lpd_encode()
244 FLOAT32 *lp_filter_coeff_q = pstr_scratch->p_lp_filter_coeff_q; in iusace_core_lpd_encode()
246 FLOAT32 *ptr_stack_mem = (FLOAT32 *)pstr_scratch->ptr_stack_mem; in iusace_core_lpd_encode()
277 WORD32 *prm_tcx = pstr_scratch->p_prm_tcx; in iusace_core_lpd_encode()
279 FLOAT32 *wsp_prev_buf = pstr_scratch->p_wsp_prev_buf; in iusace_core_lpd_encode()
323 memcpy(pstr_scratch->p_wsig_buf, st->weighted_sig, 128 * sizeof(FLOAT32)); in iusace_core_lpd_encode()
345 (FLOAT32 *)lp_analysis_window, pstr_scratch->p_buf_aut_corr); in iusace_core_lpd_encode()
362 window_len, (FLOAT32 *)lp_analysis_window, pstr_scratch->p_buf_aut_corr); in iusace_core_lpd_encode()
398 FLOAT32 *temp_speech = pstr_scratch->p_buf_speech; in iusace_core_lpd_encode()
399 FLOAT32 *temp_res = pstr_scratch->p_buf_res; in iusace_core_lpd_encode()
405 FLOAT32 *temp_signal = pstr_scratch->p_buf_signal; in iusace_core_lpd_encode()
420 pstr_scratch); in iusace_core_lpd_encode()
452 memcpy(pstr_scratch->p_wsig_buf, st->weighted_sig, 128 * sizeof(FLOAT32)); in iusace_core_lpd_encode()
455 pstr_scratch->p_fir_sig_buf); in iusace_core_lpd_encode()
469 &speech[i * len_subfrm], &pstr_scratch->p_wsig_buf[i * len_subfrm], &(st->mem_wsp), in iusace_core_lpd_encode()
471 memcpy(p_wsp_prev_buf, &pstr_scratch->p_wsig_buf[i * len_subfrm], in iusace_core_lpd_encode()
475 pstr_scratch->p_fir_sig_buf); in iusace_core_lpd_encode()
582 &speech[k * st->len_subfrm], &pstr_scratch->p_wsig_buf[k * st->len_subfrm], in iusace_core_lpd_encode()
583 &pstr_scratch->p_synth_buf[k * st->len_subfrm], in iusace_core_lpd_encode()
584 &pstr_scratch->p_wsyn_buf[k * st->len_subfrm], *codec_mode, lpd_state[k + 1], in iusace_core_lpd_encode()
586 ol_pitch_lag[(k * 2) + 1], pit_adj, p_params, pstr_scratch); in iusace_core_lpd_encode()
591 (ORDER + 1)], &pstr_scratch->p_synth_buf[k * LEN_FRAME], in iusace_core_lpd_encode()
592 pstr_scratch->p_temp_wsyn_buf, &mem_wsyn, LEN_FRAME); in iusace_core_lpd_encode()
600 memcpy(st->weighted_sig, pstr_scratch->p_wsig_buf + (st->len_frame), 128 * sizeof(FLOAT32)); in iusace_core_lpd_encode()
617 &speech[k * st->len_subfrm], &pstr_scratch->p_wsig_buf[k * st->len_subfrm], in iusace_core_lpd_encode()
618 &pstr_scratch->p_synth_buf[k * st->len_subfrm], in iusace_core_lpd_encode()
619 &pstr_scratch->p_wsyn_buf[k * st->len_subfrm], *codec_mode, lpd_state[k + 1], in iusace_core_lpd_encode()
621 ol_pitch_lag[(k * 2) + 1], pit_adj, p_params, pstr_scratch); in iusace_core_lpd_encode()
626 &pstr_scratch->p_synth_buf[k * LEN_FRAME], in iusace_core_lpd_encode()
627 pstr_scratch->p_temp_wsyn_buf, &mem_wsyn, LEN_FRAME); in iusace_core_lpd_encode()
631 ssnr_256 = iusace_cal_segsnr(&pstr_scratch->p_wsig_buf[k * LEN_FRAME], in iusace_core_lpd_encode()
632 pstr_scratch->p_temp_wsyn_buf, LEN_FRAME, LEN_SUBFR); in iusace_core_lpd_encode()
650 pstr_scratch->p_synth_tcx_buf, pstr_scratch->p_temp_wsyn_buf, in iusace_core_lpd_encode()
655 tmp_ssnr = iusace_cal_segsnr(&pstr_scratch->p_wsig_buf[k * LEN_FRAME], in iusace_core_lpd_encode()
656 pstr_scratch->p_temp_wsyn_buf, LEN_FRAME, LEN_SUBFR); in iusace_core_lpd_encode()
664 memcpy(&pstr_scratch->p_synth_buf[(k * st->len_subfrm) - 128], in iusace_core_lpd_encode()
665 pstr_scratch->p_synth_tcx_buf - 128, (st->len_subfrm + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
667 memcpy(&pstr_scratch->p_wsyn_buf[(k * st->len_subfrm) - 128], in iusace_core_lpd_encode()
668 pstr_scratch->p_wsyn_tcx_buf - 128, (st->len_subfrm + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
692 pstr_scratch->p_synth_tcx_buf, pstr_scratch->p_temp_wsyn_buf, &mem_wsyn, LEN_FRAME * 2); in iusace_core_lpd_encode()
696 tmp_ssnr = iusace_cal_segsnr(&pstr_scratch->p_wsig_buf[2 * i1 * LEN_FRAME], in iusace_core_lpd_encode()
697 pstr_scratch->p_temp_wsyn_buf, LEN_FRAME * 2, LEN_SUBFR); in iusace_core_lpd_encode()
707 memcpy(&pstr_scratch->p_synth_buf[(2 * i1 * st->len_subfrm) - 128], in iusace_core_lpd_encode()
708 pstr_scratch->p_synth_tcx_buf - 128, ((2 * st->len_subfrm) + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
709 memcpy(&pstr_scratch->p_wsyn_buf[(2 * i1 * st->len_subfrm) - 128], in iusace_core_lpd_encode()
710 pstr_scratch->p_wsyn_tcx_buf - 128, ((2 * st->len_subfrm) + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
732 pstr_scratch->p_synth_tcx_buf, pstr_scratch->p_temp_wsyn_buf, in iusace_core_lpd_encode()
737 tmp_ssnr = iusace_cal_segsnr(&pstr_scratch->p_wsig_buf[k * LEN_FRAME], in iusace_core_lpd_encode()
738 pstr_scratch->p_temp_wsyn_buf, LEN_FRAME * 4, LEN_SUBFR); in iusace_core_lpd_encode()
747 memcpy(&pstr_scratch->p_synth_buf[(k * st->len_subfrm) - 128], in iusace_core_lpd_encode()
748 pstr_scratch->p_synth_tcx_buf - 128, ((4 * st->len_subfrm) + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
749 memcpy(&pstr_scratch->p_wsyn_buf[(k * st->len_subfrm) - 128], in iusace_core_lpd_encode()
750 pstr_scratch->p_wsyn_tcx_buf - 128, ((4 * st->len_subfrm) + 128) * sizeof(FLOAT32)); in iusace_core_lpd_encode()
755 memcpy(st->weighted_sig, pstr_scratch->p_wsig_buf + (st->len_frame), 128 * sizeof(FLOAT32)); in iusace_core_lpd_encode()