/external/jpeg/ |
rdtarga.c | 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member in struct:_tga_source_struct 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; local 203 *ptr++ = colormap[0][t] [all...] |
rdcolmap.c | 9 * and constructs a colormap to be supplied to the JPEG decompressor. 12 * GIF: the contents of the GIF's global colormap are used. 48 JSAMPROW colormap0 = cinfo->colormap[0]; 49 JSAMPROW colormap1 = cinfo->colormap[1]; 50 JSAMPROW colormap2 = cinfo->colormap[2]; 227 * Output: colormap and actual_number_of_colors fields are set in cinfo. 234 cinfo->colormap = (*cinfo->mem->alloc_sarray)
|
wrtarga.c | 150 register JSAMPROW color_map0 = cinfo->colormap[0]; 175 /* demap quantized gray output. Never emit a colormap. */ 183 /* We only support 8-bit colormap indexes, so only 256 colors */ 188 /* Write the colormap. Note Targa uses BGR byte order */ 191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); 192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); 193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile);
|
jquant2.c | 57 * This allowed the color conversion math to be done only once per colormap 61 * externally-supplied colormap. We have therefore abandoned that approach. 127 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 196 /* Space for the eventually created colormap is stashed here */ 197 JSAMPARRAY sv_colormap; /* colormap allocated at init time */ 198 int desired; /* desired # of colors = size of colormap */ 252 * Next we have the really interesting routines: selection of a colormap 500 /* Compute representative color for a box, put it in colormap[icolor] */ 532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); 533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total) [all...] |
jquant1.c | 27 * In 1-pass quantization the colormap must be chosen in advance of seeing the 33 * Since the colormap is orthogonal, the representative value for each color 35 * then these indexes can be combined into a colormap index by a standard 41 * index of the colormap entry closest to a given pixel value is just 145 /* Initially allocated colormap is saved here */ 151 * premultiplied as described above. Since colormap indexes must fit into 172 * These routines determine the colormap to be used. The rest of the module 173 * only assumes that the colormap is orthogonal. 269 * Create the colormap. 276 JSAMPARRAY colormap; /* Created colormap * local [all...] |
wrgif.c | 210 /* Emit 3 copies of same byte value --- handy subr for colormap construction */ 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) 221 /* If colormap==NULL, synthesize a gray-scale colormap */ 262 if (colormap != NULL) { 265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); 266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); 267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); 270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); 307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); [all...] |
wrppm.c | 135 register JSAMPROW color_map0 = cinfo->colormap[0]; 136 register JSAMPROW color_map1 = cinfo->colormap[1]; 137 register JSAMPROW color_map2 = cinfo->colormap[2]; 159 register JSAMPROW color_map = cinfo->colormap[0]; 241 /* When quantizing, we need an output buffer for colormap indexes
|
/external/qemu/distrib/jpeg-6b/ |
rdtarga.c | 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member in struct:_tga_source_struct 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; local 203 *ptr++ = colormap[0][t] [all...] |
rdcolmap.c | 9 * and constructs a colormap to be supplied to the JPEG decompressor. 12 * GIF: the contents of the GIF's global colormap are used. 48 JSAMPROW colormap0 = cinfo->colormap[0]; 49 JSAMPROW colormap1 = cinfo->colormap[1]; 50 JSAMPROW colormap2 = cinfo->colormap[2]; 227 * Output: colormap and actual_number_of_colors fields are set in cinfo. 234 cinfo->colormap = (*cinfo->mem->alloc_sarray)
|
wrtarga.c | 150 register JSAMPROW color_map0 = cinfo->colormap[0]; 175 /* demap quantized gray output. Never emit a colormap. */ 183 /* We only support 8-bit colormap indexes, so only 256 colors */ 188 /* Write the colormap. Note Targa uses BGR byte order */ 191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); 192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); 193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile);
|
jquant2.c | 57 * This allowed the color conversion math to be done only once per colormap 61 * externally-supplied colormap. We have therefore abandoned that approach. 127 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 196 /* Space for the eventually created colormap is stashed here */ 197 JSAMPARRAY sv_colormap; /* colormap allocated at init time */ 198 int desired; /* desired # of colors = size of colormap */ 252 * Next we have the really interesting routines: selection of a colormap 500 /* Compute representative color for a box, put it in colormap[icolor] */ 532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); 533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total) [all...] |
jquant1.c | 27 * In 1-pass quantization the colormap must be chosen in advance of seeing the 33 * Since the colormap is orthogonal, the representative value for each color 35 * then these indexes can be combined into a colormap index by a standard 41 * index of the colormap entry closest to a given pixel value is just 145 /* Initially allocated colormap is saved here */ 151 * premultiplied as described above. Since colormap indexes must fit into 172 * These routines determine the colormap to be used. The rest of the module 173 * only assumes that the colormap is orthogonal. 269 * Create the colormap. 276 JSAMPARRAY colormap; /* Created colormap * local [all...] |
wrgif.c | 210 /* Emit 3 copies of same byte value --- handy subr for colormap construction */ 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) 221 /* If colormap==NULL, synthesize a gray-scale colormap */ 262 if (colormap != NULL) { 265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); 266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); 267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); 270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); 307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); [all...] |
wrppm.c | 135 register JSAMPROW color_map0 = cinfo->colormap[0]; 136 register JSAMPROW color_map1 = cinfo->colormap[1]; 137 register JSAMPROW color_map2 = cinfo->colormap[2]; 159 register JSAMPROW color_map = cinfo->colormap[0]; 241 /* When quantizing, we need an output buffer for colormap indexes
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xlib.h | 300 Colormap cmap; /* default color map */ 336 Colormap colormap; /* color map to be associated with window */ member in struct:__anon25491 358 Colormap colormap; /* color map to be associated with window */ member in struct:__anon25492 920 Colormap colormap; /* COLORMAP or None */ member in struct:__anon25531 [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlib.h | 300 Colormap cmap; /* default color map */ 336 Colormap colormap; /* color map to be associated with window */ member in struct:__anon27081 358 Colormap colormap; /* color map to be associated with window */ member in struct:__anon27082 920 Colormap colormap; /* COLORMAP or None */ member in struct:__anon27121 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlib.h | 300 Colormap cmap; /* default color map */ 336 Colormap colormap; /* color map to be associated with window */ member in struct:__anon28596 358 Colormap colormap; /* color map to be associated with window */ member in struct:__anon28597 920 Colormap colormap; /* COLORMAP or None */ member in struct:__anon28636 [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_SetPalette.3 | 17 When \fBsurface\fR is the surface associated with the current display, the display colormap will be updated with the requested colors\&. If \fBSDL_HWPALETTE\fP was set in \fISDL_SetVideoMode\fR flags, \fBSDL_SetPalette\fP will always return \fB1\fR, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation\&.
|
/external/quake/quake/src/WinQuake/ |
vid_null.cpp | 51 vid.colormap = host_colormap;
52 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
|
/external/giflib/ |
dgif_lib.c | 357 if (GifFile->Image.ColorMap && GifFile->SavedImages == NULL) 358 FreeMapObject(GifFile->Image.ColorMap); 360 GifFile->Image.ColorMap = MakeMapObject(1 << BitsPerPixel, NULL); 361 if (GifFile->Image.ColorMap == NULL) { 367 for (i = 0; i < GifFile->Image.ColorMap->ColorCount; i++) { 369 FreeMapObject(GifFile->Image.ColorMap); 371 GifFile->Image.ColorMap = NULL; 374 GifFile->Image.ColorMap->Colors[i].Red = Buf[0]; 375 GifFile->Image.ColorMap->Colors[i].Green = Buf[1]; 376 GifFile->Image.ColorMap->Colors[i].Blue = Buf[2] [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
sdlsetcolors.html | 83 >SDL_SetColors -- Sets a portion of the colormap for the given 8-bit surface.</DIV 123 >Sets a portion of the colormap for the given 8-bit surface.</P 131 display, the display colormap will be updated with the requested colors. If 147 colormap has to be warped or run under emulation.</P
|
/external/webkit/Source/WebCore/platform/image-decoders/gif/ |
GIFImageReader.h | 105 unsigned char *local_colormap; /* Per-image colormap */ 106 int local_colormap_size; /* Size of local colormap array. */ 161 unsigned char* global_colormap; /* (3* MAX_COLORS in size) Default colormap if local not supplied, 3 bytes for each color */ 168 int global_colormap_size; /* Size of global colormap array. */
|
/external/webkit/Source/WebCore/plugins/gtk/ |
gtk2xtbin.h | 85 Colormap xtcolormap; 145 Colormap colormap; /* colormap */ member in struct:_CorePart
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
PhysicsTestHelper.java | 46 material.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg")); 88 material.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg")); 132 material.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg")); 148 material.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg")); 187 mat2.setTexture("ColorMap", tex2);
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
SimpleTexturedTest.java | 76 material.setTexture("ColorMap", texture); 79 materialMonkey.setTexture("ColorMap", textureMonkey);
|