Lines Matching refs:colormap
55 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */
103 /* Read the colormap from a Targa file */
112 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
114 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
192 /* This version is for reading 8-bit colormap indexes */
198 register JSAMPARRAY colormap = source->colormap;
204 *ptr++ = colormap[0][t];
205 *ptr++ = colormap[1][t];
206 *ptr++ = colormap[2][t];
452 /* Allocate space to store the colormap */
453 source->colormap = (*cinfo->mem->alloc_sarray)
460 source->colormap = NULL;