Lines Matching defs:colormap
60 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */
85 /* Read the colormap from a BMP file */
93 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
94 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
95 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
101 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
102 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
103 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
123 /* This version is for reading 8-bit colormap indexes */
126 register JSAMPARRAY colormap = source->colormap;
138 /* Expand the colormap indexes to real data */
143 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */
144 *outptr++ = colormap[1][t];
145 *outptr++ = colormap[2][t];
296 int mapentrysize = 0; /* 0 indicates no colormap */
329 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */
356 mapentrysize = 4; /* Windows uses RGBQUAD colormap */
389 /* Compute distance to bitmap data --- will adjust for colormap below */
392 /* Read the colormap, if any */
398 /* Allocate space to store the colormap */
399 source->colormap = (*cinfo->mem->alloc_sarray)
404 /* account for size of colormap */