Home
last modified time | relevance | path

Searched refs:QuantumScale (Results 1 – 25 of 54) sorted by relevance

123

/external/ImageMagick/MagickCore/
Dgem.c879 *chroma=QuantumScale*c; in ConvertRGBToHCL()
880 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToHCL()
940 *chroma=QuantumScale*c; in ConvertRGBToHCLp()
941 *luma=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToHCLp()
999 *brightness=QuantumScale*max; in ConvertRGBToHSB()
1055 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI()
1062 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI()
1063 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI()
1064 alpha=0.5*(2.0*QuantumScale*red-QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
1065 beta=0.8660254037844385*(QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
[all …]
Dcolorspace-private.h32 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()
Dcomposite-private.h42 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()
Ddecorate.c249 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 …]
Dstream.c1674 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1676 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1678 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
1691 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1693 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1695 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
1697 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1710 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1712 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1714 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
[all …]
Dcompare.c280 Sa=QuantumScale*GetPixelAlpha(image,p); in CompareImages()
281 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in CompareImages()
442 Sa=QuantumScale*GetPixelAlpha(image,p); in GetAbsoluteDistortion()
443 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetAbsoluteDistortion()
555 Sa=QuantumScale*GetPixelAlpha(image,p); in GetFuzzDistortion()
556 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetFuzzDistortion()
571 distance=QuantumScale*(p[i]-GetPixelChannel(reconstruct_image, in GetFuzzDistortion()
574 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetFuzzDistortion()
670 Sa=QuantumScale*GetPixelAlpha(image,p); in GetMeanAbsoluteDistortion()
671 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanAbsoluteDistortion()
[all …]
Dstatistic.c267 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator()
277 result=(double) (QuantumRange*exp((double) (value*QuantumScale*pixel))); in ApplyEvaluateOperator()
305 if ((QuantumScale*pixel) >= MagickEpsilon) in ApplyEvaluateOperator()
306 result=(double) (QuantumRange*log((double) (QuantumScale*value*pixel+ in ApplyEvaluateOperator()
354 result=(double) (QuantumRange*pow((double) (QuantumScale*pixel),(double) in ApplyEvaluateOperator()
376 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator()
714 evaluate_pixel[x].channel[i]*=QuantumScale; in EvaluateImages()
933 result=result*QuantumScale*pixel+parameters[i]; in ApplyFunction()
953 MagickPI*(frequency*QuantumScale*pixel+phase/360.0)))+bias)); in ApplyFunction()
972 result=2.0/width*(QuantumScale*pixel-center); in ApplyFunction()
[all …]
Dpixel.c323 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 …]
Dfourier.c301 Cr[i]=QuantumScale*(Ar[i]*Br[i]-Ai[i]*Bi[i]); in ComplexImages()
302 Ci[i]=QuantumScale*(Ai[i]*Br[i]+Ar[i]*Bi[i]); in ComplexImages()
736 source_pixels[i]=QuantumScale*GetPixelRed(image,p); in ForwardFourierTransform()
741 source_pixels[i]=QuantumScale*GetPixelGreen(image,p); in ForwardFourierTransform()
746 source_pixels[i]=QuantumScale*GetPixelBlue(image,p); in ForwardFourierTransform()
751 source_pixels[i]=QuantumScale*GetPixelBlack(image,p); in ForwardFourierTransform()
756 source_pixels[i]=QuantumScale*GetPixelAlpha(image,p); in ForwardFourierTransform()
1162 magnitude_pixels[i]=QuantumScale*GetPixelRed(magnitude_image,p); in InverseFourier()
1167 magnitude_pixels[i]=QuantumScale*GetPixelGreen(magnitude_image,p); in InverseFourier()
1172 magnitude_pixels[i]=QuantumScale*GetPixelBlue(magnitude_image,p); in InverseFourier()
[all …]
Dquantize.c453 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixel)); in AssociateAlphaPixel()
475 alpha=(double) (QuantumScale*pixel->alpha); in AssociateAlphaPixelInfo()
869 error.red=QuantumScale*(pixel.red-mid.red); in ClassifyImageColors()
870 error.green=QuantumScale*(pixel.green-mid.green); in ClassifyImageColors()
871 error.blue=QuantumScale*(pixel.blue-mid.blue); in ClassifyImageColors()
873 error.alpha=QuantumScale*(pixel.alpha-mid.alpha); in ClassifyImageColors()
886 node_info->total_color.red+=count*QuantumScale*ClampPixel(pixel.red); in ClassifyImageColors()
887 node_info->total_color.green+=count*QuantumScale*ClampPixel(pixel.green); in ClassifyImageColors()
888 node_info->total_color.blue+=count*QuantumScale*ClampPixel(pixel.blue); in ClassifyImageColors()
890 node_info->total_color.alpha+=count*QuantumScale* in ClassifyImageColors()
[all …]
Dquantum-export.c279 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportAlphaQuantum()
558 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRQuantum()
560 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRQuantum()
562 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRQuantum()
784 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRAQuantum()
786 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRAQuantum()
788 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRAQuantum()
790 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportBGRAQuantum()
1028 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGROQuantum()
1030 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
Ddraw-private.h45 fill->alpha*=QuantumScale*draw_info->fill_alpha; in GetFillColor()
65 stroke->alpha*=QuantumScale*draw_info->stroke_alpha; in GetStrokeColor()
Daccelerate-kernels-private.h813 poisson=exp(-SigmaPoisson*QuantumScale*pixel);
1036 result.z=QuantumScale*tmax;
1348 float alpha = QuantumScale*p.w;
1436 float alpha = QuantumScale*p.w;
1710 result = result*QuantumScale*pixel + parameters[i];
1722 (freq*QuantumScale*pixel + phase/360.0f)) + bias);
1733 result = 2.0f/width*(QuantumScale*pixel - center);
1747 result = MagickPI*slope*(QuantumScale*pixel-center);
1986 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue));
1987 tmin=MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, QuantumScale*blue));
[all …]
Dcomposite.c283 *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()
911 angle=angle_start+angle_range*QuantumScale*
922 (void) fprintf(stderr, "scaled by=%lf,%lf\n",QuantumScale*
923 GetPixelRed(p),QuantumScale*GetPixelGreen(p));
926 blur.x1*QuantumScale*GetPixelRed(source_image,p),
[all …]
Dgem-private.h138 r=QuantumScale*DecodePixelGamma(red); in ConvertRGBToXYZ()
139 g=QuantumScale*DecodePixelGamma(green); in ConvertRGBToXYZ()
140 b=QuantumScale*DecodePixelGamma(blue); in ConvertRGBToXYZ()
Dcolorspace.c175 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY()
176 *magenta=QuantumScale*(QuantumRange-green); in ConvertRGBToCMY()
177 *yellow=QuantumScale*(QuantumRange-blue); in ConvertRGBToCMY()
243 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYDbDr()
244 *Db=QuantumScale*(-0.450*red-0.883*green+1.333*blue)+0.5; in ConvertRGBToYDbDr()
245 *Dr=QuantumScale*(-1.333*red+1.116*green+0.217*blue)+0.5; in ConvertRGBToYDbDr()
251 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYIQ()
252 *I=QuantumScale*(0.595716*red-0.274453*green-0.321263*blue)+0.5; in ConvertRGBToYIQ()
253 *Q=QuantumScale*(0.211456*red-0.522591*green+0.311135*blue)+0.5; in ConvertRGBToYIQ()
259 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYPbPr()
[all …]
Dvision.c398 object[id].color.red+=QuantumScale*GetPixelRed(image,p); in ConnectedComponentsImage()
399 object[id].color.green+=QuantumScale*GetPixelGreen(image,p); in ConnectedComponentsImage()
400 object[id].color.blue+=QuantumScale*GetPixelBlue(image,p); in ConnectedComponentsImage()
402 object[id].color.alpha+=QuantumScale*GetPixelAlpha(image,p); in ConnectedComponentsImage()
404 object[id].color.black+=QuantumScale*GetPixelBlack(image,p); in ConnectedComponentsImage()
/external/ImageMagick/tests/
Dvalidate.c139 *intensity=(QuantumScale*red+QuantumScale*green+QuantumScale*blue)/3.0; in ConvertRGBToHSI()
146 *saturation=1.0-MagickMin(QuantumScale*red,MagickMin(QuantumScale*green, in ConvertRGBToHSI()
147 QuantumScale*blue))/(*intensity); in ConvertRGBToHSI()
148 alpha=0.5*(2.0*QuantumScale*red-QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
149 beta=0.8660254037844385*(QuantumScale*green-QuantumScale*blue); in ConvertRGBToHSI()
231 r=QuantumScale*DecodePixelGamma(red); in ConvertRGBToXYZ()
232 g=QuantumScale*DecodePixelGamma(green); in ConvertRGBToXYZ()
233 b=QuantumScale*DecodePixelGamma(blue); in ConvertRGBToXYZ()
335 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYPbPr()
336 *Pb=QuantumScale*((-0.1687367)*red-0.331264*green+0.5*blue)+0.5; in ConvertRGBToYPbPr()
[all …]
/external/ImageMagick/coders/
Dhdr.c777 gamma=QuantumScale*GetPixelRed(image,p); in WriteHDRImage()
778 if ((QuantumScale*GetPixelGreen(image,p)) > gamma) in WriteHDRImage()
779 gamma=QuantumScale*GetPixelGreen(image,p); in WriteHDRImage()
780 if ((QuantumScale*GetPixelBlue(image,p)) > gamma) in WriteHDRImage()
781 gamma=QuantumScale*GetPixelBlue(image,p); in WriteHDRImage()
788 pixel[0]=(unsigned char) (gamma*QuantumScale*GetPixelRed(image,p)); in WriteHDRImage()
789 pixel[1]=(unsigned char) (gamma*QuantumScale*GetPixelGreen(image,p)); in WriteHDRImage()
790 pixel[2]=(unsigned char) (gamma*QuantumScale*GetPixelBlue(image,p)); in WriteHDRImage()
Dpango.c416 cairo_set_source_rgba(cairo_image,QuantumScale*draw_info->fill.red, in ReadPANGOImage()
417 QuantumScale*draw_info->fill.green,QuantumScale*draw_info->fill.blue, in ReadPANGOImage()
418 QuantumScale*draw_info->fill.alpha); in ReadPANGOImage()
453 gamma=QuantumScale*fill_color.alpha; in ReadPANGOImage()
Dexr.c587 ImfFloatToHalf(QuantumScale*GetPixelRed(image,p),&half_quantum); in WriteEXRImage()
589 ImfFloatToHalf(QuantumScale*GetPixelGreen(image,p),&half_quantum); in WriteEXRImage()
591 ImfFloatToHalf(QuantumScale*GetPixelBlue(image,p),&half_quantum); in WriteEXRImage()
596 ImfFloatToHalf(QuantumScale*GetPixelAlpha(image,p),&half_quantum); in WriteEXRImage()
/external/ImageMagick/MagickWand/
Dpixel-wand.c520 return((double) QuantumScale*wand->pixel.alpha); in PixelGetAlpha()
582 return((double) QuantumScale*wand->pixel.black); in PixelGetBlack()
644 return((double) QuantumScale*wand->pixel.blue); in PixelGetBlue()
751 (QuantumScale*wand->pixel.red),(double) (QuantumScale*wand->pixel.green), in PixelGetColorAsNormalizedString()
752 (double) (QuantumScale*wand->pixel.blue)); in PixelGetColorAsNormalizedString()
755 (double) (QuantumScale*wand->pixel.black)); in PixelGetColorAsNormalizedString()
758 (double) (QuantumScale*wand->pixel.alpha)); in PixelGetColorAsNormalizedString()
821 return((double) QuantumScale*wand->pixel.red); in PixelGetCyan()
1003 return((double) QuantumScale*wand->pixel.green); in PixelGetGreen()
1134 return((double) QuantumScale*wand->pixel.green); in PixelGetMagenta()
[all …]
/external/ImageMagick/www/source/
Dcontrast.c8 #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/wand/
Dsigmoidal-contrast.c9 #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/core/
Dsigmoidal-contrast.c9 #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()

123