Home
last modified time | relevance | path

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

12

/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()
Dstream.c1611 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1613 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1615 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
1628 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1630 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1632 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
1634 *q++=(double) ((QuantumScale*GetPixelAlpha(image,p))* in StreamImagePixels()
1647 *q++=(double) ((QuantumScale*GetPixelBlue(image,p))* in StreamImagePixels()
1649 *q++=(double) ((QuantumScale*GetPixelGreen(image,p))* in StreamImagePixels()
1651 *q++=(double) ((QuantumScale*GetPixelRed(image,p))* in StreamImagePixels()
[all …]
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 …]
Dcompare.c266 Sa=QuantumScale*GetPixelAlpha(image,p); in CompareImages()
267 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in CompareImages()
421 Sa=QuantumScale*GetPixelAlpha(image,p); in GetAbsoluteDistortion()
422 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetAbsoluteDistortion()
525 Sa=QuantumScale*GetPixelAlpha(image,p); in GetFuzzDistortion()
526 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetFuzzDistortion()
540 distance=QuantumScale*(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetFuzzDistortion()
629 Sa=QuantumScale*GetPixelAlpha(image,p); in GetMeanAbsoluteDistortion()
630 Da=QuantumScale*GetPixelAlpha(reconstruct_image,q); in GetMeanAbsoluteDistortion()
644 distance=QuantumScale*fabs(Sa*p[i]-Da*GetPixelChannel(reconstruct_image, in GetMeanAbsoluteDistortion()
[all …]
Dpixel.c324 return((MagickRealType) (QuantumRange*DecodeGamma((double) (QuantumScale* in DecodePixelGamma()
451 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 …]
Dstatistic.c266 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator()
276 result=(double) (QuantumRange*exp((double) (value*QuantumScale*pixel))); in ApplyEvaluateOperator()
304 if ((QuantumScale*pixel) >= MagickEpsilon) in ApplyEvaluateOperator()
305 result=(double) (QuantumRange*log((double) (QuantumScale*value*pixel+ in ApplyEvaluateOperator()
353 result=(double) (QuantumRange*pow((double) (QuantumScale*pixel),(double) in ApplyEvaluateOperator()
375 QuantumScale*pixel*value))+0.5)); in ApplyEvaluateOperator()
693 evaluate_pixel[x].channel[i]*=QuantumScale; in EvaluateImages()
914 result=result*QuantumScale*pixel+parameters[i]; in ApplyFunction()
934 MagickPI*(frequency*QuantumScale*pixel+phase/360.0)))+bias)); in ApplyFunction()
953 result=2.0/width*(QuantumScale*pixel-center); in ApplyFunction()
[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.c452 alpha=(double) (QuantumScale*GetPixelAlpha(image,pixel)); in AssociateAlphaPixel()
474 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.c278 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportAlphaQuantum()
557 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRQuantum()
559 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRQuantum()
561 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRQuantum()
783 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGRAQuantum()
785 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGRAQuantum()
787 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelRed(image,p)); in ExportBGRAQuantum()
789 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelAlpha(image,p)); in ExportBGRAQuantum()
1027 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelBlue(image,p)); in ExportBGROQuantum()
1029 pixel=SinglePrecisionToHalf(QuantumScale*GetPixelGreen(image,p)); in ExportBGROQuantum()
[all …]
Daccelerate-kernels-private.h816 poisson=exp(-SigmaPoisson*QuantumScale*pixel);
1044 HueSaturationBrightness.z=QuantumScale*tmax;
1338 float alpha = QuantumScale*p.w;
1426 float alpha = QuantumScale*p.w;
1700 result = result*QuantumScale*pixel + parameters[i];
1712 (freq*QuantumScale*pixel + phase/360.0f)) + bias);
1723 result = 2.0f/width*(QuantumScale*pixel - center);
1737 result = MagickPI*slope*(QuantumScale*pixel-center);
1973 tmax=MagickMax(QuantumScale*red,MagickMax(QuantumScale*green, QuantumScale*blue));
1974 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()
445 Sa=QuantumScale*GetPixelAlpha(source_image,p); in CompositeOverImage()
446 Da=QuantumScale*GetPixelAlpha(image,q); in CompositeOverImage()
482 Sca=QuantumScale*Sa*Sc; in CompositeOverImage()
483 Dca=QuantumScale*Da*Dc; in CompositeOverImage()
905 angle=angle_start+angle_range*QuantumScale*
916 (void) fprintf(stderr, "scaled by=%lf,%lf\n",QuantumScale*
917 GetPixelRed(p),QuantumScale*GetPixelGreen(p));
920 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.c122 *cyan=QuantumScale*(QuantumRange-red); in ConvertRGBToCMY()
123 *magenta=QuantumScale*(QuantumRange-green); in ConvertRGBToCMY()
124 *yellow=QuantumScale*(QuantumRange-blue); in ConvertRGBToCMY()
188 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYDbDr()
189 *Db=QuantumScale*(-0.450*red-0.883*green+1.333*blue)+0.5; in ConvertRGBToYDbDr()
190 *Dr=QuantumScale*(-1.333*red+1.116*green+0.217*blue)+0.5; in ConvertRGBToYDbDr()
196 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYIQ()
197 *I=QuantumScale*(0.595716*red-0.274453*green-0.321263*blue)+0.5; in ConvertRGBToYIQ()
198 *Q=QuantumScale*(0.211456*red-0.522591*green+0.311135*blue)+0.5; in ConvertRGBToYIQ()
204 *Y=QuantumScale*(0.298839*red+0.586811*green+0.114350*blue); in ConvertRGBToYPbPr()
[all …]
Denhance.c132 gamma=log(mean*QuantumScale)/log_mean; in AutoGammaImage()
150 gamma=log(mean*QuantumScale)/log_mean; in AutoGammaImage()
1304 mean=QuantumScale*((double) GetPixelRed(image,r)+pixel.red)/2.0; \ in EnhanceImage()
1305 distance=QuantumScale*((double) GetPixelRed(image,r)-pixel.red); \ in EnhanceImage()
1307 mean=QuantumScale*((double) GetPixelGreen(image,r)+pixel.green)/2.0; \ in EnhanceImage()
1308 distance=QuantumScale*((double) GetPixelGreen(image,r)-pixel.green); \ in EnhanceImage()
1310 mean=QuantumScale*((double) GetPixelBlue(image,r)+pixel.blue)/2.0; \ in EnhanceImage()
1311 distance=QuantumScale*((double) GetPixelBlue(image,r)-pixel.blue); \ in EnhanceImage()
1313 mean=QuantumScale*((double) GetPixelBlack(image,r)+pixel.black)/2.0; \ in EnhanceImage()
1314 distance=QuantumScale*((double) GetPixelBlack(image,r)-pixel.black); \ in EnhanceImage()
[all …]
Dfx.c1152 return(QuantumScale*StringToDouble(value,(char **) NULL)); in FxChannelStatistics()
1223 return(QuantumScale*StringToDouble(statistic,(char **) NULL)); in FxChannelStatistics()
1470 case RedPixelChannel: return(QuantumScale*pixel.red); in FxGetSymbol()
1471 case GreenPixelChannel: return(QuantumScale*pixel.green); in FxGetSymbol()
1472 case BluePixelChannel: return(QuantumScale*pixel.blue); in FxGetSymbol()
1482 return(QuantumScale*pixel.black); in FxGetSymbol()
1488 alpha=(double) (QuantumScale*pixel.alpha); in FxGetSymbol()
1499 return(QuantumScale*GetPixelIntensity(image,quantum_pixel)); in FxGetSymbol()
1514 return((QuantumScale*pixel.alpha)); in FxGetSymbol()
1521 return(QuantumScale*pixel.blue); in FxGetSymbol()
[all …]
/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.c775 gamma=QuantumScale*GetPixelRed(image,p); in WriteHDRImage()
776 if ((QuantumScale*GetPixelGreen(image,p)) > gamma) in WriteHDRImage()
777 gamma=QuantumScale*GetPixelGreen(image,p); in WriteHDRImage()
778 if ((QuantumScale*GetPixelBlue(image,p)) > gamma) in WriteHDRImage()
779 gamma=QuantumScale*GetPixelBlue(image,p); in WriteHDRImage()
786 pixel[0]=(unsigned char) (gamma*QuantumScale*GetPixelRed(image,p)); in WriteHDRImage()
787 pixel[1]=(unsigned char) (gamma*QuantumScale*GetPixelGreen(image,p)); in WriteHDRImage()
788 pixel[2]=(unsigned char) (gamma*QuantumScale*GetPixelBlue(image,p)); in WriteHDRImage()
Dpango.c401 cairo_set_source_rgba(cairo_image,QuantumScale*draw_info->fill.red, in ReadPANGOImage()
402 QuantumScale*draw_info->fill.green,QuantumScale*draw_info->fill.blue, in ReadPANGOImage()
403 QuantumScale*draw_info->fill.alpha); in ReadPANGOImage()
438 gamma=QuantumScale*fill_color.alpha; in ReadPANGOImage()
Dexr.c541 ImfFloatToHalf(QuantumScale*GetPixelRed(image,p),&half_quantum); in WriteEXRImage()
543 ImfFloatToHalf(QuantumScale*GetPixelGreen(image,p),&half_quantum); in WriteEXRImage()
545 ImfFloatToHalf(QuantumScale*GetPixelBlue(image,p),&half_quantum); in WriteEXRImage()
550 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()

12