Home | History | Annotate | Download | only in libjpeg

Lines Matching full:nbits

135 #define CHECK_BIT_BUFFER(state,nbits,action) \
136 { if (bits_left < (nbits)) { \
137 if (! jpeg_fill_bit_buffer(&(state),get_buffer,bits_left,nbits)) \
141 #define GET_BITS(nbits) \
142 (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits))
144 #define PEEK_BITS(nbits) \
145 (((int) (get_buffer >> (bits_left - (nbits)))) & BIT_MASK(nbits))
147 #define DROP_BITS(nbits) \
148 (bits_left -= (nbits))
467 int nbits)
468 /* Load up the bit buffer to a depth of at least nbits */
539 if (nbits > bits_left) {
572 #define BIT_MASK(nbits) ((1<<(nbits))-1)
577 #define BIT_MASK(nbits) bmask[nbits]