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