Lines Matching defs:bit

71 	const tif_char* bitmap;		/* bit reversal table */
73 int bit; /* current i/o bit in byte */
86 int bit; /* current i/o bit in byte */
111 uint32 BitAcc; /* bit accumulator */ \
119 const tif_char* bitmap = sp->bitmap;/* input data bit reverser */ \
130 BitsAvail = sp->bit; \
139 sp->bit = BitsAvail; \
156 sp->bit = 0; /* force initial read */
160 * Decoder assumes lsb-to-msb bit order. Note that we select
279 is1D = GetBits(1); /* 1D/2D-encoding tag bit */
314 * For machines with 64-bit longs this is <16 bytes; otherwise
539 (sp)->data = 0, (sp)->bit = 8; \
546 data = 0, bit = 8; \
551 while (length > bit) { \
552 data |= bits >> (length - bit); \
553 length -= bit; \
556 data |= (bits & _msbmask[length]) << (bit - length); \
557 bit -= length; \
558 if (bit == 0) \
563 * Write a variable-length bit-value to
571 tif_int bit = sp->bit;
577 sp->bit = bit;
589 printf("%08X/%-2d: %s%5d\t", data, bit, DEBUG_COLOR(what), len); \
606 tif_int bit = sp->bit;
636 sp->bit = bit;
642 * here. We also handle writing the tag bit for the next
649 tif_int bit = sp->bit;
655 * Force bit alignment so EOL will terminate on
656 * a byte boundary. That is, force the bit alignment
660 if (align != sp->bit) {
661 if (align > sp->bit)
662 align = sp->bit + (8 - align);
664 align = sp->bit - align;
676 sp->bit = bit;
691 sp->bit = 8;
772 * table. The ``base'' of the bit string is supplied
773 * along with the start+end bit indices.
790 if (span > bits) /* constrain span to bit range */
851 if (span > bits) /* constrain span to bit range */
898 * Return the offset of the next bit in the range
900 * color. The end, be, is returned if no such bit
906 * Like finddiff, but also check the starting bit
938 if (sp->bit != 8) /* byte-align */
1058 if (sp->bit != 8)
1327 tif->tif_flags |= TIFF_NOBITREV;/* decoder does bit reversal */
1458 if (sp->bit != 8)