/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 | 243 if ((sign*x) >= MagickEpsilon) in PerceptibleReciprocal() 245 return(sign/MagickEpsilon); in PerceptibleReciprocal() 502 if (AbsolutePixelValue(alpha-beta) >= MagickEpsilon) in IsPixelEquivalent() 504 if ((AbsolutePixelValue(alpha-TransparentAlpha) < MagickEpsilon) || in IsPixelEquivalent() 505 (AbsolutePixelValue(beta-TransparentAlpha) < MagickEpsilon)) in IsPixelEquivalent() 508 if (AbsolutePixelValue(color-q->red) >= MagickEpsilon) in IsPixelEquivalent() 511 if (AbsolutePixelValue(color-q->green) >= MagickEpsilon) in IsPixelEquivalent() 514 if (AbsolutePixelValue(color-q->blue) >= MagickEpsilon) in IsPixelEquivalent() 519 if (AbsolutePixelValue(color-q->black) >= MagickEpsilon) in IsPixelEquivalent() 537 if ((AbsolutePixelValue(red_green) < MagickEpsilon) && in IsPixelGray() [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 | composite.c | 923 if (fabs((double) angle_range) > MagickEpsilon) 1151 if ((source_dissolve-MagickEpsilon) < 0.0) 1153 if ((source_dissolve+MagickEpsilon) > 1.0) 1160 if ((canvas_dissolve-MagickEpsilon) < 0.0) 1603 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1608 if (fabs((double) (QuantumRange*Da-TransparentAlpha)) < MagickEpsilon) 1756 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1801 if (fabs((double) (QuantumRange*Sa-TransparentAlpha)) < MagickEpsilon) 1806 if (fabs((double) (QuantumRange*Da-TransparentAlpha)) < MagickEpsilon) 1891 if ((fabs((double) Sca) < MagickEpsilon) && [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 | draw.c | 341 for (x=0; fabs(draw_info->dash_pattern[x]) >= MagickEpsilon; x++) ; in CloneDrawInfo() 611 ((fabs(path_info[i].point.y-point.y) < MagickEpsilon) && in ConvertPathToPolygon() 821 (fabs(q.x-primitive_info[i].point.x) >= MagickEpsilon) || in ConvertPrimitiveToPath() 822 (fabs(q.y-primitive_info[i].point.y) >= MagickEpsilon)) in ConvertPrimitiveToPath() 1053 if (affine->sx >= MagickEpsilon) in AffineEdge() 1065 if (affine->sx < -MagickEpsilon) in AffineEdge() 1086 if (affine->rx >= MagickEpsilon) in AffineEdge() 1098 if (affine->rx < -MagickEpsilon) in AffineEdge() 1324 (2.0*sqrt(2.0)+MagickEpsilon)*MagickMax(image->columns,image->rows))); in SaneStrokeWidth() 1784 offset=fabs(draw_info->dash_offset) >= MagickEpsilon ? in DrawDashPolygon() [all …]
|
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 | 520 time_info->user.start+MagickEpsilon; in StopTimer() 522 time_info->elapsed.start+MagickEpsilon; in StopTimer()
|
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() 2490 if ( fabs(kernel->values[i]) < MagickEpsilon ) in CalcKernelMetaData() 2760 if (fabs(pixel-p[center+i]) > MagickEpsilon) in MorphologyPrimitive() [all …]
|
D | color.c | 1450 if (fabs(SVGCompliant(pixel->red)-pixel->red) >= MagickEpsilon) in IsSVGCompliant() 1452 if (fabs(SVGCompliant(pixel->green)-pixel->green) >= MagickEpsilon) in IsSVGCompliant() 1454 if (fabs(SVGCompliant(pixel->blue)-pixel->blue) >= MagickEpsilon) in IsSVGCompliant() 1457 (fabs(SVGCompliant(pixel->black)-pixel->black) >= MagickEpsilon)) in IsSVGCompliant() 1460 (fabs(SVGCompliant(pixel->alpha)-pixel->alpha) >= MagickEpsilon)) in IsSVGCompliant() 2607 ((fabs((double) (p->color.red-color->red)) < MagickEpsilon)) && in QueryColorname() 2608 (fabs((double) (p->color.green-color->green)) < MagickEpsilon) && in QueryColorname() 2609 (fabs((double) (p->color.blue-color->blue)) < MagickEpsilon) && in QueryColorname() 2610 (fabs((double) (p->color.alpha-alpha)) < MagickEpsilon)) in QueryColorname()
|
D | visual-effects.c | 1420 if ((fabs(segment->x2-segment->x1) < MagickEpsilon) && in PlasmaImageProxy() 1421 (fabs(segment->y2-segment->y1) < MagickEpsilon)) in PlasmaImageProxy() 1459 if ((fabs(segment->x1-x_mid) < MagickEpsilon) && in PlasmaImageProxy() 1460 (fabs(segment->x2-x_mid) < MagickEpsilon) && in PlasmaImageProxy() 1461 (fabs(segment->y1-y_mid) < MagickEpsilon) && in PlasmaImageProxy() 1462 (fabs(segment->y2-y_mid) < MagickEpsilon)) in PlasmaImageProxy() 1469 if ((fabs(segment->x1-x_mid) >= MagickEpsilon) || in PlasmaImageProxy() 1470 (fabs(segment->x2-x_mid) >= MagickEpsilon)) in PlasmaImageProxy() 1493 if (fabs(segment->x1-segment->x2) >= MagickEpsilon) in PlasmaImageProxy() 1518 if ((fabs(segment->y1-y_mid) >= MagickEpsilon) || in PlasmaImageProxy() [all …]
|
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() 3314 if (fabs((double) gamma) < MagickEpsilon) in SelectiveBlurImage() 3342 if (fabs((double) gamma) < MagickEpsilon) in SelectiveBlurImage() 3548 if ((fabs(normal.x) <= MagickEpsilon) && in ShadeImage() 3549 (fabs(normal.y) <= MagickEpsilon)) in ShadeImage() [all …]
|
D | magick-type.h | 114 #define MagickEpsilon (1.0e-12) macro
|
D | statistic.c | 322 if ((QuantumScale*pixel) >= MagickEpsilon) in ApplyEvaluateOperator() 1465 if (M00[channel] < MagickEpsilon) in GetImageMoments() 1467 M00[channel]+=MagickEpsilon; in GetImageMoments() 1472 M00[channel]+=MagickEpsilon; in GetImageMoments() 1563 M11[channel]/(M20[channel]-M02[channel]+MagickEpsilon))); in GetImageMoments() 1564 if (fabs(M11[channel]) < MagickEpsilon) in GetImageMoments() 1566 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1577 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1587 if (fabs(M20[channel]-M02[channel]) < MagickEpsilon) in GetImageMoments() 1597 (channel_moments[channel].ellipse_axis.x+MagickEpsilon))); in GetImageMoments() [all …]
|
D | attribute.c | 295 percent_background=MagickMin(MagickMax(1.0-percent_background,MagickEpsilon), in GetEdgeBoundingBox() 303 if (fabs(edge.left-background_factor) < MagickEpsilon) in GetEdgeBoundingBox() 321 if (fabs(edge.right-background_factor) < MagickEpsilon) in GetEdgeBoundingBox() 339 if (fabs(edge.top-background_factor) < MagickEpsilon) in GetEdgeBoundingBox() 357 if (fabs(edge.bottom-background_factor) < MagickEpsilon) in GetEdgeBoundingBox()
|
D | fx.c | 1818 FxReturn(fabs(alpha-(*beta)) < MagickEpsilon ? 1.0 : 0.0); in FxEvaluateSubexpression() 1824 FxReturn(fabs(alpha-(*beta)) >= MagickEpsilon ? 1.0 : 0.0); in FxEvaluateSubexpression() 1880 if (fabs(alpha) >= MagickEpsilon) in FxEvaluateSubexpression() 2173 if (fabs(gamma) < MagickEpsilon) in FxEvaluateSubexpression() 2190 FxReturn(MagickEpsilon); in FxEvaluateSubexpression() 2260 if (fabs(gamma) < MagickEpsilon) in FxEvaluateSubexpression() 2354 if (fabs(alpha) >= MagickEpsilon) in FxEvaluateSubexpression() 2476 FxReturn((double) (alpha < MagickEpsilon)); in FxEvaluateSubexpression() 2661 if (fabs(gamma) < MagickEpsilon) in FxEvaluateSubexpression()
|
D | feature.c | 382 if (fabs(dx) > MagickEpsilon) in CannyEdgeImage() 1646 if ((fabs(density_x[z].direction[i].red) > MagickEpsilon) && in GetImageFeatures() 1647 (fabs(density_y[x].direction[i].red) > MagickEpsilon)) in GetImageFeatures() 1651 if ((fabs(density_x[z].direction[i].green) > MagickEpsilon) && in GetImageFeatures() 1652 (fabs(density_y[x].direction[i].red) > MagickEpsilon)) in GetImageFeatures() 1656 if ((fabs(density_x[z].direction[i].blue) > MagickEpsilon) && in GetImageFeatures() 1657 (fabs(density_y[x].direction[i].blue) > MagickEpsilon)) in GetImageFeatures() 1662 if ((fabs(density_x[z].direction[i].black) > MagickEpsilon) && in GetImageFeatures() 1663 (fabs(density_y[x].direction[i].black) > MagickEpsilon)) in GetImageFeatures() 1668 if ((fabs(density_x[z].direction[i].alpha) > MagickEpsilon) && in GetImageFeatures() [all …]
|
D | version.c | 645 (double) MagickEpsilon); in ListMagickVersion()
|
D | resample.c | 650 if ( hit == 0 || divisor_m <= MagickEpsilon || divisor_c <= MagickEpsilon ) { in ResamplePixelColor() 1138 if ( alpha - gamma <= MagickEpsilon ) in ScaleResampleFilter()
|
/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 | 2750 if ((fabs(svg_info->bounds.width-1.0) < MagickEpsilon) && in SVGEndElement() 2751 (fabs(svg_info->bounds.height-1.0) < MagickEpsilon)) in SVGEndElement() 3229 if ((fabs(image->resolution.x) < MagickEpsilon) || in ReadSVGImage() 3230 (fabs(image->resolution.y) < MagickEpsilon)) in ReadSVGImage() 3309 if ((fabs(image->resolution.x) > MagickEpsilon) && in ReadSVGImage() 3310 (fabs(image->resolution.y) > MagickEpsilon)) in ReadSVGImage() 3356 if (fabs(image->resolution.x) < MagickEpsilon) in ReadSVGImage() 3359 if (fabs(image->resolution.y) < MagickEpsilon) in ReadSVGImage() 3680 if ((fabs(image->resolution.x) < MagickEpsilon) || in ReadSVGImage() 3681 (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 ==()
|