/external/libjpeg-turbo/ |
wrppm.c | 119 register JSAMPROW color_map0 = cinfo->colormap[0]; 120 register JSAMPROW color_map1 = cinfo->colormap[1]; 121 register JSAMPROW color_map2 = cinfo->colormap[2]; 143 register JSAMPROW color_map = cinfo->colormap[0]; 225 /* When quantizing, we need an output buffer for colormap indexes
|
wrtarga.c | 143 register JSAMPROW color_map0 = cinfo->colormap[0]; 168 /* demap quantized gray output. Never emit a colormap. */ 176 /* We only support 8-bit colormap indexes, so only 256 colors */ 181 /* Write the colormap. Note Targa uses BGR byte order */ 184 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); 185 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); 186 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile);
|
jquant2.c | 59 * This allowed the color conversion math to be done only once per colormap 63 * externally-supplied colormap. We have therefore abandoned that approach. 108 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 174 /* Space for the eventually created colormap is stashed here */ 175 JSAMPARRAY sv_colormap; /* colormap allocated at init time */ 176 int desired; /* desired # of colors = size of colormap */ 230 * Next we have the really interesting routines: selection of a colormap 479 /* Compute representative color for a box, put it in colormap[icolor] */ 511 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); 512 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total) [all...] |
/external/ImageMagick/coders/ |
pcx.c | 50 #include "MagickCore/colormap.h" 339 Read PCX raster colormap. 376 image->colormap[i].red=ScaleCharToQuantum(*p++); 377 image->colormap[i].green=ScaleCharToQuantum(*p++); 378 image->colormap[i].blue=ScaleCharToQuantum(*p++); 462 Initialize image colormap. 469 Monochrome colormap. 471 image->colormap[0].red=(Quantum) 0; 472 image->colormap[0].green=(Quantum) 0; 473 image->colormap[0].blue=(Quantum) 0 [all...] |
sixel.c | 51 #include "MagickCore/colormap.h" [all...] |
xbm.c | 49 #include "MagickCore/colormap.h" 287 Initialize colormap. 289 image->colormap[0].red=QuantumRange; 290 image->colormap[0].green=QuantumRange; 291 image->colormap[0].blue=QuantumRange; 292 image->colormap[1].red=(Quantum) 0; 293 image->colormap[1].green=(Quantum) 0; 294 image->colormap[1].blue=(Quantum) 0;
|
miff.c | 50 #include "MagickCore/colormap.h" 51 #include "MagickCore/colormap-private.h" 1169 *colormap; local 2337 *colormap, local [all...] |
braille.c | 274 polarity=(Quantum) (GetPixelInfoIntensity(image,&image->colormap[0]) >= 277 polarity=(Quantum) (GetPixelInfoIntensity(image,&image->colormap[0]) >= 278 GetPixelInfoIntensity(image,&image->colormap[1]));
|
palm.c | 51 #include "MagickCore/colormap.h" 52 #include "MagickCore/colormap-private.h" 343 Initialize image colormap. 376 image->colormap[index].red=(MagickRealType) 378 image->colormap[index].green=(MagickRealType) 380 image->colormap[index].blue=(MagickRealType) 388 image->colormap[index].red=(MagickRealType) 390 image->colormap[index].green=(MagickRealType) 392 image->colormap[index].blue=(MagickRealType) 509 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q) [all...] |
viff.c | 50 #include "MagickCore/colormap.h" 51 #include "MagickCore/colormap-private.h" 401 Allocate VIFF colormap. 423 Read VIFF raster colormap. 460 image->colormap[i].red=ScaleCharToQuantum((unsigned char) value); 461 image->colormap[i].green= 463 image->colormap[i].blue=ScaleCharToQuantum((unsigned char) value); 467 image->colormap[i % image->colors].green= 471 image->colormap[i % image->colors].blue= 713 SetPixelRed(image,image->colormap[ [all...] |
png.c | 54 #include "MagickCore/colormap.h" 852 * each sample of the image, the colormap, and the background color 886 image->colormap[indx].red) && 888 image->colormap[indx].green) && 890 image->colormap[indx].blue)) ? 8779 colormap[260]; local [all...] |
tga.c | 50 #include "MagickCore/colormap.h" 51 #include "MagickCore/colormap-private.h" 335 Read TGA raster colormap. 342 image->colormap[i]=pixel; 407 image->colormap[i]=pixel; 461 pixel=image->colormap[(ssize_t) ConstrainColormapIndex(image, 878 Dump colormap to file (blue, green, red byte order). 891 image->colormap[i].green),range); 893 image->colormap[i].blue),range)) | ((green & 0x07) << 5); 895 ClampToQuantum(image->colormap[i].alpha) > midpoint)) ? 0x80 : 0) [all...] |
djvu.c | 47 #include "MagickCore/colormap.h" 721 Monochrome colormap. mmc: this the default! 723 image->colormap[0].red=QuantumRange; 724 image->colormap[0].green=QuantumRange; 725 image->colormap[0].blue=QuantumRange; 726 image->colormap[1].red=0; 727 image->colormap[1].green=0; 728 image->colormap[1].blue=0;
|
tim.c | 47 #include "MagickCore/colormap.h" 190 Read TIM raster colormap. 213 image->colormap[i].blue=ScaleCharToQuantum( 215 image->colormap[i].green=ScaleCharToQuantum( 217 image->colormap[i].red=ScaleCharToQuantum(
|
dps.c | 47 #include "MagickCore/colormap.h" 187 Allocate standard colormap. 200 map_info->colormap=(Colormap) NULL; 256 Get the colormap colors. 422 Create colormap. 435 image->colormap[colors[i].pixel].red=ScaleShortToQuantum(colors[i].red); 436 image->colormap[colors[i].pixel].green= 438 image->colormap[colors[i].pixel].blue=
|
/external/ImageMagick/MagickCore/ |
xwindow.c | 51 #include "MagickCore/colormap.h" 1319 *colormap[MaxStandardColormaps]= local 1694 colormap; local 3034 colormap; local 3977 colormap; member in struct:_ColormapInfo 3996 colormap; member in struct:_WindowInfo 7723 colormap; local 8651 colormap; local [all...] |
attribute.c | 56 #include "MagickCore/colormap.h" 57 #include "MagickCore/colormap-private.h" 336 if (IsPixelAtDepth(image->colormap[i].red,range) == MagickFalse) 340 if (IsPixelAtDepth(image->colormap[i].green,range) == MagickFalse) 344 if (IsPixelAtDepth(image->colormap[i].blue,range) == MagickFalse) [all...] |
/external/opencv3/3rdparty/libjpeg/ |
jquant2.c | 58 * This allowed the color conversion math to be done only once per colormap 62 * externally-supplied colormap. We have therefore abandoned that approach. 128 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 197 /* Space for the eventually created colormap is stashed here */ 198 JSAMPARRAY sv_colormap; /* colormap allocated at init time */ 199 int desired; /* desired # of colors = size of colormap */ 253 * Next we have the really interesting routines: selection of a colormap 501 /* Compute representative color for a box, put it in colormap[icolor] */ 533 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); 534 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total) [all...] |
jdmaster.c | 307 cinfo->colormap = NULL; 308 } else if (cinfo->colormap != NULL) { 427 if (cinfo->quantize_colors && cinfo->colormap == NULL) { 485 * Switch to a new external colormap between output passes. 498 cinfo->colormap != NULL) { 499 /* Select 2-pass quantizer for external colormap use */ 501 /* Notify quantizer of colormap change */
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/ |
LinuxMouse.cpp | 74 Colormap colormap; local 77 colormap = DefaultColormap( display, DefaultScreen(display) ); 78 XAllocNamedColor( display, colormap, "black", &black, &dummy );
|
/external/libpng/contrib/gregbook/ |
rpng-x.c | 150 static Colormap colormap; variable 515 colormap = XCreateColormap(display, root, visual, AllocNone); 516 if (!colormap) { 551 attr.colormap = colormap; 567 XSetWindowColormap(display, window, colormap); 890 XFreeColormap(display, colormap);
|
/external/libpng/ |
pngwrite.c | 1500 png_const_voidp colormap; member in struct:__anon16186 1927 int colormap = (format & PNG_FORMAT_FLAG_COLORMAP); local [all...] |
/external/autotest/client/site_tests/graphics_GLAPICheck/src/ |
gl_APICheck.cc | 39 swa.colormap = XCreateColormap(*display,
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11x11main.cpp | 24 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); 26 swa.colormap = cmap;
|
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jdmaster.c | 326 cinfo->colormap = NULL; 327 } else if (cinfo->colormap != NULL) { 453 if (cinfo->quantize_colors && cinfo->colormap == NULL) { 511 * Switch to a new external colormap between output passes. 524 cinfo->colormap != NULL) { 525 /* Select 2-pass quantizer for external colormap use */ 527 /* Notify quantizer of colormap change */
|