Home
last modified time | relevance | path

Searched refs:old_lsp (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dpoly_to_lsp.c31 int16_t *old_lsp /* (i) old LSP coefficients that are used if the new in WebRtcIlbcfix_Poly2Lsp() argument
155 WEBRTC_SPL_MEMCPY_W16(lsp, old_lsp, 10); in WebRtcIlbcfix_Poly2Lsp()
Dpoly_to_lsp.h32 int16_t *old_lsp /* (i) old LSP coefficients that are used if the new
/external/speex/libspeex/
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()
Dlsp.h62 void lsp_interpolate(spx_lsp_t *old_lsp, spx_lsp_t *new_lsp, spx_lsp_t *interp_lsp, int len, int su…
Dnb_celp.c171 st->old_lsp = (spx_lsp_t*)speex_alloc((st->lpcSize)*sizeof(spx_lsp_t)); in nb_encoder_init()
175 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in nb_encoder_init()
227 speex_free (st->old_lsp); in nb_encoder_destroy()
329 lsp[i]=st->old_lsp[i]; in nb_encode()
344 … lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, st->nbSubframes, st->nbSubframes<<1); in nb_encode()
428 lsp_dist += (st->old_lsp[i] - lsp[i])*(st->old_lsp[i] - lsp[i]); in nb_encode()
571 st->old_lsp[i] = lsp[i]; in nb_encode()
663 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in nb_encode()
892 st->old_lsp[i] = lsp[i]; in nb_encode()
1702 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in nb_encoder_ctl()
Dsb_celp.c242 st->old_lsp = (spx_lsp_t*)speex_alloc(st->lpcSize*sizeof(spx_lsp_t)); in sb_encoder_init()
254 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in sb_encoder_init()
289 speex_free(st->old_lsp); in sb_encoder_destroy()
419 lsp[i]=st->old_lsp[i]; in sb_encode()
538 st->old_lsp[i] = lsp[i]; in sb_encode()
566 lsp_interpolate(st->old_lsp, lsp, interp_lsp, st->lpcSize, sub, st->nbSubframes); in sb_encode()
742 st->old_lsp[i] = lsp[i]; in sb_encode()
1258 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); in sb_encoder_ctl()
Dsb_celp.h64 spx_lsp_t *old_lsp; /**< LSPs of previous frame */ member
Dnb_celp.h85 spx_lsp_t *old_lsp; /**< LSPs for previous frame */ member