Lines Matching refs:bit
32 * A signed 8-bit integral type. If chars are unsigned and the compiler
48 * An unsigned 32-bit integral type, used for pixel values.
103 pixel redValues[256]; /* Maps 8-bit values of red intensity
110 /* Maps 8-bit intensities to quantized
156 unsigned char *pix24; /* Local storage for 24-bit image. */
229 * Each bit is set in the allowedOptions parameter on a call to
231 * photo image subcommand. On return, the bit is set in the options
1063 int index, c, bit, currentBit;
1090 bit = 0;
1095 if (bit != 0) {
1096 bit = 0; /* An ambiguous option. */
1099 bit = currentBit;
1109 if ((allowedOptions & bit) == 0) {
1112 bit = 1;
1114 if ((allowedOptions & bit) != 0) {
1115 if ((allowedOptions & (bit - 1)) != 0) {
1117 if ((allowedOptions & ~((bit << 1) - 1)) == 0) {
1123 bit <<= 1;
1134 if ((bit != OPT_SHRINK) && (bit != OPT_FORMAT)) {
1135 maxValues = ((bit == OPT_FROM) || (bit == OPT_TO))? 4: 2;
1175 switch (bit) {
1228 } else if (bit == OPT_FORMAT) {
1247 optPtr->options |= bit;
1523 * to byte-swap any 16 or 32 bit values that we store in the
2025 * Reallocate storage for the 24-bit image and copy
2548 /* 16-bit intensity value for i/n of full intensity. */
2571 * If we are using 1 bit/pixel, we don't need to allocate
2701 * Fall back to 1-bit monochrome display.
3284 * Copy the data into our local 24-bit/pixel array.
3467 * Copy the data into our local 24-bit/pixel array.
3861 * 1-bit monochrome window. This is similar to the
3977 * Clear out the 24-bit pixel storage array.