/external/chromium_org/third_party/libjpeg_turbo/ |
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 | 59 * This allowed the color conversion math to be done only once per colormap 63 * externally-supplied colormap. We have therefore abandoned that approach. 110 #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ 179 /* Space for the eventually created colormap is stashed here */ 180 JSAMPARRAY sv_colormap; /* colormap allocated at init time */ 181 int desired; /* desired # of colors = size of colormap */ 235 * Next we have the really interesting routines: selection of a colormap 484 /* Compute representative color for a box, put it in colormap[icolor] */ 516 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); 517 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total) [all...] |
jquant1.c | 29 * In 1-pass quantization the colormap must be chosen in advance of seeing the 35 * Since the colormap is orthogonal, the representative value for each color 37 * then these indexes can be combined into a colormap index by a standard 43 * index of the colormap entry closest to a given pixel value is just 147 /* Initially allocated colormap is saved here */ 153 * premultiplied as described above. Since colormap indexes must fit into 174 * These routines determine the colormap to be used. The rest of the module 175 * only assumes that the colormap is orthogonal. 274 * Create the colormap. 281 JSAMPARRAY colormap; /* Created colormap * local [all...] |
jdmaster.c | 498 cinfo->colormap = NULL; 499 } else if (cinfo->colormap != NULL) { 629 if (cinfo->quantize_colors && cinfo->colormap == NULL) { 687 * Switch to a new external colormap between output passes. 700 cinfo->colormap != NULL) { 701 /* Select 2-pass quantizer for external colormap use */ 703 /* Notify quantizer of colormap change */
|
/external/jpeg/ |
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
|
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...] |
jdmaster.c | 349 cinfo->colormap = NULL; 350 } else if (cinfo->colormap != NULL) { 476 if (cinfo->quantize_colors && cinfo->colormap == NULL) { 534 * Switch to a new external colormap between output passes. 547 cinfo->colormap != NULL) { 548 /* Select 2-pass quantizer for external colormap use */ 550 /* Notify quantizer of colormap change */
|
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...] |
/external/qemu/distrib/jpeg-6b/ |
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
|
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...] |
jdmaster.c | 349 cinfo->colormap = NULL; 350 } else if (cinfo->colormap != NULL) { 476 if (cinfo->quantize_colors && cinfo->colormap == NULL) { 534 * Switch to a new external colormap between output passes. 547 cinfo->colormap != NULL) { 548 /* Select 2-pass quantizer for external colormap use */ 550 /* Notify quantizer of colormap change */
|
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...] |
/external/libpng/contrib/gregbook/ |
rpng-x.c | 148 static Colormap colormap; variable 509 colormap = XCreateColormap(display, root, visual, AllocNone); 510 if (!colormap) { 545 attr.colormap = colormap; 561 XSetWindowColormap(display, window, colormap); 884 XFreeColormap(display, colormap);
|
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/ |
vie_autotest_linux.cc | 92 window_attributes.colormap = XCreateColormap(
|
/external/libpng/ |
pngwrite.c | 1712 png_const_voidp colormap; member in struct:__anon8328 2133 int colormap = (format & PNG_FORMAT_FLAG_COLORMAP) != 0; local [all...] |
/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/core/src/fxcodec/libjpeg/ |
fpdfapi_jdmaster.c | 327 cinfo->colormap = NULL;
328 } else if (cinfo->colormap != NULL) {
454 if (cinfo->quantize_colors && cinfo->colormap == NULL) {
512 * Switch to a new external colormap between output passes.
525 cinfo->colormap != NULL) {
526 /* Select 2-pass quantizer for external colormap use */
528 /* Notify quantizer of colormap change */
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-linux.c | 150 swa.colormap = XCreateColormap(sDisplay,
|
/external/chromium_org/media/cast/test/ |
linux_output_window.cc | 59 window_attributes.colormap = XCreateColormap(
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
d3d10x11main.cpp | 50 Colormap cmap = XCreateColormap(dpy, RootWindow(dpy, DefaultScreen(dpy)), visual, AllocNone); 52 swa.colormap = cmap;
|
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-xlib/ |
graw_xlib.c | 108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone);
|
/external/chromium_org/third_party/webrtc/test/linux/ |
glx_renderer.cc | 59 window_attributes.colormap = XCreateColormap(
|