Home | History | Annotate | Download | only in jpeg

Lines Matching refs:colormap

53   JSAMPARRAY colormap;		/* Targa colormap (converted to my format) */
102 /* Read the colormap from a Targa file */
111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
191 /* This version is for reading 8-bit colormap indexes */
197 register JSAMPARRAY colormap = source->colormap;
203 *ptr++ = colormap[0][t];
204 *ptr++ = colormap[1][t];
205 *ptr++ = colormap[2][t];
450 /* Allocate space to store the colormap */
451 source->colormap = (*cinfo->mem->alloc_sarray)
458 source->colormap = NULL;