Lines Matching refs:bits_left
81 int bits_left; /* # of unused bits in it */ member
93 int bits_left; /* # of unused bits in it */ member
101 register int bits_left; \
109 bits_left = permstate.bits_left;
115 permstate.bits_left = bits_left
136 { if (bits_left < (nbits)) { \
137 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \
139 get_buffer = (state).get_buffer; bits_left = (state).bits_left; } }
142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits))
145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits))
148 (bits_left -= (nbits))
170 if (bits_left < HUFF_LOOKAHEAD) { \
171 if (! jpeg_fill_bit_buffer(&state,get_buffer,bits_left, 0)) {failaction;} \
172 get_buffer = state.get_buffer; bits_left = state.bits_left; \
173 if (bits_left < HUFF_LOOKAHEAD) { \
184 if ((result=jpeg_huff_decode(&state,get_buffer,bits_left,htbl,nb)) < 0) \
186 get_buffer = state.get_buffer; bits_left = state.bits_left; \
466 register bit_buf_type get_buffer, register int bits_left, in jpeg_fill_bit_buffer() argument
480 while (bits_left < MIN_GET_BITS) { in jpeg_fill_bit_buffer()
531 bits_left += 8; in jpeg_fill_bit_buffer()
539 if (nbits > bits_left) { in jpeg_fill_bit_buffer()
550 get_buffer <<= MIN_GET_BITS - bits_left; in jpeg_fill_bit_buffer()
551 bits_left = MIN_GET_BITS; in jpeg_fill_bit_buffer()
559 state->bits_left = bits_left; in jpeg_fill_bit_buffer()
593 register bit_buf_type get_buffer, register int bits_left, in jpeg_huff_decode() argument
617 state->bits_left = bits_left; in jpeg_huff_decode()
643 cinfo->marker->discarded_bytes += entropy->bitstate.bits_left / 8; in process_restart()
644 entropy->bitstate.bits_left = 0; in process_restart()
1496 entropy->bitstate.bits_left = 0; in start_pass_huff_decoder()