Lines Matching refs:lsp
56 #include "lsp.h"
107 double lsp[4][LP_FILTER_ORDER]; ///< lsp vectors from current frame
108 double prev_lsp_sub4[LP_FILTER_ORDER]; ///< lsp vector for the 4th subframe of the previous frame
260 * Decode a set of 5 split-matrix quantized lsf indexes into an lsp vector.
263 * @param lsp output LSP vector
270 static void lsf2lsp_for_mode12k2(AMRContext *p, double lsp[LP_FILTER_ORDER],
300 ff_acelp_lsf2lspd(lsp, lsf_q, LP_FILTER_ORDER);
304 * Decode a set of 5 split-matrix quantized lsf indexes into 2 lsp vectors.
324 lsf2lsp_for_mode12k2(p, p->lsp[1], lsf_no_r, lsf_quantizer, 0, lsf_param[2] & 1, 0);
325 lsf2lsp_for_mode12k2(p, p->lsp[3], lsf_no_r, lsf_quantizer, 2, lsf_param[2] & 1, 1);
328 weighted_vector_sumd(p->lsp[0], p->prev_lsp_sub4, p->lsp[1], 0.5, 0.5, LP_FILTER_ORDER);
329 weighted_vector_sumd(p->lsp[2], p->lsp[1] , p->lsp[3], 0.5, 0.5, LP_FILTER_ORDER);
333 * Decode a set of 3 split-matrix quantized lsf indexes into an lsp vector.
364 ff_acelp_lsf2lspd(p->lsp[3], lsf_q, LP_FILTER_ORDER);
369 p->lsp[i-1][j] = p->prev_lsp_sub4[j] +
370 (p->lsp[3][j] - p->prev_lsp_sub4[j]) * 0.25 * i;
859 memcpy(p->prev_lsp_sub4, p->lsp[3], LP_FILTER_ORDER * sizeof(p->lsp[3][0]));
1001 ff_acelp_lspd2lpc(p->lsp[i], p->lpc[i], 5);