Lines Matching refs:n
284 const uint16_t *x, int *n, int nbits_budget, bool *p_lsb_mode) in compute_nbits() argument
306 for ( ; i < LC3_MIN(*n, (ne + 2) >> (1 - h)) in compute_nbits()
360 *n = n_end; in compute_nbits()
538 lc3_bits_t *bits, int nbits, const uint16_t *x, int n, const float *xf) in put_residual() argument
540 for (int i = 0; i < n && nbits > 0; i++) { in put_residual()
586 lc3_bits_t *bits, int nbits, const uint16_t *x, int n) in put_lsb() argument
588 for (int i = 0; i < n && nbits > 0; i += 2) { in put_lsb()
671 int i, n = 0, z = 0; in estimate_noise() local
676 sum += fabsf(x[i - w]), n++; in estimate_noise()
681 sum += fabsf(x[i - w]), n++; in estimate_noise()
683 int nf = n ? 8 - (int)((16 * sum) / n + 0.5f) : 0; in estimate_noise()