Home
last modified time | relevance | path

Searched refs:interp_lsp (Results 1 – 4 of 4) sorted by relevance

/external/speex/libspeex/
Dlsp.h62 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int su…
Dlsp.c614 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int su… in lsp_interpolate() argument
621 interp_lsp[i] = MULT16_16_P14(tmp2,old_lsp[i]) + MULT16_16_P14(tmp,new_lsp[i]); in lsp_interpolate()
646 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int su… in lsp_interpolate() argument
652 interp_lsp[i] = (1-tmp)*old_lsp[i] + tmp*new_lsp[i]; in lsp_interpolate()
Dnb_celp.c269 VARDECL(spx_lsp_t *interp_lsp); in nb_encode()
289 ALLOC(interp_lsp, st->lpcSize, spx_lsp_t); in nb_encode()
342 interp_lsp[i] = lsp[i]; in nb_encode()
344 … lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, st->nbSubframes, st->nbSubframes<<1); in nb_encode()
346 lsp_enforce_margin(interp_lsp, st->lpcSize, LSP_MARGIN); in nb_encode()
349 lsp_to_lpc(interp_lsp, interp_lpc, st->lpcSize,stack); in nb_encode()
663 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in nb_encode()
667 lsp_enforce_margin(interp_lsp, st->lpcSize, LSP_MARGIN); in nb_encode()
671 lsp_to_lpc(interp_lsp, interp_lpc, st->lpcSize,stack); in nb_encode()
Dsb_celp.c328 VARDECL(spx_lsp_t *interp_lsp); in sb_encode()
380 ALLOC(interp_lsp, st->lpcSize, spx_lsp_t); in sb_encode()
566 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in sb_encode()
569 lsp_enforce_margin(interp_lsp, st->lpcSize, LSP_MARGIN); in sb_encode()
572 lsp_to_lpc(interp_lsp, interp_lpc, st->lpcSize,stack); in sb_encode()