Home | History | Annotate | Download | only in libspeex

Lines Matching refs:lsp

3    LSP vector quantization
159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
166 qlsp[i]=lsp[i];
210 qlsp[i]=lsp[i]-qlsp[i];
213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits)
217 lsp[i]=LSP_LINEAR(i);
222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i]));
226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i]));
230 lsp[i] = ADD32(lsp[i], LSP_DIV_1024(cdbk_nb_low2[id*5+i]));
234 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_512(cdbk_nb_high1[id*5+i]));
238 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_1024(cdbk_nb_high2[id*5+i]));
242 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
249 qlsp[i]=lsp[i];
280 qlsp[i]=lsp[i]-qlsp[i];
283 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits)
287 lsp[i]=LSP_LINEAR(i);
292 lsp[i] += LSP_DIV_256(cdbk_nb[id*10+i]);
296 lsp[i] += LSP_DIV_512(cdbk_nb_low1[id*5+i]);
300 lsp[i+5] += LSP_DIV_512(cdbk_nb_high1[id*5+i]);
306 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
310 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits)
319 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits)
326 qlsp[i]=lsp[i];
363 qlsp[i]=lsp[i]-qlsp[i];
366 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits)
371 lsp[i]=LSP_LINEAR_HIGH(i);
376 lsp[i] += LSP_DIV_256(high_lsp_cdbk[id*order+i]);
381 lsp[i] += LSP_DIV_512(high_lsp_cdbk2[id*order+i]);