Home | History | Annotate | Download | only in libtiff

Lines Matching defs:bit

72 	const unsigned char* bitmap;	/* bit reversal table */
74 int bit; /* current i/o bit in byte */
108 uint32 BitAcc; /* bit accumulator */ \
116 const unsigned char* bitmap = sp->bitmap; /* input data bit reverser */ \
127 BitsAvail = sp->bit; \
136 sp->bit = BitsAvail; \
153 sp->bit = 0; /* force initial read */
157 * Decoder assumes lsb-to-msb bit order. Note that we select
291 is1D = GetBits(1); /* 1D/2D-encoding tag bit */
325 * For machines with 64-bit longs this is <16 bytes; otherwise
364 * Bit-fill a row according to the white/black
573 (sp)->data = 0, (sp)->bit = 8; \
580 data = 0, bit = 8; \
585 while (length > bit) { \
586 data |= bits >> (length - bit); \
587 length -= bit; \
591 data |= (bits & _msbmask[length]) << (bit - length); \
592 bit -= length; \
593 if (bit == 0) \
598 * Write a variable-length bit-value to
606 unsigned int bit = sp->bit;
612 sp->bit = bit;
624 printf("%08X/%-2d: %s%5d\t", data, bit, DEBUG_COLOR(what), len); \
641 unsigned int bit = sp->bit;
671 sp->bit = bit;
677 * here. We also handle writing the tag bit for the next
684 unsigned int bit = sp->bit;
690 * Force bit alignment so EOL will terminate on
691 * a byte boundary. That is, force the bit alignment
695 if (align != sp->bit) {
696 if (align > sp->bit)
697 align = sp->bit + (8 - align);
699 align = sp->bit - align;
711 sp->bit = bit;
724 sp->bit = 8;
805 * table. The ``base'' of the bit string is supplied
806 * along with the start+end bit indices.
822 if (span > bits) /* constrain span to bit range */
881 if (span > bits) /* constrain span to bit range */
927 * Return the offset of the next bit in the range
929 * color. The end, be, is returned if no such bit
935 * Like finddiff, but also check the starting bit
966 if (sp->bit != 8) /* byte-align */
1083 if (sp->bit != 8)
1323 tif->tif_flags |= TIFF_NOBITREV; /* decoder does bit reversal */
1462 if (sp->bit != 8)