• Home
  • Raw
  • Download

Lines Matching refs:id

162    int id;  in lsp_quant_nb()  local
177 id = lsp_quant(qlsp, cdbk_nb, NB_CDBK_SIZE, order); in lsp_quant_nb()
178 speex_bits_pack(bits, id, 6); in lsp_quant_nb()
183 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low1, NB_CDBK_SIZE_LOW1, 5); in lsp_quant_nb()
184 speex_bits_pack(bits, id, 6); in lsp_quant_nb()
189 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low2, NB_CDBK_SIZE_LOW2, 5); in lsp_quant_nb()
190 speex_bits_pack(bits, id, 6); in lsp_quant_nb()
192 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high1, NB_CDBK_SIZE_HIGH1, 5); in lsp_quant_nb()
193 speex_bits_pack(bits, id, 6); in lsp_quant_nb()
198 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high2, NB_CDBK_SIZE_HIGH2, 5); in lsp_quant_nb()
199 speex_bits_pack(bits, id, 6); in lsp_quant_nb()
215 int i, id; in lsp_unquant_nb() local
220 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_nb()
222 lsp[i] = ADD32(lsp[i], LSP_DIV_256(cdbk_nb[id*10+i])); in lsp_unquant_nb()
224 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_nb()
226 lsp[i] = ADD16(lsp[i], LSP_DIV_512(cdbk_nb_low1[id*5+i])); in lsp_unquant_nb()
228 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_nb()
230 lsp[i] = ADD32(lsp[i], LSP_DIV_1024(cdbk_nb_low2[id*5+i])); in lsp_unquant_nb()
232 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_nb()
234 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_512(cdbk_nb_high1[id*5+i])); in lsp_unquant_nb()
236 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_nb()
238 lsp[i+5] = ADD32(lsp[i+5], LSP_DIV_1024(cdbk_nb_high2[id*5+i])); in lsp_unquant_nb()
245 int id; in lsp_quant_lbr() local
259 id = lsp_quant(qlsp, cdbk_nb, NB_CDBK_SIZE, order); in lsp_quant_lbr()
260 speex_bits_pack(bits, id, 6); in lsp_quant_lbr()
265 id = lsp_weight_quant(qlsp, quant_weight, cdbk_nb_low1, NB_CDBK_SIZE_LOW1, 5); in lsp_quant_lbr()
266 speex_bits_pack(bits, id, 6); in lsp_quant_lbr()
268 id = lsp_weight_quant(qlsp+5, quant_weight+5, cdbk_nb_high1, NB_CDBK_SIZE_HIGH1, 5); in lsp_quant_lbr()
269 speex_bits_pack(bits, id, 6); in lsp_quant_lbr()
285 int i, id; in lsp_unquant_lbr() local
290 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_lbr()
292 lsp[i] += LSP_DIV_256(cdbk_nb[id*10+i]); in lsp_unquant_lbr()
294 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_lbr()
296 lsp[i] += LSP_DIV_512(cdbk_nb_low1[id*5+i]); in lsp_unquant_lbr()
298 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_lbr()
300 lsp[i+5] += LSP_DIV_512(cdbk_nb_high1[id*5+i]); in lsp_unquant_lbr()
322 int id; in lsp_quant_high() local
345 id = lsp_quant(qlsp, high_lsp_cdbk, 64, order); in lsp_quant_high()
346 speex_bits_pack(bits, id, 6); in lsp_quant_high()
351 id = lsp_weight_quant(qlsp, quant_weight, high_lsp_cdbk2, 64, order); in lsp_quant_high()
352 speex_bits_pack(bits, id, 6); in lsp_quant_high()
369 int i, id; in lsp_unquant_high() local
374 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_high()
376 lsp[i] += LSP_DIV_256(high_lsp_cdbk[id*order+i]); in lsp_unquant_high()
379 id=speex_bits_unpack_unsigned(bits, 6); in lsp_unquant_high()
381 lsp[i] += LSP_DIV_512(high_lsp_cdbk2[id*order+i]); in lsp_unquant_high()