/external/chromium_org/third_party/npapi/bindings/ |
H A D | npapi_x11.h | 56 Colormap colormap; member in struct:_NPSetWindowCallbackStruct
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon12781 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. */
|
H A D | 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...] |
H A D | rdbmp.c | 60 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member in struct:_bmp_source_struct 85 /* Read the colormap from a BMP file */ 93 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); 94 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); 95 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); 101 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); 102 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); 103 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); 123 /* This version is for reading 8-bit colormap indexe 126 register JSAMPARRAY colormap = source->colormap; local [all...] |
H A D | 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[ [all...] |
H A D | 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 local [all...] |
H A D | 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) argument 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...] |
H A D | 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; /* Create local [all...] |
/external/jpeg/ |
H A D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon22742 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. */
|
H A D | 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...] |
H A D | 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 indexe 123 register JSAMPARRAY colormap = source->colormap; local [all...] |
H A D | 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[ [all...] |
H A D | 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 local [all...] |
H A D | 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) argument 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...] |
H A D | 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; /* Create local [all...] |
/external/qemu/distrib/jpeg-6b/ |
H A D | wrrle.c | 57 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon29340 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. */
|
H A D | 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...] |
H A D | 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 indexe 123 register JSAMPARRAY colormap = source->colormap; local [all...] |
H A D | 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[ [all...] |
H A D | 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 local [all...] |
H A D | 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) argument 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...] |
H A D | 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; /* Create local [all...] |
/external/chromium_org/ui/display/chromeos/x11/ |
H A D | native_display_delegate_x11.cc | 633 Colormap colormap = DefaultColormap(display_, 0); local 639 XAllocColor(display_, colormap, &color); 648 XFreeColors(display_, colormap, &color.pixel, 1, 0);
|
/external/libpng/contrib/gregbook/ |
H A D | 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/libpng/ |
H A D | pngwrite.c | 1712 png_const_voidp colormap; member in struct:__anon24630 1981 const void *cmap = display->colormap; 2133 int colormap = (format & PNG_FORMAT_FLAG_COLORMAP) != 0; local 2134 int linear = !colormap && (format & PNG_FORMAT_FLAG_LINEAR) != 0; /* input */ 2135 int alpha = !colormap && (format & PNG_FORMAT_FLAG_ALPHA) != 0; 2136 int write_16bit = linear && !colormap && !display->convert_to_8bit; 2150 if (display->colormap != NULL && image->colormap_entries > 0) 2223 if (!colormap && (format & PNG_FORMAT_FLAG_COLOR) != 0) 2232 if (!colormap && (format & PNG_FORMAT_FLAG_ALPHA) != 0) 2241 if (colormap 2320 png_image_write_to_stdio(png_imagep image, FILE *file, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument 2369 png_image_write_to_file(png_imagep image, const char *file_name, int convert_to_8bit, const void *buffer, png_int_32 row_stride, const void *colormap) argument [all...] |