Lines Matching refs:lsp
344 static void lsf2lsp(int16_t *lsf, int16_t *lsp, int order)
363 lsp[i] = cos_tbl[k] + (tmp >> 12);
367 static void get_lsp_poly(int16_t *lsp, int32_t *f)
374 f[1] = lsp[0] * -1024;
383 tmp = ((high * lsp[k]) * 4) + (((low * lsp[k]) >> 15) * 4);
389 f[l] -= lsp[k] * (1 << 10);
397 int16_t lsp[10];
401 lsf2lsp(lsf, lsp, LPC_FILTERORDER);
403 get_lsp_poly(&lsp[0], f[0]);
404 get_lsp_poly(&lsp[1], f[1]);