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

1 2 3 4 5 6

  /external/ImageMagick/coders/
map.c 50 #include "MagickCore/colormap.h"
51 #include "MagickCore/colormap-private.h"
88 % ReadMAPImage() reads an image of raw RGB colormap and colormap index
136 *colormap,
171 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size*
172 sizeof(*colormap));
174 (colormap == (unsigned char *) NULL))
177 Read image colormap.
179 count=ReadBlob(image,packet_size*image->colors,colormap);
133 *colormap, local
362 *colormap, local
    [all...]
rle.c 47 #include "MagickCore/colormap.h"
48 #include "MagickCore/colormap-private.h"
190 *colormap,
264 colormap=(unsigned char *) NULL;
270 colormap=(unsigned char *) AcquireQuantumMemory(number_colormaps,
271 3*map_length*sizeof(*colormap));
272 if (colormap == (unsigned char *) NULL)
274 p=colormap;
399 colormap=(unsigned char *) RelinquishMagickMemory(colormap);
187 *colormap, local
    [all...]
mpc.c 52 #include "MagickCore/colormap.h"
839 Create image colormap.
849 *colormap;
852 Read image colormap from file.
855 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,
856 packet_size*sizeof(*colormap));
857 if (colormap == (unsigned char *) NULL)
859 count=ReadBlob(image,packet_size*image->colors,colormap);
863 p=colormap;
877 image->colormap[i].red=ScaleCharToQuantum(pixel)
845 *colormap; local
1383 *colormap, local
    [all...]
wpg.c 46 #include "MagickCore/colormap.h"
47 #include "MagickCore/colormap-private.h"
299 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
310 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
328 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
332 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
336 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
340 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
348 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
354 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q)
    [all...]
cut.c 58 #include "MagickCore/colormap.h"
59 #include "MagickCore/colormap-private.h"
463 image->colormap[i].red=(Quantum) ReadBlobLSBShort(palette);
466 image->colormap[i].red=ClampToQuantum(((double)
467 image->colormap[i].red*QuantumRange+(PalHeader.MaxRed>>1))/
470 image->colormap[i].green=(Quantum) ReadBlobLSBShort(palette);
473 image->colormap[i].green=ClampToQuantum
474 (((double) image->colormap[i].green*QuantumRange+(PalHeader.MaxGreen>>1))/PalHeader.MaxGreen);
476 image->colormap[i].blue=(Quantum) ReadBlobLSBShort(palette);
479 image->colormap[i].blue=ClampToQuantu
    [all...]
gif.c 50 #include "MagickCore/colormap.h"
51 #include "MagickCore/colormap-private.h"
169 % o opacity: The colormap index associated with the transparent color.
449 SetPixelViaPixelInfo(image,image->colormap+index,q);
1294 *colormap; local
1508 *colormap, local
    [all...]
fax.c 47 #include "MagickCore/colormap.h"
223 Monochrome colormap.
225 image->colormap[0].red=QuantumRange;
226 image->colormap[0].green=QuantumRange;
227 image->colormap[0].blue=QuantumRange;
228 image->colormap[1].red=(Quantum) 0;
229 image->colormap[1].green=(Quantum) 0;
230 image->colormap[1].blue=(Quantum) 0;
rgf.c 49 #include "MagickCore/colormap.h"
161 Initialize colormap.
163 image->colormap[0].red=QuantumRange;
164 image->colormap[0].green=QuantumRange;
165 image->colormap[0].blue=QuantumRange;
166 image->colormap[1].red=(Quantum) 0;
167 image->colormap[1].green=(Quantum) 0;
168 image->colormap[1].blue=(Quantum) 0;
jbig.c 49 #include "MagickCore/colormap.h"
207 Create colormap.
218 image->colormap[0].red=0;
219 image->colormap[0].green=0;
220 image->colormap[0].blue=0;
221 image->colormap[1].red=QuantumRange;
222 image->colormap[1].green=QuantumRange;
223 image->colormap[1].blue=QuantumRange;
261 SetPixelViaPixelInfo(image,image->colormap+(ssize_t) index,q);
xpm.c 50 #include "MagickCore/colormap.h"
377 Read image colormap.
416 status=QueryColorCompliance(target,XPMCompliance,&image->colormap[j],
420 if (image->depth < image->colormap[j].depth)
421 image->depth=image->colormap[j].depth;
454 SetPixelViaPixelInfo(image,image->colormap+j,r);
591 Colormap[]=
696 affinity_image=BlobToImage(blob_info,Colormap,ColormapExtent,exception);
745 picon->colormap=(PixelInfo *) ResizeQuantumMemory((void **)
746 picon->colormap,(size_t) colors,sizeof(*picon->colormap))
    [all...]
  /external/ImageMagick/MagickCore/
colormap.c 13 % MagickCore Colormap Methods %
52 #include "MagickCore/colormap.h"
87 % AcquireImageColormap() allocates an image colormap and initializes
88 % it to a linear gray colorspace. If the image already has a colormap,
101 % o colors: the number of colors in the image colormap.
113 Allocate image colormap.
120 if (image->colormap == (PixelInfo *) NULL)
121 image->colormap=(PixelInfo *) AcquireQuantumMemory(image->colors,
122 sizeof(*image->colormap));
124 image->colormap=(PixelInfo *) ResizeQuantumMemory(image->colormap
    [all...]
enhance.c 738 Apply transfer function to colormap.
743 luma=0.21267f*image->colormap[i].red+0.71526*image->colormap[i].green+
744 0.07217f*image->colormap[i].blue;
745 image->colormap[i].red=luma+color_correction.saturation*cdl_map[
746 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].red))].red-luma;
747 image->colormap[i].green=luma+color_correction.saturation*cdl_map[
748 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].green))].green-luma;
749 image->colormap[i].blue=luma+color_correction.saturation*cdl_map[
750 ScaleQuantumToMap(ClampToQuantum(image->colormap[i].blue))].blue-luma
    [all...]
quantize.c 96 % number of colors in the output image (currently log2(colormap size)).
182 #include "MagickCore/colormap.h"
510 Allocate image colormap.
620 image->colormap[index].red),q);
622 image->colormap[index].green),q);
624 image->colormap[index].blue),q);
627 image->colormap[index].alpha),q);
663 (GetPixelInfoLuma(image->colormap+0) >
664 GetPixelInfoLuma(image->colormap+1)))
666 image->colormap[0].red=intensity
3308 *colormap; local
    [all...]
  /external/opencv3/modules/imgproc/src/
colormap.cpp 134 namespace colormap namespace in namespace:cv
137 class ColorMap {
143 virtual ~ColorMap() {}
145 // Applies the colormap on a given image.
158 // Interpolates from a base colormap.
165 // Interpolates from a base colormap.
172 // Interpolates from a base colormap.
178 // Equals the GNU Octave colormap "autumn".
179 class Autumn : public ColorMap {
181 Autumn() : ColorMap() {
    [all...]
  /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.
  /external/libjpeg-turbo/
rdbmp.c 61 JSAMPARRAY colormap; /* BMP colormap (converted to my format) */ member in struct:_bmp_source_struct
86 /* Read the colormap from a BMP file */
94 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
95 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
96 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
102 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
103 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
104 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
124 /* This version is for reading 8-bit colormap indexes *
127 register JSAMPARRAY colormap = source->colormap; local
    [all...]
wrrle.c 59 rle_map *colormap; /* RLE-style color map, or NULL if none */ member in struct:__anon15264
112 /* Convert colormap, if any, to RLE format. */
114 dest->colormap = NULL;
119 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small)
121 MEMZERO(dest->colormap, cmapsize);
127 dest->colormap[ci * CMAPLENGTH + i] =
128 GETJSAMPLE(cinfo->colormap[ci][i]) << 8;
202 header.cmap = dest->colormap;
203 /* Add a comment to the output image with the true colormap length. */
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)
rdtarga.c 55 JSAMPARRAY colormap; /* Targa colormap (converted to my format) */ member in struct:_tga_source_struct
103 /* Read the colormap from a Targa file */
112 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
113 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
114 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
192 /* This version is for reading 8-bit colormap indexes */
198 register JSAMPARRAY colormap = source->colormap; local
204 *ptr++ = colormap[0][t]
    [all...]
rdrle.c 44 * GRAYSCALE - 8 bits, no colormap
46 * PSEUDOCOLOR - 8 bits, 3 channel colormap
47 * TRUECOLOR - 24 bits, 3 channel colormap
48 * DIRECTCOLOR - 24 bits, no colormap
212 rle_map *colormap; local
215 colormap = source->header.cmap;
223 *dest_row++ = (JSAMPLE) (colormap[val ] >> 8);
224 *dest_row++ = (JSAMPLE) (colormap[val + 256] >> 8);
225 *dest_row++ = (JSAMPLE) (colormap[val + 512] >> 8);
249 rle_map *colormap; local
    [all...]
wrgif.c 212 /* Emit 3 copies of same byte value --- handy subr for colormap construction */
221 emit_header (gif_dest_ptr dinfo, int num_colors, JSAMPARRAY colormap)
223 /* If colormap==NULL, synthesize a grayscale colormap */
264 if (colormap != NULL) {
267 putc(GETJSAMPLE(colormap[0][i]) >> cshift, dinfo->pub.output_file);
268 putc(GETJSAMPLE(colormap[1][i]) >> cshift, dinfo->pub.output_file);
269 putc(GETJSAMPLE(colormap[2][i]) >> cshift, dinfo->pub.output_file);
272 put_3bytes(dinfo, GETJSAMPLE(colormap[0][i]) >> cshift);
309 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap);
    [all...]
wrbmp.c 190 /* Write a Windows-style BMP file header, including colormap if needed */
205 /* Compute colormap size and total file size */
220 /* Grayscale output. We need to fake a 256-entry colormap. */
225 headersize = 14 + 40 + cmap_entries * 4; /* Header and colormap */
266 /* Write an OS2-style BMP file header, including colormap if needed */
273 /* Compute colormap size and total file size */
288 /* Grayscale output. We need to fake a 256-entry colormap. */
293 headersize = 14 + 12 + cmap_entries * 3; /* Header and colormap */
325 * Write the colormap.
333 JSAMPARRAY colormap = cinfo->colormap local
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
plot_dynamics.py 87 colormap = {'Available0':'#AAAAAA',
103 if key in colormap:
104 plt.setp(line, color=colormap[key])
  /external/ImageMagick/www/api/
colormap.php 9 <title>ImageMagick: MagickCore, C API for ImageMagick: Colormap Methods</title>
15 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, colormap, methods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/>
55 <p class="text-center"><a href="colormap.php#AcquireImageColormap">AcquireImageColormap</a> &bull; <a href="colormap.php#CycleColormap">CycleColormap</a></p>
59 <p>AcquireImageColormap() allocates an image colormap and initializes it to a linear gray colorspace. If the image already has a colormap, it is replaced. AcquireImageColormap() returns MagickTrue if successful, otherwise MagickFalse if there is not enough memory.</p>
80 <dd>the number of colors in the image colormap. </dd>
90 <p>CycleColormap() displaces an image's colormap by a given number of positions. If you cycle the colormap a number of times you can produce a psychodelic effect.</p>
92 <p>WARNING: this assumes an images colormap is in a well know and defined order. Currently Imagemagick has no way of setting that order.</p
    [all...]
  /external/autotest/client/deps/glbench/src/
xlib_window.cc 50 attr.colormap = XCreateColormap(g_xlib_display, root_window,

Completed in 184 milliseconds

1 2 3 4 5 6