Lines Matching refs:lsp
39 #include "lsp.h"
267 VARDECL(spx_lsp_t *lsp);
287 ALLOC(lsp, st->lpcSize, spx_lsp_t);
322 roots=lpc_to_lsp (lpc, st->lpcSize, lsp, 10, LSP_DELTA1, stack);
326 /*If we can't find all LSP's, do some damage control and use previous filter*/
329 lsp[i]=st->old_lsp[i];
342 interp_lsp[i] = lsp[i];
344 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, st->nbSubframes, st->nbSubframes<<1);
428 lsp_dist += (st->old_lsp[i] - lsp[i])*(st->old_lsp[i] - lsp[i]);
567 /* LSP Quantization */
571 st->old_lsp[i] = lsp[i];
577 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits);
580 qlsp[i]=lsp[i];
662 /* LSP interpolation (quantized and unquantized) */
663 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes);
892 st->old_lsp[i] = lsp[i];
1232 /*Damp memory if a frame was lost and the LSP changed too much*/
1513 /* LSP interpolation (quantized and unquantized) */
1516 /* Make sure the LSP's are stable */