/external/ImageMagick/MagickCore/ |
D | gem.c | 302 if (fabs(saturation) < MagickEpsilon) in ConvertHSBToRGB() 688 if (fabs(hue-(-1.0)) < MagickEpsilon) in ConvertHWBToRGB() 867 if (fabs(c) < MagickEpsilon) in ConvertRGBToHCL() 870 if (fabs(red-max) < MagickEpsilon) in ConvertRGBToHCL() 873 if (fabs(green-max) < MagickEpsilon) in ConvertRGBToHCL() 876 if (fabs(blue-max) < MagickEpsilon) in ConvertRGBToHCL() 928 if (fabs(c) < MagickEpsilon) in ConvertRGBToHCLp() 931 if (fabs(red-max) < MagickEpsilon) in ConvertRGBToHCLp() 934 if (fabs(green-max) < MagickEpsilon) in ConvertRGBToHCLp() 937 if (fabs(blue-max) < MagickEpsilon) in ConvertRGBToHCLp() [all …]
|
D | pixel-accessor.h | 233 if ((sign*x) >= MagickEpsilon) in PerceptibleReciprocal() 235 return(sign/MagickEpsilon); in PerceptibleReciprocal() 492 if (AbsolutePixelValue(alpha-beta) >= MagickEpsilon) in IsPixelEquivalent() 494 if ((AbsolutePixelValue(alpha-TransparentAlpha) < MagickEpsilon) || in IsPixelEquivalent() 495 (AbsolutePixelValue(beta-TransparentAlpha) < MagickEpsilon)) in IsPixelEquivalent() 498 if (AbsolutePixelValue(color-q->red) >= MagickEpsilon) in IsPixelEquivalent() 501 if (AbsolutePixelValue(color-q->green) >= MagickEpsilon) in IsPixelEquivalent() 504 if (AbsolutePixelValue(color-q->blue) >= MagickEpsilon) in IsPixelEquivalent() 509 if (AbsolutePixelValue(color-q->black) >= MagickEpsilon) in IsPixelEquivalent() 527 if ((AbsolutePixelValue(red_green) < MagickEpsilon) && in IsPixelGray() [all …]
|
D | composite.c | 906 if (fabs((double) angle_range) > MagickEpsilon) 1134 if ((source_dissolve-MagickEpsilon) < 0.0) 1136 if ((source_dissolve+MagickEpsilon) > 1.0) 1143 if ((canvas_dissolve-MagickEpsilon) < 0.0) 1568 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1573 if (fabs((double) (QuantumRange*Da-TransparentAlpha)) < MagickEpsilon) 1721 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1766 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1771 if (fabs((double) (QuantumRange*Da-TransparentAlpha)) < MagickEpsilon) 1857 if ((fabs((double) Sca) < MagickEpsilon) && [all …]
|
D | colorspace-private.h | 63 if ((fabs((double) red) < MagickEpsilon) && in ConvertRGBToCMYK() 64 (fabs((double) green) < MagickEpsilon) && in ConvertRGBToCMYK() 65 (fabs((double) blue) < MagickEpsilon)) in ConvertRGBToCMYK()
|
D | draw.c | 339 for (x=0; fabs(draw_info->dash_pattern[x]) >= MagickEpsilon; x++) ; in CloneDrawInfo() 609 ((fabs(path_info[i].point.y-point.y) < MagickEpsilon) && in ConvertPathToPolygon() 819 (fabs(q.x-primitive_info[i].point.x) >= MagickEpsilon) || in ConvertPrimitiveToPath() 820 (fabs(q.y-primitive_info[i].point.y) >= MagickEpsilon)) in ConvertPrimitiveToPath() 1049 if (affine->sx >= MagickEpsilon) in AffineEdge() 1061 if (affine->sx < -MagickEpsilon) in AffineEdge() 1082 if (affine->rx >= MagickEpsilon) in AffineEdge() 1094 if (affine->rx < -MagickEpsilon) in AffineEdge() 1320 (2.0*sqrt(2.0)+MagickEpsilon)*MagickMax(image->columns,image->rows))); in SaneStrokeWidth() 1776 offset=fabs(draw_info->dash_offset) >= MagickEpsilon ? in DrawDashPolygon() [all …]
|
D | draw-private.h | 44 if (fabs(draw_info->fill_alpha-TransparentAlpha) >= MagickEpsilon) in GetFillColor() 64 if (fabs(draw_info->stroke_alpha-TransparentAlpha) >= MagickEpsilon) in GetStrokeColor()
|
D | distort.c | 149 ( order != floor(order) && (order-1.5) > MagickEpsilon) ) in poly_number_terms() 726 if ( fabs(sx) < MagickEpsilon || fabs(sy) < MagickEpsilon ) { in GenerateCoefficients() 1131 if ( number_arguments >= 1 && arguments[0] < MagickEpsilon ) { in GenerateCoefficients() 1138 if ( number_arguments >= 3 && arguments[2] < MagickEpsilon ) { in GenerateCoefficients() 1213 if ( fabs(coeff[4]-coeff[5]) < MagickEpsilon ) in GenerateCoefficients() 1216 if ( coeff[0] < MagickEpsilon ) { in GenerateCoefficients() 1218 if ( fabs(coeff[0]) < MagickEpsilon ) { in GenerateCoefficients() 1227 if ( fabs(-1.0-coeff[0]) < MagickEpsilon ) { in GenerateCoefficients() 1242 if ( coeff[0] < MagickEpsilon || coeff[1] < -MagickEpsilon in GenerateCoefficients() 1243 || (coeff[0]-coeff[1]) < MagickEpsilon ) { in GenerateCoefficients() [all …]
|
D | timer.c | 435 time_info->user.start+MagickEpsilon; in StopTimer() 437 time_info->elapsed.start+MagickEpsilon; in StopTimer()
|
D | resize.c | 1107 if (resize_filter->blur < MagickEpsilon) in AcquireResizeFilter() 1108 resize_filter->blur=(double) MagickEpsilon; in AcquireResizeFilter() 1357 for (i=2; t > MagickEpsilon; i++) in I0() 1661 if ((resize_filter->window_support < MagickEpsilon) || in GetResizeFilterWeight() 2154 if ((fabs(intensity[1]-intensity[7]) < MagickEpsilon) || in MagnifyImage() 2155 (fabs(intensity[3]-intensity[5]) < MagickEpsilon)) in MagnifyImage() 2177 if (fabs(intensity[1]-intensity[3]) < MagickEpsilon) in MagnifyImage() 2184 if (fabs(intensity[1]-intensity[5]) < MagickEpsilon) in MagnifyImage() 2191 if (fabs(intensity[3]-intensity[7]) < MagickEpsilon) in MagnifyImage() 2198 if (fabs(intensity[5]-intensity[7]) < MagickEpsilon) in MagnifyImage() [all …]
|
D | morphology.c | 1076 if ( sigma > MagickEpsilon ) in AcquireKernelBuiltIn() 1092 if ( sigma2 > MagickEpsilon ) in AcquireKernelBuiltIn() 1106 if ( sigma > MagickEpsilon ) in AcquireKernelBuiltIn() 1179 if ( sigma > MagickEpsilon ) in AcquireKernelBuiltIn() 1195 if ( sigma > MagickEpsilon ) in AcquireKernelBuiltIn() 1256 if ( sigma > MagickEpsilon ) in AcquireKernelBuiltIn() 1525 if ( fabs(args->sigma) >= MagickEpsilon ) in AcquireKernelBuiltIn() 2413 if ( fabs(kernel1->values[i] - kernel2->values[i]) >= MagickEpsilon ) in SameKernelInfo() 2489 if ( fabs(kernel->values[i]) < MagickEpsilon ) in CalcKernelMetaData() 2758 if (fabs(pixel-p[center+i]) > MagickEpsilon) in MorphologyPrimitive() [all …]
|
D | color.c | 1473 if (fabs(SVGCompliant(pixel->red)-pixel->red) >= MagickEpsilon) in IsSVGCompliant() 1475 if (fabs(SVGCompliant(pixel->green)-pixel->green) >= MagickEpsilon) in IsSVGCompliant() 1477 if (fabs(SVGCompliant(pixel->blue)-pixel->blue) >= MagickEpsilon) in IsSVGCompliant() 1480 (fabs(SVGCompliant(pixel->black)-pixel->black) >= MagickEpsilon)) in IsSVGCompliant() 1483 (fabs(SVGCompliant(pixel->alpha)-pixel->alpha) >= MagickEpsilon)) in IsSVGCompliant() 2624 ((fabs((double) (p->color.red-color->red)) < MagickEpsilon)) && in QueryColorname() 2625 (fabs((double) (p->color.green-color->green)) < MagickEpsilon) && in QueryColorname() 2626 (fabs((double) (p->color.blue-color->blue)) < MagickEpsilon) && in QueryColorname() 2627 (fabs((double) (p->color.alpha-alpha)) < MagickEpsilon)) in QueryColorname()
|
D | accelerate-kernels-private.h | 347 return((sign*x) >= MagickEpsilon ? (float) 1.0/x : sign*((float) 1.0/MagickEpsilon)); 784 if (alpha <= MagickEpsilon) 792 if (beta <= (0.5f*MagickEpsilon)) 801 if (alpha > MagickEpsilon) 2421 if (resizeWindowSupport < MagickEpsilon 2474 float scale = MagickMax(1.0f/xFactor+MagickEpsilon ,1.0f); 2478 …const int cacheRangeStartX = MagickMax((int)((startX+0.5f)/xFactor+MagickEpsilon-support+0.5f),(in… 2512 const float bisect = (x+0.5)/xFactor+MagickEpsilon; 2636 float scale = MagickMax(1.0f/yFactor+MagickEpsilon ,1.0f); 2640 …const int cacheRangeStartY = MagickMax((int)((startY+0.5f)/yFactor+MagickEpsilon-support+0.5f),(in… [all …]
|
D | effect.c | 133 #define MagickSigma (fabs(sigma) < MagickEpsilon ? MagickEpsilon : sigma) in AdaptiveBlurImage() 177 if (fabs(sigma) < MagickEpsilon) in AdaptiveBlurImage() 234 if (sigma < MagickEpsilon) in AdaptiveBlurImage() 454 #define MagickSigma (fabs(sigma) < MagickEpsilon ? MagickEpsilon : sigma) in AdaptiveSharpenImage() 498 if (fabs(sigma) < MagickEpsilon) in AdaptiveSharpenImage() 555 if (sigma < MagickEpsilon) in AdaptiveSharpenImage() 3311 if (fabs((double) gamma) < MagickEpsilon) in SelectiveBlurImage() 3339 if (fabs((double) gamma) < MagickEpsilon) in SelectiveBlurImage() 3544 if ((fabs(normal.x) <= MagickEpsilon) && in ShadeImage() 3545 (fabs(normal.y) <= MagickEpsilon)) in ShadeImage() [all …]
|
D | fx.c | 2282 FxReturn(fabs(alpha-(*beta)) < MagickEpsilon ? 1.0 : 0.0); in FxEvaluateSubexpression() 2288 FxReturn(fabs(alpha-(*beta)) >= MagickEpsilon ? 1.0 : 0.0); in FxEvaluateSubexpression() 2341 if (fabs(alpha) >= MagickEpsilon) in FxEvaluateSubexpression() 2597 FxReturn(MagickEpsilon); in FxEvaluateSubexpression() 2793 FxReturn((double) (alpha < MagickEpsilon)); in FxEvaluateSubexpression() 2955 } while (fabs(alpha) >= MagickEpsilon); in FxEvaluateSubexpression() 3773 if ((fabs(segment->x2-segment->x1) <= MagickEpsilon) && in PlasmaImageProxy() 3774 (fabs(segment->y2-segment->y1) <= MagickEpsilon)) in PlasmaImageProxy() 3815 if ((fabs(segment->x1-x_mid) < MagickEpsilon) && in PlasmaImageProxy() 3816 (fabs(segment->x2-x_mid) < MagickEpsilon) && in PlasmaImageProxy() [all …]
|
D | attribute.c | 289 percent_background=MagickMin(MagickMax(1.0-percent_background,MagickEpsilon), in GetImageBoundingBox() 297 if (fabs(edge.left-background_factor) < MagickEpsilon) in GetImageBoundingBox() 315 if (fabs(edge.right-background_factor) < MagickEpsilon) in GetImageBoundingBox() 333 if (fabs(edge.top-background_factor) < MagickEpsilon) in GetImageBoundingBox() 351 if (fabs(edge.bottom-background_factor) < MagickEpsilon) in GetImageBoundingBox()
|
D | statistic.c | 305 if ((QuantumScale*pixel) >= MagickEpsilon) in ApplyEvaluateOperator() 1442 if (M00[channel] < MagickEpsilon) in GetImageMoments() 1444 M00[channel]+=MagickEpsilon; in GetImageMoments() 1449 M00[channel]+=MagickEpsilon; in GetImageMoments() 1540 M11[channel]/(M20[channel]-M02[channel]+MagickEpsilon))); in GetImageMoments() 1541 if (fabs(M11[channel]) < MagickEpsilon) in GetImageMoments() 1543 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1554 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1564 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1574 (channel_moments[channel].ellipse_axis.x+MagickEpsilon))); in GetImageMoments() [all …]
|
D | magick-type.h | 110 #define MagickEpsilon (1.0e-12) macro
|
D | resample.c | 650 if ( hit == 0 || divisor_m <= MagickEpsilon || divisor_c <= MagickEpsilon ) { in ResamplePixelColor() 1138 if ( alpha - gamma <= MagickEpsilon ) in ScaleResampleFilter()
|
D | version.c | 617 (double) MagickEpsilon); in ListMagickVersion()
|
/external/ImageMagick/filters/ |
D | analyze.c | 194 if (fabs(brightness_standard_deviation) >= MagickEpsilon) in analyzeImage() 222 if (fabs(saturation_standard_deviation) >= MagickEpsilon) in analyzeImage() 232 if (fabs(saturation_standard_deviation) >= MagickEpsilon) in analyzeImage()
|
/external/ImageMagick/Magick++/tests/ |
D | color.cpp | 117 double max_error = resolution + MagickEpsilon; in main() 119 for( double value = 0; value < 1.0 + MagickEpsilon; value += resolution ) in main()
|
/external/ImageMagick/coders/ |
D | sct.c | 223 (width < MagickEpsilon) || (height < MagickEpsilon)) in ReadSCTImage()
|
D | svg.c | 2758 if ((fabs(svg_info->bounds.width-1.0) < MagickEpsilon) && in SVGEndElement() 2759 (fabs(svg_info->bounds.height-1.0) < MagickEpsilon)) in SVGEndElement() 3234 if ((fabs(image->resolution.x) < MagickEpsilon) || in ReadSVGImage() 3235 (fabs(image->resolution.y) < MagickEpsilon)) in ReadSVGImage() 3314 if ((fabs(image->resolution.x) > MagickEpsilon) && in ReadSVGImage() 3315 (fabs(image->resolution.y) > MagickEpsilon)) in ReadSVGImage() 3361 if (fabs(image->resolution.x) < MagickEpsilon) in ReadSVGImage() 3364 if (fabs(image->resolution.y) < MagickEpsilon) in ReadSVGImage() 3677 if ((fabs(image->resolution.x) < MagickEpsilon) || in ReadSVGImage() 3678 (fabs(image->resolution.y) < MagickEpsilon)) in ReadSVGImage() [all …]
|
/external/ImageMagick/Magick++/lib/ |
D | Color.cpp | 25 (fabs(left_.quantumRed()-right_.quantumRed()) < MagickEpsilon) && in operator ==() 26 (fabs(left_.quantumGreen()-right_.quantumGreen()) < MagickEpsilon) && in operator ==() 27 (fabs(left_.quantumBlue()-right_.quantumBlue()) < MagickEpsilon)); in operator ==()
|
/external/ImageMagick/MagickWand/ |
D | drawing-wand.c | 1954 while (fabs(*p++) >= MagickEpsilon) in DrawGetStrokeDashArray() 2672 for (i=0; fabs(CurrentContext->dash_pattern[i]) >= MagickEpsilon; i++) in DrawGetVectorGraphics() 4332 if ((fabs(x2-x1) < MagickEpsilon) && (fabs(y2-y1) < MagickEpsilon)) in DrawRectangle() 5168 (fabs(CurrentContext->pointsize-pointsize) >= MagickEpsilon)) in DrawSetFontSize() 5559 while (fabs(*q++) < MagickEpsilon) in DrawSetStrokeDashArray() 5574 if (fabs((*p)-(*q)) >= MagickEpsilon) in DrawSetStrokeDashArray() 5658 (fabs(CurrentContext->dash_offset-dash_offset) >= MagickEpsilon)) in DrawSetStrokeDashOffset() 5868 (fabs(CurrentContext->stroke_width-stroke_width) >= MagickEpsilon)) in DrawSetStrokeWidth() 6123 (fabs((CurrentContext->kerning-kerning)) >= MagickEpsilon)) in DrawSetTextKerning() 6165 interline_spacing)) >= MagickEpsilon)) in DrawSetTextInterlineSpacing() [all …]
|