Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dquant_lsp.c71 static void compute_quant_weights(spx_lsp_t *qlsp, spx_word16_t *quant_weight, int order) in compute_quant_weights() argument
78 tmp1 = qlsp[i]; in compute_quant_weights()
80 tmp1 = qlsp[i]-qlsp[i-1]; in compute_quant_weights()
82 tmp2 = LSP_PI-qlsp[i]; in compute_quant_weights()
84 tmp2 = qlsp[i+1]-qlsp[i]; in compute_quant_weights()
159 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_nb() argument
166 qlsp[i]=lsp[i]; in lsp_quant_nb()
168 compute_quant_weights(qlsp, quant_weight, order); in lsp_quant_nb()
171 qlsp[i]=SUB16(qlsp[i],LSP_LINEAR(i)); in lsp_quant_nb()
175 qlsp[i] = LSP_SCALE*qlsp[i]; in lsp_quant_nb()
[all …]
Dquant_lsp.h57 void lsp_quant_nb(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
63 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
69 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits);
Dsb_celp.c327 VARDECL(spx_lsp_t *qlsp); in sb_encode()
379 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in sb_encode()
533 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits); in sb_encode()
540 st->old_qlsp[i] = qlsp[i]; in sb_encode()
567 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpcSize, sub, st->nbSubframes); in sb_encode()
744 st->old_qlsp[i] = qlsp[i]; in sb_encode()
883 VARDECL(spx_lsp_t *qlsp); in sb_decode()
967 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in sb_decode()
969 SUBMODE(lsp_unquant)(qlsp, st->lpcSize, bits); in sb_decode()
974 st->old_qlsp[i] = qlsp[i]; in sb_decode()
[all …]
Dnb_celp.c268 VARDECL(spx_lsp_t *qlsp); in nb_encode()
288 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in nb_encode()
577 SUBMODE(lsp_quant)(lsp, qlsp, st->lpcSize, bits); in nb_encode()
580 qlsp[i]=lsp[i]; in nb_encode()
634 st->old_qlsp[i] = qlsp[i]; in nb_encode()
664 lsp_interpolate(st->old_qlsp, qlsp, interp_qlsp, st->lpcSize, sub, st->nbSubframes); in nb_encode()
894 st->old_qlsp[i] = qlsp[i]; in nb_encode()
1100 VARDECL(spx_lsp_t *qlsp); in nb_decode()
1227 ALLOC(qlsp, st->lpcSize, spx_lsp_t); in nb_decode()
1230 SUBMODE(lsp_unquant)(qlsp, st->lpcSize, bits); in nb_decode()
[all …]