/external/ImageMagick/MagickCore/ |
D | image-private.h | 30 #define MagickPI 3.14159265358979323846264338327950288419716939937510 macro 58 return((double) (MagickPI*degrees/180.0)); in DegreesToRadians() 63 return((double) (180.0*radians/MagickPI)); in RadiansToDegrees()
|
D | gem.c | 409 r=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 410 (MagickPI/180.0))); in ConvertHSIToRGB() 418 g=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 419 (MagickPI/180.0))); in ConvertHSIToRGB() 426 b=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 427 (MagickPI/180.0))); in ConvertHSIToRGB() 747 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHabToXYZ() 748 sin(hue*MagickPI/180.0),X,Y,Z); in ConvertLCHabToXYZ() 800 ConvertLuvToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHuvToXYZ() 801 sin(hue*MagickPI/180.0),X,Y,Z); in ConvertLCHuvToXYZ() [all …]
|
D | resize.c | 159 const double cosine=cos((double) (MagickPI*x)); in Blackman() 175 const double cosine=cos((double) (MagickPI*x)); in Bohman() 178 return((1.0-x)*cosine+(1.0/MagickPI)*sine); in Bohman() 329 const double cosine=cos((double) (MagickPI*x)); in Hann() 341 const double cosine=cos((double) (MagickPI*x)); in Hamming() 360 return(0.5*MagickPI); in Jinc() 361 return(BesselOrderOne(MagickPI*x)/x); in Jinc() 441 const double alpha=(double) (MagickPI*x); in Sinc() 478 const double alpha=(double) (MagickPI*x); in SincFast() 1066 value=StringToDouble(artifact,(char **) NULL)*MagickPI; in AcquireResizeFilter() [all …]
|
D | fourier.c | 296 Ci[i]=atan2(Ai[i],Ar[i])/(2.0*MagickPI)+0.5; in ComplexImages() 307 Cr[i]=Ar[i]*cos(2.0*MagickPI*(Ai[i]-0.5)); in ComplexImages() 308 Ci[i]=Ar[i]*sin(2.0*MagickPI*(Ai[i]-0.5)); in ComplexImages() 560 phase_pixels[i]/=(2.0*MagickPI); in ForwardFourier() 1245 phase_pixels[i]*=(2.0*MagickPI); in InverseFourier()
|
D | accelerate-kernels-private.h | 1721 result = QuantumRange*(ampl*sin(2.0f*MagickPI* 1734 result = range/MagickPI*asin(result)+bias; 1747 result = MagickPI*slope*(QuantumScale*pixel-center); 1748 result = QuantumRange*(range/MagickPI*atan(result) + bias); 2325 const float alpha=(float) (MagickPI*x); 2352 const float cosine=cos((MagickPI*x)); 2364 const float cosine=cos((MagickPI*x)); 2379 const float cosine=cos((MagickPI*x));
|
D | statistic.c | 266 result=(double) (QuantumRange*(0.5*cos((double) (2.0*MagickPI* in ApplyEvaluateOperator() 375 result=(double) (QuantumRange*(0.5*sin((double) (2.0*MagickPI* in ApplyEvaluateOperator() 953 MagickPI*(frequency*QuantumScale*pixel+phase/360.0)))+bias)); in ApplyFunction() 979 result=(double) (range/MagickPI*asin((double) result)+bias); in ApplyFunction() 998 result=(double) (MagickPI*slope*(QuantumScale*pixel-center)); in ApplyFunction() 999 result=(double) (QuantumRange*(range/MagickPI*atan((double) in ApplyFunction() 1576 (MagickPI*channel_moments[channel].ellipse_axis.x* in GetImageMoments()
|
D | fx.c | 2454 gamma=2.0*j1((MagickPI*alpha))/(MagickPI*alpha); in FxEvaluateSubexpression() 2634 gamma=exp((-alpha*alpha/2.0))/sqrt(2.0*MagickPI); in FxEvaluateSubexpression() 2723 gamma=(2.0*j1((MagickPI*alpha))/(MagickPI*alpha)); in FxEvaluateSubexpression() 2814 FxReturn(MagickPI); in FxEvaluateSubexpression() 2872 gamma=sin((MagickPI*alpha))/(MagickPI*alpha); in FxEvaluateSubexpression() 3432 factor=pow(sin(MagickPI*sqrt((double) distance)/radius/2),-amount); in ImplodeImage() 5708 sine_map[i]=fabs(amplitude)+amplitude*sin((double) ((2.0*MagickPI*i)/ in WaveImage()
|
D | effect.c | 228 MagickSigma))/(2.0*MagickPI*MagickSigma*MagickSigma)); in AdaptiveBlurImage() 549 MagickSigma))/(2.0*MagickPI*MagickSigma*MagickSigma)); in AdaptiveSharpenImage() 1321 (2.0*MagickPI*MagickSigma*MagickSigma)); in EmbossImage() 3133 MagickSigma))/(2.0*MagickPI*MagickSigma*MagickSigma)); in SelectiveBlurImage() 3713 MagickSigma*MagickSigma))/(2.0*MagickPI*MagickSigma*MagickSigma)); in SharpenImage()
|
D | draw.c | 3971 coordinates+=2.0*((size_t) ceil((double) MagickPI*radius))+6.0* in RenderMVGContent() 4027 coordinates=2.0*(ceil(MagickPI*radius))+6.0*BezierQuantum+360.0; in RenderMVGContent() 6007 theta+=2.0*MagickPI; in TraceArcPath() 6010 theta-=2.0*MagickPI; in TraceArcPath() 6011 arc_segments=(size_t) ceil(fabs((double) (theta/(0.5*MagickPI+ in TraceArcPath() 6225 step=MagickPI/8.0; in TraceEllipse() 6226 if ((delta >= 0.0) && (delta < (MagickPI/8.0))) in TraceEllipse() 6227 step=MagickPI/4.0/(MagickPI*PerceptibleReciprocal(delta)/2.0); in TraceEllipse() 7312 theta.q+=2.0*MagickPI; in TraceStrokePolygon() 7385 theta.p+=2.0*MagickPI; in TraceStrokePolygon()
|
D | resample.c | 1148 Ellipse_Area = MagickPI*Major*Minor; in ScaleResampleFilter()
|
D | distort.c | 1207 coeff[4] = -MagickPI; in GenerateCoefficients() 2636 fprintf(stderr, "phi = %lf\n", (double)(ax * 180.0/MagickPI) ); in DistortImage() 2669 coeff[1], (double)(d.x * 180.0/MagickPI), validity ); in DistortImage()
|
D | segment.c | 1734 alpha=PerceptibleReciprocal(tau*sqrt(2.0*MagickPI)); in ScaleSpace()
|
D | enhance.c | 244 slope=tan((double) (MagickPI*(alpha/100.0+1.0)/4.0)); in BrightnessContrastImage() 1387 brightness+=0.5*sign*(0.5*(sin((double) (MagickPI*(brightness-0.5)))+1.0)- in Contrast()
|
D | opencl.c | 2151 (float)MagickEpsilon,(float)MagickPI,(unsigned int)MaxMap, in HasOpenCLDevices()
|
D | morphology.c | 1108 B = (double) (1.0/(MagickPI*sigma*sigma*sigma*sigma)); in AcquireKernelBuiltIn()
|
D | xwindow.c | 9140 annotate_info.degrees=(double) (180.0/MagickPI)* in XRenderImage()
|
/external/ImageMagick/tests/ |
D | validate.c | 106 *red=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 107 (MagickPI/180.0))); in ConvertHSIToRGB() 115 *green=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 116 (MagickPI/180.0))); in ConvertHSIToRGB() 123 *blue=intensity*(1.0+saturation*cos(h*(MagickPI/180.0))/cos((60.0-h)* in ConvertHSIToRGB() 124 (MagickPI/180.0))); in ConvertHSIToRGB() 150 *hue=atan2(beta,alpha)*(180.0/MagickPI)/360.0; in ConvertRGBToHSI() 366 ConvertLabToXYZ(luma,chroma*cos(hue*MagickPI/180.0),chroma* in ConvertLCHabToXYZ() 367 sin(hue*MagickPI/180.0),X,Y,Z); in ConvertLCHabToXYZ() 426 *hue=180.0*atan2(255.0*(b-0.5),255.0*(a-0.5))/MagickPI/360.0; in ConvertXYZToLCHab()
|
/external/ImageMagick/Magick++/lib/ |
D | Options.cpp | 24 #define MagickPI 3.14159265358979323846264338327950288419716939937510 macro 25 #define DegreesToRadians(x) (MagickPI*(x)/180.0)
|
D | Image.cpp | 28 #define MagickPI 3.14159265358979323846264338327950288419716939937510 macro 29 #define DegreesToRadians(x) (MagickPI*(x)/180.0)
|
/external/ImageMagick/coders/ |
D | wmf.c | 247 # define M_PI MagickPI 1086 phi_s = atan2((double) start.y, (double) start.x) * 180 / MagickPI; in util_draw_arc() 1087 phi_e = atan2((double) end.y, (double) end.x) * 180 / MagickPI; in util_draw_arc() 1620 angle = fabs(RadiansToDegrees(2 * MagickPI - WMF_TEXT_ANGLE(font))); in ipa_draw_text()
|
D | svg.c | 3871 theta=(180.0/MagickPI)*atan2(affine->rx,affine->sx); in AffineToTransform()
|
/external/ImageMagick/PerlMagick/ |
D | Magick.xs | 75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) 77 #define MagickPI 3.14159265358979323846264338327950288419716939937510 macro
|
/external/ImageMagick/PerlMagick/quantum/ |
D | quantum.xs.in | 75 #define DegreesToRadians(x) (MagickPI*(x)/180.0) 77 #define MagickPI 3.14159265358979323846264338327950288419716939937510 macro
|