/external/mesa3d/docs/ |
D | 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. 65 to compute pixel values from RGB values Mesa requires a colormap. 72 allows one to create a GLXPixmap with a specific colormap. The image 74 same colormap and visual) with the expected results.
|
D | 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 208 Color or DirectColor, Mesa needs colormap information to convert RGB 210 pixmap does not. This function associates a colormap to a GLX pixmap.
|
/external/chromium_org/third_party/mesa/src/docs/ |
D | 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. 65 to compute pixel values from RGB values Mesa requires a colormap. 72 allows one to create a GLXPixmap with a specific colormap. The image 74 same colormap and visual) with the expected results.
|
/external/jpeg/ |
D | rdbmp.c | 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member 90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 123 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 140 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */ in get_8bit_row() 141 *outptr++ = colormap[1][t]; in get_8bit_row() [all …]
|
D | rdtarga.c | 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 197 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 203 *ptr++ = colormap[0][t]; in get_8bit_row() 204 *ptr++ = colormap[1][t]; in get_8bit_row() 205 *ptr++ = colormap[2][t]; in get_8bit_row() 451 source->colormap = (*cinfo->mem->alloc_sarray) in start_input_tga() 458 source->colormap = NULL; in start_input_tga()
|
D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member 112 dest->colormap = NULL; in start_output_rle() 117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small) in start_output_rle() 119 MEMZERO(dest->colormap, cmapsize); in start_output_rle() 125 dest->colormap[ci * CMAPLENGTH + i] = in start_output_rle() 126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8; in start_output_rle() 200 header.cmap = dest->colormap; in finish_output_rle()
|
D | wrbmp.c | 295 JSAMPARRAY colormap = cinfo->colormap; in write_colormap() local 300 if (colormap != NULL) { in write_colormap() 304 putc(GETJSAMPLE(colormap[2][i]), outfile); in write_colormap() 305 putc(GETJSAMPLE(colormap[1][i]), outfile); in write_colormap() 306 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 313 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 314 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 315 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap()
|
D | rdrle.c | 210 rle_map *colormap; in get_pseudocolor_row() local 213 colormap = source->header.cmap; in get_pseudocolor_row() 221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8); in get_pseudocolor_row() 222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8); in get_pseudocolor_row() 223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8); in get_pseudocolor_row() 247 rle_map *colormap; in load_image() local 253 colormap = source->header.cmap; in load_image() 298 (colormap[GETJSAMPLE(rle_row[channel][col]) + 256 * channel] >> 8); in load_image()
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 262 if (colormap != NULL) { in emit_header() 265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); in emit_header() 266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); in emit_header() 267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); in emit_header() 270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); in emit_header() 307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); in start_output_gif()
|
D | rdcolmap.c | 48 JSAMPROW colormap0 = cinfo->colormap[0]; in add_map_entry() 49 JSAMPROW colormap1 = cinfo->colormap[1]; in add_map_entry() 50 JSAMPROW colormap2 = cinfo->colormap[2]; in add_map_entry() 234 cinfo->colormap = (*cinfo->mem->alloc_sarray) in read_color_map()
|
D | wrtarga.c | 150 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_gray() 191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); in start_output_tga() 192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); in start_output_tga() 193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile); in start_output_tga()
|
D | wrppm.c | 135 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_rgb() 136 register JSAMPROW color_map1 = cinfo->colormap[1]; in put_demapped_rgb() 137 register JSAMPROW color_map2 = cinfo->colormap[2]; in put_demapped_rgb() 159 register JSAMPROW color_map = cinfo->colormap[0]; in put_demapped_gray()
|
D | jquant2.c | 532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); in compute_color() 533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); in compute_color() 534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); in compute_color() 689 x = GETJSAMPLE(cinfo->colormap[0][i]); in find_nearby_colors() 712 x = GETJSAMPLE(cinfo->colormap[1][i]); in find_nearby_colors() 734 x = GETJSAMPLE(cinfo->colormap[2][i]); in find_nearby_colors() 814 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors() 816 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE; in find_best_colors() 818 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE; in find_best_colors() 969 JSAMPROW colormap0 = cinfo->colormap[0]; in pass2_fs_dither() [all …]
|
/external/qemu/distrib/jpeg-6b/ |
D | rdbmp.c | 57 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member 90 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 91 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 92 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 98 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 99 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 100 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 123 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 140 *outptr++ = colormap[0][t]; /* can omit GETJSAMPLE() safely */ in get_8bit_row() 141 *outptr++ = colormap[1][t]; in get_8bit_row() [all …]
|
D | rdtarga.c | 53 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member 111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap() 197 register JSAMPARRAY colormap = source->colormap; in get_8bit_row() local 203 *ptr++ = colormap[0][t]; in get_8bit_row() 204 *ptr++ = colormap[1][t]; in get_8bit_row() 205 *ptr++ = colormap[2][t]; in get_8bit_row() 451 source->colormap = (*cinfo->mem->alloc_sarray) in start_input_tga() 458 source->colormap = NULL; in start_input_tga()
|
D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member 112 dest->colormap = NULL; in start_output_rle() 117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small) in start_output_rle() 119 MEMZERO(dest->colormap, cmapsize); in start_output_rle() 125 dest->colormap[ci * CMAPLENGTH + i] = in start_output_rle() 126 GETJSAMPLE(cinfo->colormap[ci][i]) << 8; in start_output_rle() 200 header.cmap = dest->colormap; in finish_output_rle()
|
D | wrbmp.c | 295 JSAMPARRAY colormap = cinfo->colormap; in write_colormap() local 300 if (colormap != NULL) { in write_colormap() 304 putc(GETJSAMPLE(colormap[2][i]), outfile); in write_colormap() 305 putc(GETJSAMPLE(colormap[1][i]), outfile); in write_colormap() 306 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 313 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 314 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap() 315 putc(GETJSAMPLE(colormap[0][i]), outfile); in write_colormap()
|
D | rdrle.c | 210 rle_map *colormap; in get_pseudocolor_row() local 213 colormap = source->header.cmap; in get_pseudocolor_row() 221 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8); in get_pseudocolor_row() 222 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8); in get_pseudocolor_row() 223 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8); in get_pseudocolor_row() 247 rle_map *colormap; in load_image() local 253 colormap = source->header.cmap; in load_image() 298 (colormap[GETJSAMPLE(rle_row[channel][col]) + 256 * channel] >> 8); in load_image()
|
D | wrgif.c | 219 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap) in emit_header() argument 262 if (colormap != NULL) { in emit_header() 265 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file); in emit_header() 266 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file); in emit_header() 267 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file); in emit_header() 270 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift); in emit_header() 307 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); in start_output_gif()
|
D | rdcolmap.c | 48 JSAMPROW colormap0 = cinfo->colormap[0]; in add_map_entry() 49 JSAMPROW colormap1 = cinfo->colormap[1]; in add_map_entry() 50 JSAMPROW colormap2 = cinfo->colormap[2]; in add_map_entry() 234 cinfo->colormap = (*cinfo->mem->alloc_sarray) in read_color_map()
|
D | wrtarga.c | 150 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_gray() 191 putc(GETJSAMPLE(cinfo->colormap[2][i]), outfile); in start_output_tga() 192 putc(GETJSAMPLE(cinfo->colormap[1][i]), outfile); in start_output_tga() 193 putc(GETJSAMPLE(cinfo->colormap[0][i]), outfile); in start_output_tga()
|
D | wrppm.c | 135 register JSAMPROW color_map0 = cinfo->colormap[0]; in put_demapped_rgb() 136 register JSAMPROW color_map1 = cinfo->colormap[1]; in put_demapped_rgb() 137 register JSAMPROW color_map2 = cinfo->colormap[2]; in put_demapped_rgb() 159 register JSAMPROW color_map = cinfo->colormap[0]; in put_demapped_gray()
|
D | jquant2.c | 532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); in compute_color() 533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); in compute_color() 534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); in compute_color() 689 x = GETJSAMPLE(cinfo->colormap[0][i]); in find_nearby_colors() 712 x = GETJSAMPLE(cinfo->colormap[1][i]); in find_nearby_colors() 734 x = GETJSAMPLE(cinfo->colormap[2][i]); in find_nearby_colors() 814 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE; in find_best_colors() 816 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE; in find_best_colors() 818 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE; in find_best_colors() 969 JSAMPROW colormap0 = cinfo->colormap[0]; in pass2_fs_dither() [all …]
|
/external/chromium/chrome/browser/ui/gtk/ |
D | theme_install_bubble_view_gtk.cc | 107 GdkColormap* colormap = gdk_screen_get_rgba_colormap(screen); in InitWidgets() local 109 if (colormap) in InitWidgets() 110 gtk_widget_set_colormap(widget_, colormap); in InitWidgets()
|
/external/libpng/contrib/gregbook/ |
D | rpng-x.c | 148 static Colormap colormap; variable 509 colormap = XCreateColormap(display, root, visual, AllocNone); in rpng_x_create_window() 510 if (!colormap) { in rpng_x_create_window() 545 attr.colormap = colormap; in rpng_x_create_window() 561 XSetWindowColormap(display, window, colormap); in rpng_x_create_window() 884 XFreeColormap(display, colormap); in rpng_x_cleanup()
|