HomeSort by relevance Sort by last modified time
    Searched full:colormap (Results 1 - 25 of 171) sorted by null

1 2 3 4 5 6 7

  /external/mesa3d/docs/
MESA_pixmap_colormap.spec 33 StaticColor, GrayScale and StaticGray visuals, Mesa needs a colormap
36 The colormap associated with a window can be queried with normal
37 Xlib functions but there is no colormap associated with pixmaps.
40 which allows specification of a colormap.
53 Pixmap pixmap, Colormap cmap );
65 to compute pixel values from RGB values Mesa requires a colormap.
70 Pixmap pixmap, Colormap cmap );
72 allows one to create a GLXPixmap with a specific colormap. The image
74 same colormap and visual) with the expected results.
README.CYGWIN 127 to create a window with an appropriate colormap. The aux, tk, and GLUT
128 toolkits try to minimize colormap "flashing" by sharing colormaps when
130 that of the root window, the root window's colormap will be shared by
131 the Mesa window. Otherwise, a new, private colormap will be allocated.
133 When sharing the root colormap, Mesa may be unable to allocate the colors
135 large number of colorcells in the root colormap are already allocated.
136 To prevent colormap sharing in aux, tk and GLUT, define the environment
204 Pixmap pixmap, Colormap cmap )
208 Color or DirectColor, Mesa needs colormap information to convert RGB
210 pixmap does not. This function associates a colormap to a GLX pixmap
    [all...]
xlibdriver.html 101 writer to create a window with an appropriate colormap. The GLUT
102 toolkit tris to minimize colormap <em>flashing</em> by sharing
104 window matches that of the root window, the root window's colormap
105 will be shared by the Mesa window. Otherwise, a new, private colormap
110 When sharing the root colormap, Mesa may be unable to allocate the colors
112 large number of colorcells in the root colormap are already allocated.
113 To prevent colormap sharing in GLUT, set the
204 Pixmap pixmap, Colormap cmap )
209 Color or DirectColor, Mesa needs colormap information to convert RGB
211 pixmap does not. This function associates a colormap to a GLX pixmap
    [all...]
  /external/giflib/
gifalloc.c 46 * ColorMap if that pointer is non-NULL.
50 const GifColorType * ColorMap) {
73 if (ColorMap) {
75 (char *)ColorMap, ColorCount * sizeof(GifColorType));
145 /*** FIXME: What if there are duplicate entries into the colormap to begin
316 /* Deallocate its Colormap */
317 if (sp->ImageDesc.ColorMap) {
318 FreeMapObject(sp->ImageDesc.ColorMap);
319 sp->ImageDesc.ColorMap = NULL;
369 if (sp->ImageDesc.ColorMap) {
    [all...]
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/jpeg/
rdbmp.c 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member in struct:_bmp_source_struct
82 /* Read the colormap from a BMP file */
90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
120 /* This version is for reading 8-bit colormap indexes *
123 register JSAMPARRAY colormap = source->colormap; local
    [all...]
wrbmp.c 158 /* Write a Windows-style BMP file header, including colormap if needed */
173 /* Compute colormap size and total file size */
185 /* Grayscale output. We need to fake a 256-entry colormap. */
190 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */
231 /* Write an OS2-style BMP file header, including colormap if needed */
238 /* Compute colormap size and total file size */
250 /* Grayscale output. We need to fake a 256-entry colormap. */
255 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */
287 * Write the colormap.
295 JSAMPARRAY colormap = cinfo->colormap local
    [all...]
wrrle.c 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon6995
110 /* Convert colormap, if any, to RLE format. */
112 dest->colormap = NULL;
117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small)
119 MEMZERO(dest->colormap, cmapsize);
125 dest->colormap[ci * CMAPLENGTH + i] =
126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8;
200 header.cmap = dest->colormap;
201 /* Add a comment to the output image with the true colormap length. */
rdrle.c 42 * GRAYSCALE - 8 bits, no colormap
44 * PSEUDOCOLOR - 8 bits, 3 channel colormap
45 * TRUECOLOR - 24 bits, 3 channel colormap
46 * DIRECTCOLOR - 24 bits, no colormap
210 rle_map *colormap; local
213 colormap = source->header.cmap;
221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
247 rle_map *colormap; local
    [all...]
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...]
  /external/quake/quake/src/QW/client/
vid_null.c 32 vid.colormap = host_colormap;
33 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xcms.h 349 Colormap /* colormap */,
356 Colormap /* colormap */,
365 Colormap /* colormap */
602 Colormap /* colormap */,
627 Colormap /* colormap */,
    [all...]
Xlib.h 300 Colormap cmap; /* default color map */
336 Colormap colormap; /* color map to be associated with window */ member in struct:__anon20072
358 Colormap colormap; /* color map to be associated with window */ member in struct:__anon20073
920 Colormap colormap; /* COLORMAP or None */ member in struct:__anon20112
    [all...]
  /development/tools/emulator/opengl/tests/ut_renderer/
X11RendererSurface.cpp 53 Colormap x11Colormap = XCreateColormap(m_display, rootWindow, visualInfo->visual, AllocNone);
55 sWA.Colormap = x11Colormap;
  /external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/
xf86dga1.h 138 Colormap /*Colormap */
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/
Xcup.h 59 Colormap /* colormap */,
  /external/qemu/distrib/sdl-1.2.12/src/video/x11/
SDL_x11video.h 62 Display *GFX_Display; /* Used for graphics and colormap stuff */
151 /* Colormap handling */
152 Colormap DisplayColormap; /* The default display colormap */
153 Colormap XColorMap; /* The current window colormap */
  /external/quake/quake/src/WinQuake/
vid_null.cpp 51 vid.colormap = host_colormap;
52 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
  /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

Completed in 299 milliseconds

1 2 3 4 5 6 7