Lines Matching defs:color
1126 * Adjust the rasters. This function is used during a color scan,
1131 * sane is waiting for a group of 3 bytes per color. To make things
1156 int color = -1; /* color for that raster */
1170 * The color coding is one line for each color (in the RGB order).
1180 * Find the color to which this raster belongs to.
1185 color = COLOR_0;
1193 color = COLOR_1;
1198 color = COLOR_0;
1204 color = COLOR_2;
1211 color = COLOR_2;
1216 color = COLOR_1;
1225 color = COLOR_0;
1229 color = COLOR_1;
1233 color = COLOR_2;
1250 unsigned char *dest = dev->image + offset + color;
1263 DBG (DBG_info, "raster=%d, line=%d, color=%d\n", dev->raster_num,
1264 dev->line + line, color);
1266 if (color == COLOR_2)
1830 /* color mode */
1947 * because I don't know how to compute the color
2036 /* Rasters are meaningful only in color mode. */