Lines Matching refs:diversity
7680 diversity; in IntensityCompare() local
7684 diversity=(int) (DiversityPixelIntensity(color_2)- in IntensityCompare()
7686 return(diversity); in IntensityCompare()
7937 *diversity; in XMakeStandardColormap() local
7954 diversity=(DiversityPacket *) AcquireQuantumMemory(image->colors, in XMakeStandardColormap()
7955 sizeof(*diversity)); in XMakeStandardColormap()
7956 if (diversity == (DiversityPacket *) NULL) in XMakeStandardColormap()
7961 diversity[i].red=ClampToQuantum(image->colormap[i].red); in XMakeStandardColormap()
7962 diversity[i].green=ClampToQuantum(image->colormap[i].green); in XMakeStandardColormap()
7963 diversity[i].blue=ClampToQuantum(image->colormap[i].blue); in XMakeStandardColormap()
7964 diversity[i].index=(unsigned short) i; in XMakeStandardColormap()
7965 diversity[i].count=0; in XMakeStandardColormap()
7982 diversity[(ssize_t) GetPixelIndex(image,p)].count++; in XMakeStandardColormap()
7990 qsort((void *) diversity,image->colors,sizeof(*diversity), in XMakeStandardColormap()
7994 diversity[i].count<<=4; /* increase this colors popularity */ in XMakeStandardColormap()
7997 diversity[image->colors-1].count<<=4; in XMakeStandardColormap()
7998 qsort((void *) diversity,image->colors,sizeof(*diversity), in XMakeStandardColormap()
8007 index=diversity[i].index; in XMakeStandardColormap()
8044 index=diversity[i].index; in XMakeStandardColormap()
8075 diversity=(DiversityPacket *) RelinquishMagickMemory(diversity); in XMakeStandardColormap()