Lines Matching refs:QuantumScale
134 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI()
141 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI()
142 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI()
143 alpha=0.5*(2.0*QuantumScale*red-QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
144 beta=0.8660254037844385*(QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
226 r=QuantumScale*DecodePixelGamma(red); in ConvertRGBToXYZ()
227 g=QuantumScale*DecodePixelGamma(green); in ConvertRGBToXYZ()
228 b=QuantumScale*DecodePixelGamma(blue); in ConvertRGBToXYZ()
330 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYPbPr()
331 *Pb=QuantumScale*((-0.1687367)*red-0.331264*green+0.5*blue)+0.5; in ConvertRGBToYPbPr()
332 *Pr=QuantumScale*(0.5*red-0.418688*green-0.081312*blue)+0.5; in ConvertRGBToYPbPr()
385 max=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, in ConvertRGBToHSV()
386 QuantumScale*blue)); in ConvertRGBToHSV()
387 min=MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSV()
388 QuantumScale*blue)); in ConvertRGBToHSV()
397 if (max == (QuantumScale*red)) in ConvertRGBToHSV()
399 *hue=(QuantumScale*green-QuantumScale*blue)/c; in ConvertRGBToHSV()
400 if ((QuantumScale*green) < (QuantumScale*blue)) in ConvertRGBToHSV()
404 if (max == (QuantumScale*green)) in ConvertRGBToHSV()
405 *hue=2.0+(QuantumScale*blue-QuantumScale*red)/c; in ConvertRGBToHSV()
407 *hue=4.0+(QuantumScale*red-QuantumScale*green)/c; in ConvertRGBToHSV()
537 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYDbDr()
538 *Db=QuantumScale*(-0.450*red-0.883*green+1.333*blue)+0.5; in ConvertRGBToYDbDr()
539 *Dr=QuantumScale*(-1.333*red+1.116*green+0.217*blue)+0.5; in ConvertRGBToYDbDr()
556 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYIQ()
557 *I=QuantumScale*(0.595716*red-0.274453*green-0.321263*blue)+0.5; in ConvertRGBToYIQ()
558 *Q=QuantumScale*(0.211456*red-0.522591*green+0.311135*blue)+0.5; in ConvertRGBToYIQ()
575 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYUV()
576 *U=QuantumScale*((-0.147)*red-0.289*green+0.436*blue)+0.5; in ConvertRGBToYUV()
577 *V=QuantumScale*(0.615*red-0.515*green-0.100*blue)+0.5; in ConvertRGBToYUV()
1770 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsInMemory()
1773 QuantumScale*distortion); in ValidateImageFormatsInMemory()
2008 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsOnDisk()
2011 QuantumScale*distortion); in ValidateImageFormatsOnDisk()
2197 if ((QuantumScale*distortion) > 0.0) in ValidateImportExportPixels()
2200 QuantumScale*distortion); in ValidateImportExportPixels()