Home | History | Annotate | Download | only in coders

Lines Matching refs:colormap

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);
431 colormap=(unsigned char *) RelinquishMagickMemory(colormap);
457 Apply colormap affineation to image.
466 *p=colormap[(ssize_t) index];
476 *p=colormap[(ssize_t) index];
481 colormap=(unsigned char *) RelinquishMagickMemory(colormap);
523 Create colormap.
529 p=colormap;
536 image->colormap[i].red=(MagickRealType)
538 image->colormap[i].green=(MagickRealType)
540 image->colormap[i].blue=(MagickRealType)
547 image->colormap[i].red=(MagickRealType)
549 image->colormap[i].green=(MagickRealType)
551 image->colormap[i].blue=(MagickRealType)
596 SetPixelRed(image,ClampToQuantum(image->colormap[(ssize_t)
599 SetPixelGreen(image,ClampToQuantum(image->colormap[(ssize_t)
602 SetPixelBlue(image,ClampToQuantum(image->colormap[(ssize_t)
619 image->colormap=(PixelInfo *) RelinquishMagickMemory(
620 image->colormap);
626 colormap=(unsigned char *) RelinquishMagickMemory(colormap);