Home | History | Annotate | Download | only in libtiff

Lines Matching refs:maxcode

65 #define MAXCODE(n)	((1L<<(n))-1)
76 #define CODE_MAX MAXCODE(BITS_MAX)
81 #define CSIZE (MAXCODE(BITS_MAX)+1024L)
83 #define CSIZE (MAXCODE(BITS_MAX)+1L)
95 unsigned short maxcode; /* maximum code for lzw_nbits */
104 #define lzw_maxcode base.maxcode
301 sp->lzw_maxcode = MAXCODE(BITS_MIN);
311 sp->lzw_maxcode = MAXCODE(BITS_MIN)-1;
319 sp->dec_nbitsmask = MAXCODE(BITS_MIN);
449 nbitsmask = MAXCODE(BITS_MIN);
494 nbitsmask = MAXCODE(nbits);
676 nbitsmask = MAXCODE(BITS_MIN);
719 nbitsmask = MAXCODE(nbits);
829 sp->lzw_maxcode = MAXCODE(BITS_MIN);
894 int free_ent, maxcode, nbits;
913 maxcode = sp->lzw_maxcode;
993 maxcode = MAXCODE(BITS_MIN);
999 if (free_ent > maxcode) {
1002 maxcode = (int) MAXCODE(nbits);
1021 maxcode = MAXCODE(BITS_MIN);
1040 sp->lzw_maxcode = (unsigned short)maxcode;