Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:colormap

61   JSAMPARRAY colormap;          /* BMP colormap (converted to my format) */
86 /* Read the colormap from a BMP file */
94 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
95 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
96 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
102 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
103 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
104 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
124 /* This version is for reading 8-bit colormap indexes */
127 register JSAMPARRAY colormap = source->colormap;
139 /* Expand the colormap indexes to real data */
144 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */
145 *outptr++ = colormap[1][t];
146 *outptr++ = colormap[2][t];
297 int mapentrysize = 0; /* 0 indicates no colormap */
330 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */
357 mapentrysize = 4; /* Windows uses RGBQUAD colormap */
390 /* Compute distance to bitmap data --- will adjust for colormap below */
393 /* Read the colormap, if any */
399 /* Allocate space to store the colormap */
400 source->colormap = (*cinfo->mem->alloc_sarray)
405 /* account for size of colormap */