Home | History | Annotate | Download | only in jpeg

Lines Matching refs:colormap

57   JSAMPARRAY colormap;		/* BMP colormap (converted to my format) */
82 /* Read the colormap from a BMP file */
90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
120 /* This version is for reading 8-bit colormap indexes */
123 register JSAMPARRAY colormap = source->colormap;
135 /* Expand the colormap indexes to real data */
140 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */
141 *outptr++ = colormap[1][t];
142 *outptr++ = colormap[2][t];
260 int mapentrysize = 0; /* 0 indicates no colormap */
293 mapentrysize = 3; /* OS/2 uses RGBTRIPLE colormap */
322 mapentrysize = 4; /* Windows uses RGBQUAD colormap */
349 /* Compute distance to bitmap data --- will adjust for colormap below */
352 /* Read the colormap, if any */
358 /* Allocate space to store the colormap */
359 source->colormap = (*cinfo->mem->alloc_sarray)
364 /* account for size of colormap */