GET_BITS is only used within LibJPEG.
 
Symbols
loading...
Files
loading...

GET_BITS macro

Syntax

#define GET_BITS(nbits) \     (((int) (get_buffer >> (bits_left -= (nbits)))) & BIT_MASK(nbits))

Arguments

nbits

References

LocationText
jdhuff.c:141
#define GET_BITS(nbits) \
jdhuff.c:603
code = GET_BITS(l);
jdhuff.c:611
code |= GET_BITS(1);
jdhuff.c:737
r = GET_BITS(s);
jdhuff.c:814
r = GET_BITS(s);
jdhuff.c:825
r = GET_BITS(r);
jdhuff.c:884
if (GET_BITS(1))
jdhuff.c:962
if (GET_BITS(1))
jdhuff.c:971
r = GET_BITS(r);
jdhuff.c:986
if (GET_BITS(1)) {
jdhuff.c:1020
if (GET_BITS(1)) {
jdhuff.c:1107
r = GET_BITS(s);
jdhuff.c:1127
r = GET_BITS(s);
jdhuff.c:1231
r = GET_BITS(s);
jdhuff.c:1251
r = GET_BITS(s);