Lines Matching refs:order
71 static void compute_quant_weights(spx_lsp_t *qlsp, spx_word16_t *quant_weight, int order) in compute_quant_weights() argument
75 for (i=0;i<order;i++) in compute_quant_weights()
81 if (i==order-1) 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
165 for (i=0;i<order;i++) in lsp_quant_nb()
168 compute_quant_weights(qlsp, quant_weight, order); in lsp_quant_nb()
170 for (i=0;i<order;i++) in lsp_quant_nb()
174 for (i=0;i<order;i++) in lsp_quant_nb()
177 id = lsp_quant(qlsp, cdbk_nb, NB_CDBK_SIZE, order); in lsp_quant_nb()
180 for (i=0;i<order;i++) in lsp_quant_nb()
202 for (i=0;i<order;i++) in lsp_quant_nb()
205 for (i=0;i<order;i++) in lsp_quant_nb()
209 for (i=0;i<order;i++) in lsp_quant_nb()
213 void lsp_unquant_nb(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_nb() argument
216 for (i=0;i<order;i++) in lsp_unquant_nb()
242 void lsp_quant_lbr(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_lbr() argument
248 for (i=0;i<order;i++) in lsp_quant_lbr()
251 compute_quant_weights(qlsp, quant_weight, order); in lsp_quant_lbr()
253 for (i=0;i<order;i++) in lsp_quant_lbr()
256 for (i=0;i<order;i++) in lsp_quant_lbr()
259 id = lsp_quant(qlsp, cdbk_nb, NB_CDBK_SIZE, order); in lsp_quant_lbr()
262 for (i=0;i<order;i++) in lsp_quant_lbr()
272 for (i=0;i<order;i++) in lsp_quant_lbr()
275 for (i=0;i<order;i++) in lsp_quant_lbr()
279 for (i=0;i<order;i++) in lsp_quant_lbr()
283 void lsp_unquant_lbr(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_lbr() argument
286 for (i=0;i<order;i++) in lsp_unquant_lbr()
306 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_high() argument
310 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_high() argument
319 void lsp_quant_high(spx_lsp_t *lsp, spx_lsp_t *qlsp, int order, SpeexBits *bits) in lsp_quant_high() argument
325 for (i=0;i<order;i++) in lsp_quant_high()
328 compute_quant_weights(qlsp, quant_weight, order); in lsp_quant_high()
339 for (i=0;i<order;i++) in lsp_quant_high()
342 for (i=0;i<order;i++) in lsp_quant_high()
345 id = lsp_quant(qlsp, high_lsp_cdbk, 64, order); in lsp_quant_high()
348 for (i=0;i<order;i++) in lsp_quant_high()
351 id = lsp_weight_quant(qlsp, quant_weight, high_lsp_cdbk2, 64, order); in lsp_quant_high()
355 for (i=0;i<order;i++) in lsp_quant_high()
358 for (i=0;i<order;i++) in lsp_quant_high()
362 for (i=0;i<order;i++) in lsp_quant_high()
366 void lsp_unquant_high(spx_lsp_t *lsp, int order, SpeexBits *bits) in lsp_unquant_high() argument
370 for (i=0;i<order;i++) in lsp_unquant_high()
375 for (i=0;i<order;i++) in lsp_unquant_high()
376 lsp[i] += LSP_DIV_256(high_lsp_cdbk[id*order+i]); in lsp_unquant_high()
380 for (i=0;i<order;i++) in lsp_unquant_high()
381 lsp[i] += LSP_DIV_512(high_lsp_cdbk2[id*order+i]); in lsp_unquant_high()