Lines Matching full:quant_weight
71 static void compute_quant_weights(spx_lsp_t *qlsp, spx_word16_t *quant_weight, int order)
88 quant_weight[i] = DIV32_16(81920,ADD16(300,tmp1));
90 quant_weight[i] = 10/(.04+tmp1);
163 spx_word16_t quant_weight[10];
168 compute_quant_weights(qlsp, quant_weight, order);
183 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low1, NB_CDBK_SIZE_LOW1, 5);
189 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low2, NB_CDBK_SIZE_LOW2, 5);
192 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high1, NB_CDBK_SIZE_HIGH1, 5);
198 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high2, NB_CDBK_SIZE_HIGH2, 5);
246 spx_word16_t quant_weight[10];
251 compute_quant_weights(qlsp, quant_weight, order);
265 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low1, NB_CDBK_SIZE_LOW1, 5);
268 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high1, NB_CDBK_SIZE_HIGH1, 5);
323 spx_word16_t quant_weight[10];
328 compute_quant_weights(qlsp, quant_weight, order);
330 /* quant_weight[0] = 10/(qlsp[1]-qlsp[0]);
331 quant_weight[order-1] = 10/(qlsp[order-1]-qlsp[order-2]);
336 quant_weight[i] = tmp1 > tmp2 ? tmp1 : tmp2;
351 id = lsp_weight_quant(qlsp, quant_weight, high_lsp_cdbk2, 64, order);