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
572 (sp)->data = 0, (sp)->bit = 8; \
579 data = 0, bit = 8; \
584 while (length > bit) { \
585 data |= bits >> (length - bit); \
586 length -= bit; \
590 data |= (bits & _msbmask[length]) << (bit - length); \
591 bit -= length; \
592 if (bit == 0) \
597 * Write a variable-length bit-value to
605 unsigned int bit = sp->bit;
611 sp->bit = bit;
623 printf("%08X/%-2d: %s%5d\t", data, bit, DEBUG_COLOR(what), len); \
640 unsigned int bit = sp->bit;
670 sp->bit = bit;
676 * here. We also handle writing the tag bit for the next
683 unsigned int bit = sp->bit;
689 * Force bit alignment so EOL will terminate on
690 * a byte boundary. That is, force the bit alignment
694 if (align != sp->bit) {
695 if (align > sp->bit)
696 align = sp->bit + (8 - align);
698 align = sp->bit - align;
710 sp->bit = bit;
723 sp->bit = 8;
804 * table. The ``base'' of the bit string is supplied
805 * along with the start+end bit indices.
821 if (span > bits) /* constrain span to bit range */
880 if (span > bits) /* constrain span to bit range */
926 * Return the offset of the next bit in the range
928 * color. The end, be, is returned if no such bit
934 * Like finddiff, but also check the starting bit
965 if (sp->bit != 8) /* byte-align */
1082 if (sp->bit != 8)
1322 tif->tif_flags |= TIFF_NOBITREV; /* decoder does bit reversal */
1461 if (sp->bit != 8)