• Home
  • Raw
  • Download

Lines Matching refs:k

323             int k = 0;  in compute_nbits()  local
329 nbits += lc3_spectrum_bits[lut[k++]][16] - 2*2048; in compute_nbits()
333 for (m >>= lsb_mode; m; m >>= 1, k++) in compute_nbits()
334 nbits += lc3_spectrum_bits[lut[LC3_MIN(k, 3)]][16]; in compute_nbits()
336 nbits += k * 2*2048; in compute_nbits()
337 a >>= k; in compute_nbits()
338 b >>= k; in compute_nbits()
340 k = LC3_MIN(k, 3); in compute_nbits()
345 nbits += lc3_spectrum_bits[lut[k]][a + 4*b]; in compute_nbits()
354 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in compute_nbits()
408 int k = 0, shr = 0; in put_quantized() local
414 lc3_spectrum_models + lut[k++], 16); in put_quantized()
416 for (m >>= lsb_mode; m; m >>= 1, k++) { in put_quantized()
417 lc3_put_bit(bits, (a >> k) & 1); in put_quantized()
418 lc3_put_bit(bits, (b >> k) & 1); in put_quantized()
420 lc3_spectrum_models + lut[LC3_MIN(k, 3)], 16); in put_quantized()
426 shr = k - lsb_mode; in put_quantized()
427 k = LC3_MIN(k, 3); in put_quantized()
440 lc3_put_symbol(bits, lc3_spectrum_models + lut[k], a + 4*b); in put_quantized()
444 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in put_quantized()
484 int k = 0, shl = 0; in get_quantized() local
486 unsigned s = lc3_get_symbol(bits, lc3_spectrum_models + lut[k]); in get_quantized()
489 s = lc3_get_symbol(bits, lc3_spectrum_models + lut[++k]); in get_quantized()
497 k += (k < 3); in get_quantized()
498 s = lc3_get_symbol(bits, lc3_spectrum_models + lut[k]); in get_quantized()
519 state = (state << 4) + (k > 1 ? 12 + k : 1 + (a + b) * (k + 1)); in get_quantized()