Lines Matching refs:inbufBitCount
98 unsigned int inbufBitCount, inbufBits; member
122 while (bd->inbufBitCount < bits_wanted) { in get_bits()
136 if (bd->inbufBitCount >= 24) { in get_bits()
137 bits = bd->inbufBits&((1 << bd->inbufBitCount)-1); in get_bits()
138 bits_wanted -= bd->inbufBitCount; in get_bits()
140 bd->inbufBitCount = 0; in get_bits()
144 bd->inbufBitCount += 8; in get_bits()
147 bd->inbufBitCount -= bits_wanted; in get_bits()
148 bits |= (bd->inbufBits >> bd->inbufBitCount)&((1 << bits_wanted)-1); in get_bits()
259 bd->inbufBitCount++; in get_next_block()
379 while (bd->inbufBitCount < hufGroup->maxLen) { in get_next_block()
386 bd->inbufBitCount += 8; in get_next_block()
388 bd->inbufBitCount -= hufGroup->maxLen; in get_next_block()
389 j = (bd->inbufBits >> bd->inbufBitCount)& in get_next_block()
397 bd->inbufBitCount += (hufGroup->maxLen - i); in get_next_block()