Lines Matching refs:wbit
349 unsigned int nc, bl, wbit = jd->dbit % 32; in huffext() local
350 uint32_t w = jd->wreg & ((1UL << wbit) - 1); in huffext()
353 while(wbit < 16) { /* Prepare 16 bits into the working register */ in huffext()
378 wbit += 8; in huffext()
386 d = (unsigned int)(w >> (wbit - HUFF_BIT)); /* Short code as table index */ in huffext()
390 jd->dbit = wbit - (d >> 8); /* Snip the code length */ in huffext()
397 jd->dbit = wbit - (d >> 4); /* Snip the code length */ in huffext()
417 d = w >> (wbit - bl); in huffext()
420 jd->dbit = wbit - bl; /* Snip the huffman code */ in huffext()
488 unsigned int wbit = jd->dbit % 32; in bitext() local
489 uint32_t w = jd->wreg & ((1UL << wbit) - 1); in bitext()
492 while(wbit < nbit) { /* Prepare nbit bits into the working register */ in bitext()
517 wbit += 8; in bitext()
520 jd->dbit = wbit - nbit; in bitext()
524 return (int)(w >> ((wbit - nbit) % 32)); in bitext()