Lines Matching refs:lsf_r
266 int16_t lsf_r[LP_FILTER_ORDER]; // residual LSF vector in lsf2lsp_for_mode12k2() local
271 memcpy(&lsf_r[i << 1], &lsf_quantizer[i][quantizer_offset], in lsf2lsp_for_mode12k2()
272 2 * sizeof(*lsf_r)); in lsf2lsp_for_mode12k2()
275 lsf_r[4] *= -1; in lsf2lsp_for_mode12k2()
276 lsf_r[5] *= -1; in lsf2lsp_for_mode12k2()
280 memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(*lsf_r)); in lsf2lsp_for_mode12k2()
283 lsf_q[i] = lsf_r[i] * (LSF_R_FAC / 8000.0) + lsf_no_r[i] * (1.0 / 8000.0); in lsf2lsp_for_mode12k2()
330 int16_t lsf_r[LP_FILTER_ORDER]; // residual LSF vector in lsf2lsp_3() local
336 memcpy(lsf_r, lsf_quantizer, 3 * sizeof(*lsf_r)); in lsf2lsp_3()
339 memcpy(lsf_r + 3, lsf_quantizer, 3 * sizeof(*lsf_r)); in lsf2lsp_3()
342 memcpy(lsf_r + 6, lsf_quantizer, 4 * sizeof(*lsf_r)); in lsf2lsp_3()
346 …lsf_q[i] = (lsf_r[i] + p->prev_lsf_r[i] * pred_fac[i]) * (LSF_R_FAC / 8000.0) + lsf_3_mean[i] * (1… in lsf2lsp_3()
352 memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(*lsf_r)); in lsf2lsp_3()