/external/ImageMagick/MagickCore/ |
D | gem.c | 885 *chroma=QuantumScale*c; in ConvertRGBToHCL() 886 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToHCL() 946 *chroma=QuantumScale*c; in ConvertRGBToHCLp() 947 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToHCLp() 1005 *brightness=QuantumScale*max; in ConvertRGBToHSB() 1061 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI() 1068 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI() 1069 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI() 1070 alpha=0.5*(2.0*QuantumScale*red-QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI() 1071 beta=0.8660254037844385*(QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI() [all …]
|
D | colorspace-private.h | 32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange- in ConvertCMYKToRGB() 34 pixel->green=((QuantumRange-(QuantumScale*pixel->green*(QuantumRange- in ConvertCMYKToRGB() 36 pixel->blue=((QuantumRange-(QuantumScale*pixel->blue*(QuantumRange- in ConvertCMYKToRGB() 53 red=QuantumScale*pixel->red; in ConvertRGBToCMYK() 54 green=QuantumScale*pixel->green; in ConvertRGBToCMYK() 55 blue=QuantumScale*pixel->blue; in ConvertRGBToCMYK() 59 red=QuantumScale*DecodePixelGamma(pixel->red); in ConvertRGBToCMYK() 60 green=QuantumScale*DecodePixelGamma(pixel->green); in ConvertRGBToCMYK() 61 blue=QuantumScale*DecodePixelGamma(pixel->blue); in ConvertRGBToCMYK()
|
D | composite-private.h | 42 Sa=QuantumScale*alpha; in MagickOver_() 43 Da=QuantumScale*beta; in MagickOver_() 66 Sa=QuantumScale*alpha; in CompositePixelOver() 67 Da=QuantumScale*beta; in CompositePixelOver() 133 Sa=QuantumScale*alpha; in CompositePixelInfoOver() 134 Da=QuantumScale*beta, in CompositePixelInfoOver() 156 Sa=QuantumScale*alpha; in CompositePixelInfoPlus() 157 Da=QuantumScale*beta; in CompositePixelInfoPlus()
|
D | gem-private.h | 109 r=QuantumScale*DecodePixelGamma(red); in ConvertAdobe98ToXYZ() 110 g=QuantumScale*DecodePixelGamma(green); in ConvertAdobe98ToXYZ() 111 b=QuantumScale*DecodePixelGamma(blue); in ConvertAdobe98ToXYZ() 131 r=QuantumScale*DecodePixelGamma(red); in ConvertDisplayP3ToXYZ() 132 g=QuantumScale*DecodePixelGamma(green); in ConvertDisplayP3ToXYZ() 133 b=QuantumScale*DecodePixelGamma(blue); in ConvertDisplayP3ToXYZ() 214 r=QuantumScale*DecodePixelGamma(red); in ConvertProPhotoToXYZ() 215 g=QuantumScale*DecodePixelGamma(green); in ConvertProPhotoToXYZ() 216 b=QuantumScale*DecodePixelGamma(blue); in ConvertProPhotoToXYZ() 236 r=QuantumScale*DecodePixelGamma(red); in ConvertRGBToXYZ() [all …]
|
D | decorate.c | 249 accentuate.red=(double) (QuantumScale*((QuantumRange- in FrameImage() 251 accentuate.green=(double) (QuantumScale*((QuantumRange- in FrameImage() 253 accentuate.blue=(double) (QuantumScale*((QuantumRange- in FrameImage() 255 accentuate.black=(double) (QuantumScale*((QuantumRange- in FrameImage() 259 highlight.red=(double) (QuantumScale*((QuantumRange- in FrameImage() 261 highlight.green=(double) (QuantumScale*((QuantumRange- in FrameImage() 263 highlight.blue=(double) (QuantumScale*((QuantumRange- in FrameImage() 265 highlight.black=(double) (QuantumScale*((QuantumRange- in FrameImage() 269 shadow.red=QuantumScale*matte.red*ShadowModulate; in FrameImage() 270 shadow.green=QuantumScale*matte.green*ShadowModulate; in FrameImage() [all …]
|
D | stream.c | 1712 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels() 1714 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels() 1716 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() 1729 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels() 1731 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels() 1733 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() 1735 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels() 1748 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels() 1750 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels() 1752 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels() [all …]
|
D | fourier.c | 305 gamma=QuantumRange*PerceptibleReciprocal(QuantumScale*Br[i]*Br[i]+ in ComplexImages() 306 QuantumScale*Bi[i]*Bi[i]+snr); in ComplexImages() 307 Cr[i]=gamma*(QuantumScale*Ar[i]*Br[i]+QuantumScale*Ai[i]*Bi[i]); in ComplexImages() 308 Ci[i]=gamma*(QuantumScale*Ai[i]*Br[i]-QuantumScale*Ar[i]*Bi[i]); in ComplexImages() 313 Cr[i]=sqrt(QuantumScale*Ar[i]*Ar[i]+QuantumScale*Ai[i]*Ai[i]); in ComplexImages() 319 Cr[i]=(QuantumScale*Ar[i]*Br[i]-QuantumScale*Ai[i]*Bi[i]); in ComplexImages() 320 Ci[i]=(QuantumScale*Ai[i]*Br[i]+QuantumScale*Ar[i]*Bi[i]); in ComplexImages() 754 source_pixels[i]=QuantumScale*GetPixelRed(image,p); in ForwardFourierTransform() 759 source_pixels[i]=QuantumScale*GetPixelGreen(image,p); in ForwardFourierTransform() 764 source_pixels[i]=QuantumScale*GetPixelBlue(image,p); in ForwardFourierTransform() [all …]
|
D | compare.c | 280 Sa=QuantumScale*GetPixelAlpha(image,p); in CompareImages() 281 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in CompareImages() 440 Sa=QuantumScale*GetPixelAlpha(image,p); in GetAbsoluteDistortion() 441 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetAbsoluteDistortion() 554 Sa=QuantumScale*GetPixelAlpha(image,p); in GetFuzzDistortion() 555 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetFuzzDistortion() 570 distance=QuantumScale*(p[i]-GetPixelChannel(reconstruct_image, in GetFuzzDistortion() 573 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetFuzzDistortion() 669 Sa=QuantumScale*GetPixelAlpha(image,p); in GetMeanAbsoluteDistortion() 670 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanAbsoluteDistortion() [all …]
|
D | quantize.c | 454 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixel)); in AssociateAlphaPixel() 476 alpha=(double) (QuantumScale*pixel->alpha); in AssociateAlphaPixelInfo() 875 error.red=QuantumScale*(pixel.red-mid.red); in ClassifyImageColors() 876 error.green=QuantumScale*(pixel.green-mid.green); in ClassifyImageColors() 877 error.blue=QuantumScale*(pixel.blue-mid.blue); in ClassifyImageColors() 879 error.alpha=QuantumScale*(pixel.alpha-mid.alpha); in ClassifyImageColors() 892 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors() 893 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); in ClassifyImageColors() 894 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); in ClassifyImageColors() 896 node_info->total_color.alpha+=count*QuantumScale* in ClassifyImageColors() [all …]
|
D | statistic.c | 283 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator() 293 result=(double) (QuantumRange*exp((double) (value*QuantumScale*pixel))); in ApplyEvaluateOperator() 310 result=(QuantumRange*pow((value+1.0),QuantumScale*pixel)-1.0)* in ApplyEvaluateOperator() 329 if ((QuantumScale*pixel) >= MagickEpsilon) in ApplyEvaluateOperator() 330 result=(double) (QuantumRange*log((double) (QuantumScale*value*pixel+ in ApplyEvaluateOperator() 379 result=(double) -(QuantumRange*pow((double) -(QuantumScale*pixel), in ApplyEvaluateOperator() 382 result=(double) (QuantumRange*pow((double) (QuantumScale*pixel), in ApplyEvaluateOperator() 406 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator() 777 evaluate_pixel[x].channel[i]*=QuantumScale; in EvaluateImages() 996 result=result*QuantumScale*pixel+parameters[i]; in ApplyFunction() [all …]
|
D | pixel.c | 323 return((MagickRealType) (QuantumRange*DecodeGamma((double) (QuantumScale* in DecodePixelGamma() 450 return((MagickRealType) QuantumRange*(1.055*EncodeGamma((double) QuantumScale* in EncodePixelGamma() 745 *q++=(double) (QuantumScale*GetPixelBlue(image,p)); in ExportDoublePixel() 746 *q++=(double) (QuantumScale*GetPixelGreen(image,p)); in ExportDoublePixel() 747 *q++=(double) (QuantumScale*GetPixelRed(image,p)); in ExportDoublePixel() 762 *q++=(double) (QuantumScale*GetPixelBlue(image,p)); in ExportDoublePixel() 763 *q++=(double) (QuantumScale*GetPixelGreen(image,p)); in ExportDoublePixel() 764 *q++=(double) (QuantumScale*GetPixelRed(image,p)); in ExportDoublePixel() 765 *q++=(double) (QuantumScale*GetPixelAlpha(image,p)); in ExportDoublePixel() 780 *q++=(double) (QuantumScale*GetPixelBlue(image,p)); in ExportDoublePixel() [all …]
|
D | draw-private.h | 45 fill->alpha*=QuantumScale*draw_info->fill_alpha; in GetFillColor() 65 stroke->alpha*=QuantumScale*draw_info->stroke_alpha; in GetStrokeColor()
|
D | quantum-export.c | 279 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportAlphaQuantum() 559 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRQuantum() 561 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRQuantum() 563 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRQuantum() 785 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRAQuantum() 787 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRAQuantum() 789 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRAQuantum() 791 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportBGRAQuantum() 1029 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGROQuantum() 1031 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGROQuantum() [all …]
|
D | accelerate-kernels-private.h | 806 poisson=exp(-SigmaPoisson*QuantumScale*pixel); 1029 result.z=QuantumScale*tmax; 1341 float alpha = QuantumScale*p.w; 1429 float alpha = QuantumScale*p.w; 1703 result = result*QuantumScale*pixel + parameters[i]; 1715 (freq*QuantumScale*pixel + phase/360.0f)) + bias); 1726 result = 2.0f/width*(QuantumScale*pixel - center); 1740 result = MagickPI*slope*(QuantumScale*pixel-center); 1979 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue)); 1980 tmin=MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, QuantumScale*blue)); [all …]
|
D | fx.c | 421 return(QuantumScale*(*value)); in FxChannelStatistics() 498 return(QuantumScale*statistic); in FxChannelStatistics() 779 case RedPixelChannel: return(QuantumScale*pixel.red); in FxGetSymbol() 780 case GreenPixelChannel: return(QuantumScale*pixel.green); in FxGetSymbol() 781 case BluePixelChannel: return(QuantumScale*pixel.blue); in FxGetSymbol() 791 return(QuantumScale*pixel.black); in FxGetSymbol() 797 alpha=(double) (QuantumScale*pixel.alpha); in FxGetSymbol() 806 return(QuantumScale*GetPixelIntensity(image,quantum_pixel)); in FxGetSymbol() 823 return((QuantumScale*pixel.alpha)); in FxGetSymbol() 830 return(QuantumScale*pixel.blue); in FxGetSymbol() [all …]
|
D | composite.c | 283 *chroma=QuantumScale*c; in CompositeHCL() 284 *luma=QuantumScale*(0.298839*r+0.586811*g+0.114350*b); in CompositeHCL() 450 Sa=QuantumScale*GetPixelAlpha(source_image,p); in CompositeOverImage() 451 Da=QuantumScale*GetPixelAlpha(image,q); in CompositeOverImage() 495 Sca=QuantumScale*Sa*Sc; in CompositeOverImage() 496 Dca=QuantumScale*Da*Dc; in CompositeOverImage() 912 angle=angle_start+angle_range*QuantumScale* in CompositeImage() 920 blur.x1*QuantumScale*GetPixelRed(source_image,p), in CompositeImage() 921 blur.y1*QuantumScale*GetPixelGreen(source_image,p), in CompositeImage() 922 blur.x2*QuantumScale*GetPixelRed(source_image,p), in CompositeImage() [all …]
|
D | colorspace.c | 213 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY() 214 *magenta=QuantumScale*(QuantumRange-green); in ConvertRGBToCMY() 215 *yellow=QuantumScale*(QuantumRange-blue); in ConvertRGBToCMY() 418 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYDbDr() 419 *Db=QuantumScale*(-0.450*red-0.883*green+1.333*blue)+0.5; in ConvertRGBToYDbDr() 420 *Dr=QuantumScale*(-1.333*red+1.116*green+0.217*blue)+0.5; in ConvertRGBToYDbDr() 426 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYIQ() 427 *I=QuantumScale*(0.595716*red-0.274453*green-0.321263*blue)+0.5; in ConvertRGBToYIQ() 428 *Q=QuantumScale*(0.211456*red-0.522591*green+0.311135*blue)+0.5; in ConvertRGBToYIQ() 434 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYPbPr() [all …]
|
/external/ImageMagick/tests/ |
D | validate.c | 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() [all …]
|
/external/ImageMagick/coders/ |
D | hdr.c | 779 gamma=QuantumScale*GetPixelRed(image,p); in WriteHDRImage() 780 if ((QuantumScale*GetPixelGreen(image,p)) > gamma) in WriteHDRImage() 781 gamma=QuantumScale*GetPixelGreen(image,p); in WriteHDRImage() 782 if ((QuantumScale*GetPixelBlue(image,p)) > gamma) in WriteHDRImage() 783 gamma=QuantumScale*GetPixelBlue(image,p); in WriteHDRImage() 791 pixel[0]=(unsigned char) (gamma*QuantumScale*GetPixelRed(image,p)); in WriteHDRImage() 793 pixel[1]=(unsigned char) (gamma*QuantumScale* in WriteHDRImage() 796 pixel[2]=(unsigned char) (gamma*QuantumScale*GetPixelBlue(image,p)); in WriteHDRImage()
|
D | pango.c | 421 cairo_set_source_rgba(cairo_image,QuantumScale*draw_info->fill.red, in ReadPANGOImage() 422 QuantumScale*draw_info->fill.green,QuantumScale*draw_info->fill.blue, in ReadPANGOImage() 423 QuantumScale*draw_info->fill.alpha); in ReadPANGOImage() 458 gamma=QuantumScale*fill_color.alpha; in ReadPANGOImage()
|
D | exr.c | 624 ImfFloatToHalf(QuantumScale*GetPixelRed(image,p),&half_quantum); in WriteEXRImage() 626 ImfFloatToHalf(QuantumScale*GetPixelGreen(image,p),&half_quantum); in WriteEXRImage() 628 ImfFloatToHalf(QuantumScale*GetPixelBlue(image,p),&half_quantum); in WriteEXRImage() 633 ImfFloatToHalf(QuantumScale*GetPixelAlpha(image,p),&half_quantum); in WriteEXRImage()
|
/external/ImageMagick/MagickWand/ |
D | pixel-wand.c | 508 return((double) QuantumScale*wand->pixel.alpha); in PixelGetAlpha() 570 return((double) QuantumScale*wand->pixel.black); in PixelGetBlack() 632 return((double) QuantumScale*wand->pixel.blue); in PixelGetBlue() 739 (QuantumScale*wand->pixel.red),(double) (QuantumScale*wand->pixel.green), in PixelGetColorAsNormalizedString() 740 (double) (QuantumScale*wand->pixel.blue)); in PixelGetColorAsNormalizedString() 743 (double) (QuantumScale*wand->pixel.black)); in PixelGetColorAsNormalizedString() 746 (double) (QuantumScale*wand->pixel.alpha)); in PixelGetColorAsNormalizedString() 809 return((double) QuantumScale*wand->pixel.red); in PixelGetCyan() 991 return((double) QuantumScale*wand->pixel.green); in PixelGetGreen() 1122 return((double) QuantumScale*wand->pixel.green); in PixelGetMagenta() [all …]
|
/external/ImageMagick/www/source/wand/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast() macro 11 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503) in SigmoidalContrast()
|
/external/ImageMagick/www/source/ |
D | contrast.c | 8 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in main() macro 10 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503) in main()
|
/external/ImageMagick/www/source/core/ |
D | sigmoidal-contrast.c | 9 #define QuantumScale ((MagickRealType) 1.0/(MagickRealType) QuantumRange) in SigmoidalContrast() macro 11 (QuantumRange*(1.0/(1+exp(10.0*(0.5-QuantumScale*x)))-0.0066928509)*1.0092503) in SigmoidalContrast()
|