/external/ImageMagick/MagickCore/ |
D | colorspace-private.h | 78 cyan=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(cyan-black)); in ConvertRGBToCMYK() 79 magenta=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(magenta-black)); in ConvertRGBToCMYK() 80 yellow=(MagickRealType) (PerceptibleReciprocal(1.0-black)*(yellow-black)); in ConvertRGBToCMYK()
|
D | geometry.c | 1140 geometry_info->rho*=PerceptibleReciprocal(geometry_info->sigma); in ParseGeometry() 1444 PerceptibleReciprocal((double) former_height); in ParseMetaGeometry() 1448 *height=(size_t) floor((double) (PerceptibleReciprocal( in ParseMetaGeometry() 1453 *width=(size_t) floor((double) (PerceptibleReciprocal( in ParseMetaGeometry() 1538 scale.x=(double) former_width*PerceptibleReciprocal(distance* in ParseMetaGeometry() 1539 PerceptibleReciprocal(sqrt(area))); in ParseMetaGeometry() 1540 scale.y=(double) former_height*PerceptibleReciprocal(distance* in ParseMetaGeometry() 1541 PerceptibleReciprocal(sqrt(area))); in ParseMetaGeometry() 1544 *width=(unsigned long) (former_width*PerceptibleReciprocal( in ParseMetaGeometry() 1545 distance*PerceptibleReciprocal(sqrt(area)))); in ParseMetaGeometry() [all …]
|
D | gem-private.h | 183 gamma=PerceptibleReciprocal((((52.0*L*PerceptibleReciprocal(u+13.0*L* in ConvertLuvToXYZ() 188 *X=gamma*((*Y*((39.0*L*PerceptibleReciprocal(v+13.0*L*(9.0* in ConvertLuvToXYZ() 193 *Z=(*X*(((52.0*L*PerceptibleReciprocal(u+13.0*L*(4.0* in ConvertLuvToXYZ() 324 alpha=PerceptibleReciprocal(X+15.0*Y+3.0*Z); in ConvertXYZToLuv()
|
D | composite-private.h | 69 gamma=PerceptibleReciprocal(gamma); in CompositePixelOver() 137 gamma=PerceptibleReciprocal(gamma); in CompositePixelInfoOver() 160 gamma=PerceptibleReciprocal(gamma); in CompositePixelInfoPlus()
|
D | vision.c | 944 centroid.x=M10*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 945 centroid.y=M01*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 969 object[i].metric[n]=sqrt((2.0*PerceptibleReciprocal(M00))*((M20+M02)+ in ConnectedComponentsImage() 1046 centroid.x=M10*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 1047 centroid.y=M01*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 1071 object[i].metric[n]=sqrt((2.0*PerceptibleReciprocal(M00))*((M20+M02)- in ConnectedComponentsImage() 1150 centroid.x=M10*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 1151 centroid.y=M01*PerceptibleReciprocal(M00); in ConnectedComponentsImage() 1175 ellipse_axis.x=sqrt((2.0*PerceptibleReciprocal(M00))*((M20+M02)+ in ConnectedComponentsImage() 1177 ellipse_axis.y=sqrt((2.0*PerceptibleReciprocal(M00))*((M20+M02)- in ConnectedComponentsImage() [all …]
|
D | statistic.c | 311 PerceptibleReciprocal(value); in ApplyEvaluateOperator() 1035 result=2.0*PerceptibleReciprocal(width)*(QuantumScale*pixel-center); in ApplyFunction() 1551 centroid[channel].x=M10[channel]*PerceptibleReciprocal(M00[channel]); in GetImageMoments() 1552 centroid[channel].y=M01[channel]*PerceptibleReciprocal(M00[channel]); in GetImageMoments() 1635 PerceptibleReciprocal(M00[channel]))*((M20[channel]+M02[channel])+ in GetImageMoments() 1639 PerceptibleReciprocal(M00[channel]))*((M20[channel]+M02[channel])- in GetImageMoments() 1643 M11[channel]*PerceptibleReciprocal(M20[channel]-M02[channel]))); in GetImageMoments() 1667 channel_moments[channel].ellipse_axis.y*PerceptibleReciprocal( in GetImageMoments() 1671 PerceptibleReciprocal(MagickPI*channel_moments[channel].ellipse_axis.x* in GetImageMoments() 1681 M11[channel]*=PerceptibleReciprocal(pow(M00[channel],1.0+(1.0+1.0)/2.0)); in GetImageMoments() [all …]
|
D | gem.c | 1144 *saturation=c*PerceptibleReciprocal(2.0*(*lightness)); in ConvertRGBToHSL() 1146 *saturation=c*PerceptibleReciprocal(2.0-2.0*(*lightness)); in ConvertRGBToHSL() 1215 *saturation=c*PerceptibleReciprocal(max); in ConvertRGBToHSV() 1601 noise=(double) (QuantumRange*i*PerceptibleReciprocal(SigmaPoisson)); in GenerateDifferentialNoise() 1669 alpha=PerceptibleReciprocal(2.0*gamma*gamma); in GetOptimalKernelWidth1D() 1670 beta=(double) PerceptibleReciprocal((double) MagickSQ2PI*gamma); in GetOptimalKernelWidth1D() 1709 alpha=PerceptibleReciprocal(2.0*gamma*gamma); in GetOptimalKernelWidth2D() 1710 beta=(double) PerceptibleReciprocal((double) Magick2PI*gamma*gamma); in GetOptimalKernelWidth2D()
|
D | composite.c | 497 gamma=PerceptibleReciprocal(alpha); in CompositeOverImage() 1639 PerceptibleReciprocal(Da)); in CompositeImage() 1673 pixel=QuantumRange*(Sa*Sa*PerceptibleReciprocal(1.0-Da)); in CompositeImage() 1721 SaSca=Sa*PerceptibleReciprocal(Sca); in CompositeImage() 1722 DcaDa=Dca*PerceptibleReciprocal(Da); in CompositeImage() 1729 gamma=PerceptibleReciprocal(1.0-alpha); in CompositeImage() 1734 gamma=PerceptibleReciprocal(alpha); in CompositeImage() 1812 pixel=QuantumRange*gamma*(Dca*Sa*Sa*PerceptibleReciprocal(Sa-Sca)+ in CompositeImage() 1973 PerceptibleReciprocal(Dca)); in CompositeImage() 2279 pixel=QuantumRange*gamma*(Sca*Sca*PerceptibleReciprocal(1.0-Dca)); in CompositeImage() [all …]
|
D | accelerate-kernels-private.h | 344 static inline float PerceptibleReciprocal(const float x) 812 noise=(QuantumRange*i*PerceptibleReciprocal(SigmaPoisson)); 1356 gamma = PerceptibleReciprocal(gamma); 1444 gamma = PerceptibleReciprocal(gamma); 2237 gamma = PerceptibleReciprocal(gamma); 2469 scale = PerceptibleReciprocal(scale); 2591 density = PerceptibleReciprocal(density); 2599 gamma = PerceptibleReciprocal(gamma); 2631 scale = PerceptibleReciprocal(scale); 2757 density = PerceptibleReciprocal(density); [all …]
|
D | pixel.c | 4569 gamma=PerceptibleReciprocal(alpha[i])/count; in InterpolatePixelChannel() 4606 gamma=PerceptibleReciprocal(gamma); in InterpolatePixelChannel() 4660 gamma=PerceptibleReciprocal(alpha[0]); /* (color) 1/alpha_weights */ in InterpolatePixelChannel() 4662 gamma=PerceptibleReciprocal(gamma); /* (alpha) 1/number_of_pixels */ in InterpolatePixelChannel() 4695 PerceptibleReciprocal(cy[0]*(cx[0]*alpha[0]+cx[1]*alpha[1]+cx[2]* in InterpolatePixelChannel() 4774 gamma=PerceptibleReciprocal(gamma); in InterpolatePixelChannel() 4785 gamma=PerceptibleReciprocal(gamma); in InterpolatePixelChannel() 4801 gamma=PerceptibleReciprocal(gamma); in InterpolatePixelChannel() 4813 gamma=PerceptibleReciprocal(gamma); in InterpolatePixelChannel() 4849 PerceptibleReciprocal(cy[0]*(cx[0]*alpha[0]+cx[1]*alpha[1]+cx[2]* in InterpolatePixelChannel() [all …]
|
D | colorspace.c | 297 gamma=PerceptibleReciprocal(X+Y+Z); in ConvertRGBToxyY() 335 gamma=pow(L*PerceptibleReciprocal(white_luminance),Jzazbz_n); in ConvertXYZToJzazbz() 337 gamma=pow(M*PerceptibleReciprocal(white_luminance),Jzazbz_n); in ConvertXYZToJzazbz() 339 gamma=pow(S*PerceptibleReciprocal(white_luminance),Jzazbz_n); in ConvertXYZToJzazbz() 942 gamma=PerceptibleReciprocal(StringToDouble(value,(char **) NULL)); in sRGBTransformImage() 961 PerceptibleReciprocal(film_gamma)); in sRGBTransformImage() 968 PerceptibleReciprocal(film_gamma)))/1024.0)); in sRGBTransformImage() 1745 gamma=PerceptibleReciprocal(low_y); in ConvertxyYToRGB() 2520 gamma=PerceptibleReciprocal(StringToDouble(value,(char **) NULL)); in TransformsRGBImage() 2539 PerceptibleReciprocal(film_gamma)); in TransformsRGBImage() [all …]
|
D | effect.c | 362 gamma=PerceptibleReciprocal(gamma); in AdaptiveBlurImage() 380 gamma=PerceptibleReciprocal(gamma); in AdaptiveBlurImage() 683 gamma=PerceptibleReciprocal(gamma); in AdaptiveSharpenImage() 701 gamma=PerceptibleReciprocal(gamma); in AdaptiveSharpenImage() 859 return(exp(-((double) x*x)*PerceptibleReciprocal(2.0*sigma*sigma))* in BlurGaussian() 860 PerceptibleReciprocal(Magick2PI*sigma*sigma)); in BlurGaussian() 1089 PerceptibleReciprocal(gamma)*pixel),q); in BilateralBlurImage() 1113 PerceptibleReciprocal(gamma)*pixel),q); in BilateralBlurImage() 1671 gamma=PerceptibleReciprocal(normalize); in EmbossImage() 2540 gamma=PerceptibleReciprocal(gamma); in MotionBlurImage() [all …]
|
D | quantum-private.h | 321 PerceptibleReciprocal((double) range))+0.5)); in ScaleAnyToQuantum() 324 PerceptibleReciprocal((double) range)))); in ScaleAnyToQuantum()
|
D | resize.c | 1047 resize_filter->coefficient[1]=PerceptibleReciprocal(2.0*value*value); /* sigma scaling */ in AcquireResizeFilter() 1048 resize_filter->coefficient[2]=PerceptibleReciprocal(Magick2PI*value*value); in AcquireResizeFilter() 1069 resize_filter->coefficient[1]=PerceptibleReciprocal(I0(value)); in AcquireResizeFilter() 1127 resize_filter->scale*=PerceptibleReciprocal(resize_filter->window_support); in AcquireResizeFilter() 1659 …x_blur=fabs((double) x)*PerceptibleReciprocal(resize_filter->blur); /* X offset with blur scaling… in GetResizeFilterWeight() 3321 scale=PerceptibleReciprocal(scale); in HorizontalFilter() 3378 density=PerceptibleReciprocal(density); in HorizontalFilter() 3462 gamma=PerceptibleReciprocal(gamma); in HorizontalFilter() 3539 scale=PerceptibleReciprocal(scale); in VerticalFilter() 3596 density=PerceptibleReciprocal(density); in VerticalFilter() [all …]
|
D | compare.c | 590 area=PerceptibleReciprocal(area); in GetFuzzDistortion() 705 area=PerceptibleReciprocal(area); in GetMeanAbsoluteDistortion() 808 area=PerceptibleReciprocal(area); in GetMeanErrorPerPixel() 922 area=PerceptibleReciprocal(area); in GetMeanSquaredDistortion() 1017 area=PerceptibleReciprocal(area); in GetNormalizedCrossCorrelationDistortion() 1108 gamma=PerceptibleReciprocal(gamma); in GetNormalizedCrossCorrelationDistortion()
|
D | distort.c | 100 determinant=PerceptibleReciprocal(coeff[0]*coeff[4]-coeff[1]*coeff[3]); in InvertAffineCoefficients() 115 determinant=PerceptibleReciprocal(coeff[0]*coeff[4]-coeff[3]*coeff[1]); in InvertPerspectiveCoefficients() 1888 scale=PerceptibleReciprocal(scale); in DistortImage() 1895 scale=PerceptibleReciprocal(scale); in DistortImage() 1902 scale=PerceptibleReciprocal(scale); in DistortImage() 1909 scale=PerceptibleReciprocal(scale); in DistortImage() 1971 coeff[6]=(coeff[5]-coeff[4])*PerceptibleReciprocal(geometry.width); /* changed width */ in DistortImage() 1972 … coeff[7]=(coeff[0]-coeff[1])*PerceptibleReciprocal(geometry.height); /* should be about 1.0 */ in DistortImage()
|
D | draw.c | 1139 determinant=PerceptibleReciprocal(affine->sx*affine->sy-affine->rx* in InverseAffineMatrix() 1846 total_length*PerceptibleReciprocal(maximum_length)); in DrawDashPolygon() 1848 total_length*PerceptibleReciprocal(maximum_length)); in DrawDashPolygon() 1857 total_length*PerceptibleReciprocal(maximum_length)); in DrawDashPolygon() 1859 total_length*PerceptibleReciprocal(maximum_length)); in DrawDashPolygon() 1956 gamma=PerceptibleReciprocal(gamma); in GetStopColorOffset() 1974 gradient->angle))))*PerceptibleReciprocal(gradient->radii.x); in GetStopColorOffset() 1977 gradient->angle))))*PerceptibleReciprocal(gradient->radii.y); in GetStopColorOffset() 2084 offset*=PerceptibleReciprocal(length); in DrawGradientImage() 2098 offset*=PerceptibleReciprocal(length); in DrawGradientImage() [all …]
|
D | resample.c | 1203 scale=(double) WLUT_WIDTH*PerceptibleReciprocal(F); in ScaleResampleFilter() 1206 scale=resample_filter->F*PerceptibleReciprocal(F); in ScaleResampleFilter()
|
D | layer.c | 1357 PerceptibleReciprocal((double) curr->ticks_per_second)); in OptimizeLayerFrames() 1362 PerceptibleReciprocal((double) curr->ticks_per_second)); in OptimizeLayerFrames() 1649 PerceptibleReciprocal((double) image->ticks_per_second)); in RemoveDuplicateLayers() 1651 PerceptibleReciprocal((double) next->ticks_per_second)); in RemoveDuplicateLayers()
|
D | segment.c | 1682 average_tau*=PerceptibleReciprocal((double) number_nodes); in OptimalTau() 1732 alpha=PerceptibleReciprocal(tau*sqrt(2.0*MagickPI)); in ScaleSpace() 1733 beta=(-1.0*PerceptibleReciprocal(2.0*tau*tau)); in ScaleSpace()
|
D | fx.c | 1089 return(PerceptibleReciprocal(image->resolution.x)*image->columns); in FxGetSymbol() 1091 return(PerceptibleReciprocal(image->resolution.y)*image->rows); in FxGetSymbol() 1549 FxReturn(PerceptibleReciprocal(*beta)*alpha); in FxEvaluateSubexpression() 1766 value=alpha*PerceptibleReciprocal(*beta); in FxEvaluateSubexpression() 2451 FxReturn(alpha-floor((alpha*PerceptibleReciprocal(*beta)))*(*beta)); in FxEvaluateSubexpression()
|
D | fourier.c | 305 gamma=QuantumRange*PerceptibleReciprocal(QuantumScale*Br[i]*Br[i]+ in ComplexImages() 811 gamma=PerceptibleReciprocal((double) fourier_info->width* in ForwardFourierTransform() 1356 gamma=PerceptibleReciprocal((double) fourier_info->width* in InverseFourierTransform()
|
/external/ImageMagick/coders/ |
D | cube.c | 274 offset.r=(PerceptibleReciprocal((double) (hald_level*hald_level)-1.0)* in ReadCUBEImage() 281 offset.g=(PerceptibleReciprocal(((double) hald_level*hald_level)-1.0)* in ReadCUBEImage() 288 offset.b=(PerceptibleReciprocal(((double) hald_level*hald_level)-1.0)* in ReadCUBEImage()
|
D | jp2.c | 1059 q=jp2_image->comps[i].data+(ssize_t) (y*PerceptibleReciprocal( in WriteJP2Image() 1060 jp2_image->comps[i].dy)*image->columns*PerceptibleReciprocal( in WriteJP2Image() 1061 jp2_image->comps[i].dx)+x*PerceptibleReciprocal( in WriteJP2Image()
|
D | ps2.c | 535 scale.x=PerceptibleReciprocal(resolution.x)*geometry.width*delta.x; in WritePS2Image() 537 scale.y=PerceptibleReciprocal(resolution.y)*geometry.height*delta.y; in WritePS2Image()
|