Searched refs:lsb_mode (Results 1 – 5 of 5) sorted by relevance
/liblc3-3.7.0-3.6.0/src/ |
D | spec.c | 292 bool lsb_mode = nbytes >= 20 * (3 + (int)sr); in compute_nbits() local 330 if (lsb_mode) { in compute_nbits() 335 for (m >>= lsb_mode; m; m >>= 1, k++) in compute_nbits() 365 *p_lsb_mode = lsb_mode && in compute_nbits() 387 const uint16_t *x, int nq, bool lsb_mode) in put_quantized() argument 414 if (lsb_mode) in put_quantized() 418 for (m >>= lsb_mode; m; m >>= 1, k++) { in put_quantized() 425 a >>= lsb_mode; in put_quantized() 426 b >>= lsb_mode; in put_quantized() 428 shr = k - lsb_mode; in put_quantized() [all …]
|
D | spec.h | 42 bool lsb_mode; member
|
/liblc3-3.7.0-3.6.0/test/ |
D | spec.py | 193 self.lsb_mode = mode == 1 and nbits_est > nbits_spec 195 return (nbits_est, nbits_trunc, lastnz_trunc, self.lsb_mode) 291 (nbits_est, nbits_trunc, lastnz_trunc, lsb_mode) = \ 313 b.write_uint(self.lsb_mode, 1) 343 if lev == 0 and self.lsb_mode: 360 if lev > 0 and self.lsb_mode: 383 if self.lsb_mode == 0: 408 (self.lastnz, self.lsb_mode, self.g_idx) = \ 430 self.lsb_mode = b.read_uint(1) 466 if self.lsb_mode == 0 or lev > 0: [all …]
|
D | spec_py.c | 106 bool lsb_mode; in compute_nbits_py() local 124 dt, sr, nbytes, __xq, &nq, nbits_budget, &lsb_mode); in compute_nbits_py() 126 return Py_BuildValue("iii", nbits, nq, lsb_mode); in compute_nbits_py()
|
D | ctypes.h | 587 new_scalar(NPY_BOOL, &side->lsb_mode)); in new_spec_side() 610 to_scalar(item, NPY_BOOL, &side->lsb_mode)); in to_spec_data()
|