Lines Matching refs:nb
364 wd = (s->band[0].nb*127) >> 7; in g722_encode()
365 s->band[0].nb = wd + wl[il4]; in g722_encode()
366 if (s->band[0].nb < 0) in g722_encode()
367 s->band[0].nb = 0; in g722_encode()
368 else if (s->band[0].nb > 18432) in g722_encode()
369 s->band[0].nb = 18432; in g722_encode()
372 wd1 = (s->band[0].nb >> 6) & 31; in g722_encode()
373 wd2 = 8 - (s->band[0].nb >> 11); in g722_encode()
379 int nb; in g722_encode() local
396 wd = (s->band[1].nb*127) >> 7; in g722_encode()
398 nb = wd + wh[ih2]; in g722_encode()
399 if (nb < 0) in g722_encode()
400 nb = 0; in g722_encode()
401 else if (nb > 22528) in g722_encode()
402 nb = 22528; in g722_encode()
403 s->band[1].nb = nb; in g722_encode()
406 wd1 = (s->band[1].nb >> 6) & 31; in g722_encode()
407 wd2 = 10 - (s->band[1].nb >> 11); in g722_encode()