Lines Matching refs:grays

656     *grays;  in GetImageFeatures()  local
687 grays=(PixelPacket *) AcquireQuantumMemory(MaxMap+1UL,sizeof(*grays)); in GetImageFeatures()
688 if (grays == (PixelPacket *) NULL) in GetImageFeatures()
698 grays[i].red=(~0U); in GetImageFeatures()
699 grays[i].green=(~0U); in GetImageFeatures()
700 grays[i].blue=(~0U); in GetImageFeatures()
701 grays[i].alpha=(~0U); in GetImageFeatures()
702 grays[i].black=(~0U); in GetImageFeatures()
728 grays[ScaleQuantumToMap(GetPixelRed(image,p))].red= in GetImageFeatures()
730 grays[ScaleQuantumToMap(GetPixelGreen(image,p))].green= in GetImageFeatures()
732 grays[ScaleQuantumToMap(GetPixelBlue(image,p))].blue= in GetImageFeatures()
735 grays[ScaleQuantumToMap(GetPixelBlack(image,p))].black= in GetImageFeatures()
738 grays[ScaleQuantumToMap(GetPixelAlpha(image,p))].alpha= in GetImageFeatures()
746 grays=(PixelPacket *) RelinquishMagickMemory(grays); in GetImageFeatures()
754 if (grays[i].red != ~0U) in GetImageFeatures()
755 grays[gray.red++].red=grays[i].red; in GetImageFeatures()
756 if (grays[i].green != ~0U) in GetImageFeatures()
757 grays[gray.green++].green=grays[i].green; in GetImageFeatures()
758 if (grays[i].blue != ~0U) in GetImageFeatures()
759 grays[gray.blue++].blue=grays[i].blue; in GetImageFeatures()
761 if (grays[i].black != ~0U) in GetImageFeatures()
762 grays[gray.black++].black=grays[i].black; in GetImageFeatures()
764 if (grays[i].alpha != ~0U) in GetImageFeatures()
765 grays[gray.alpha++].alpha=grays[i].alpha; in GetImageFeatures()
820 grays=(PixelPacket *) RelinquishMagickMemory(grays); in GetImageFeatures()
869 grays=(PixelPacket *) RelinquishMagickMemory(grays); in GetImageFeatures()
946 while (grays[u].red != ScaleQuantumToMap(GetPixelRed(image,p))) in GetImageFeatures()
948 … while (grays[v].red != ScaleQuantumToMap(GetPixelRed(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures()
954 while (grays[u].green != ScaleQuantumToMap(GetPixelGreen(image,p))) in GetImageFeatures()
956 … while (grays[v].green != ScaleQuantumToMap(GetPixelGreen(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures()
962 while (grays[u].blue != ScaleQuantumToMap(GetPixelBlue(image,p))) in GetImageFeatures()
964 … while (grays[v].blue != ScaleQuantumToMap(GetPixelBlue(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures()
972 while (grays[u].black != ScaleQuantumToMap(GetPixelBlack(image,p))) in GetImageFeatures()
974 … while (grays[v].black != ScaleQuantumToMap(GetPixelBlack(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures()
983 while (grays[u].alpha != ScaleQuantumToMap(GetPixelAlpha(image,p))) in GetImageFeatures()
985 … while (grays[v].alpha != ScaleQuantumToMap(GetPixelAlpha(image,p+offset*GetPixelChannels(image)))) in GetImageFeatures()
994 grays=(PixelPacket *) RelinquishMagickMemory(grays); in GetImageFeatures()