Lines Matching refs:diversity
7686 diversity; in IntensityCompare() local
7690 diversity=(int) (DiversityPixelIntensity(color_2)- in IntensityCompare()
7692 return(diversity); in IntensityCompare()
7943 *diversity; in XMakeStandardColormap() local
7960 diversity=(DiversityPacket *) AcquireQuantumMemory(image->colors, in XMakeStandardColormap()
7961 sizeof(*diversity)); in XMakeStandardColormap()
7962 if (diversity == (DiversityPacket *) NULL) in XMakeStandardColormap()
7967 diversity[i].red=ClampToQuantum(image->colormap[i].red); in XMakeStandardColormap()
7968 diversity[i].green=ClampToQuantum(image->colormap[i].green); in XMakeStandardColormap()
7969 diversity[i].blue=ClampToQuantum(image->colormap[i].blue); in XMakeStandardColormap()
7970 diversity[i].index=(unsigned short) i; in XMakeStandardColormap()
7971 diversity[i].count=0; in XMakeStandardColormap()
7988 diversity[(ssize_t) GetPixelIndex(image,p)].count++; in XMakeStandardColormap()
7996 qsort((void *) diversity,image->colors,sizeof(*diversity), in XMakeStandardColormap()
8000 diversity[i].count<<=4; /* increase this colors popularity */ in XMakeStandardColormap()
8003 diversity[image->colors-1].count<<=4; in XMakeStandardColormap()
8004 qsort((void *) diversity,image->colors,sizeof(*diversity), in XMakeStandardColormap()
8013 index=diversity[i].index; in XMakeStandardColormap()
8050 index=diversity[i].index; in XMakeStandardColormap()
8081 diversity=(DiversityPacket *) RelinquishMagickMemory(diversity); in XMakeStandardColormap()