Lines Matching refs:inbufBitCount
99 unsigned int inbufBitCount, inbufBits; member
123 while (bd->inbufBitCount < bits_wanted) { in get_bits()
137 if (bd->inbufBitCount >= 24) { in get_bits()
138 bits = bd->inbufBits&((1 << bd->inbufBitCount)-1); in get_bits()
139 bits_wanted -= bd->inbufBitCount; in get_bits()
141 bd->inbufBitCount = 0; in get_bits()
145 bd->inbufBitCount += 8; in get_bits()
148 bd->inbufBitCount -= bits_wanted; in get_bits()
149 bits |= (bd->inbufBits >> bd->inbufBitCount)&((1 << bits_wanted)-1); in get_bits()
260 bd->inbufBitCount++; in get_next_block()
380 while (bd->inbufBitCount < hufGroup->maxLen) { in get_next_block()
387 bd->inbufBitCount += 8; in get_next_block()
389 bd->inbufBitCount -= hufGroup->maxLen; in get_next_block()
390 j = (bd->inbufBits >> bd->inbufBitCount)& in get_next_block()
398 bd->inbufBitCount += (hufGroup->maxLen - i); in get_next_block()