MagickCore  7.0.10
magick-type.h File Reference
Include dependency graph for magick-type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAGICKCORE_QUANTUM_DEPTH   16
 
#define MagickLLConstant(c)   ((MagickOffsetType) (c ## LL))
 
#define MagickULLConstant(c)   ((MagickSizeType) (c ## ULL))
 
#define MaxColormapSize   65536UL
 
#define MaxMap   65535UL
 
#define QuantumRange   ((Quantum) 65535)
 
#define QuantumFormat   "%u"
 
#define MagickEpsilon   1.0e-12
 
#define MagickMaximumValue   1.79769313486231570E+308
 
#define MagickMinimumValue   2.22507385850720140E-308
 
#define MagickStringify(macro_or_string)   MagickStringifyArg(macro_or_string)
 
#define MagickStringifyArg(contents)   #contents
 
#define QuantumScale   ((double) 1.0/(double) QuantumRange)
 
#define MagickOffsetFormat   "ld"
 
#define MagickSizeFormat   "lu"
 
#define IsNaN(a)   ((a) != (a))
 
#define INFINITY   ((double) -logf(0f))
 

Typedefs

typedef float MagickFloatType
 
typedef double MagickDoubleType
 
typedef unsigned short Quantum
 
typedef MagickDoubleType MagickRealType
 
typedef unsigned int MagickStatusType
 
typedef ssize_t MagickOffsetType
 
typedef size_t MagickSizeType
 
typedef size_t MagickAddressType
 
typedef MagickSizeType QuantumAny
 
typedef struct _BlobInfo BlobInfo
 
typedef struct _ExceptionInfo ExceptionInfo
 
typedef struct _Image Image
 
typedef struct _ImageInfo ImageInfo
 

Enumerations

enum  ClassType { UndefinedClass, DirectClass, PseudoClass }
 
enum  MagickBooleanType { MagickFalse = 0, MagickTrue = 1 }
 

Macro Definition Documentation

◆ INFINITY

#define INFINITY   ((double) -logf(0f))

Definition at line 199 of file magick-type.h.

Referenced by getFeretDiameter(), GetPeakSignalToNoiseRatio(), and getProjection().

◆ IsNaN

◆ MAGICKCORE_QUANTUM_DEPTH

◆ MagickEpsilon

#define MagickEpsilon   1.0e-12

Definition at line 118 of file magick-type.h.

Referenced by AcquireKernelBuiltIn(), AcquireResizeFilter(), AdaptiveBlurImage(), AdaptiveSharpenImage(), AffineEdge(), ApplyEvaluateOperator(), ApplyPixelCompositeMask(), CalcKernelMetaData(), CannyEdgeImage(), ClipPixelCacheNexus(), CloneDrawInfo(), CombineImages(), CompositeImage(), ConnectedComponentsImage(), ConvertHSBToRGB(), ConvertHWBToRGB(), ConvertPathToPolygon(), ConvertPrimitiveToPath(), ConvertRGBToCMYK(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSB(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), DistortImage(), DrawDashPolygon(), DrawPrimitive(), DrawRoundLinecap(), EnhanceImage(), FxEvaluateSubexpression(), GenerateCoefficients(), GenerateDifferentialNoise(), GetDrawInfo(), GetEdgeBoundingBox(), getFeretDiameter(), GetFillAlpha(), GetFillColor(), GetImageFeatures(), GetImageMoments(), GetMagickPropertyLetter(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPeakSignalToNoiseRatio(), getProjection(), GetResizeFilterWeight(), GetStrokeColor(), HorizontalFilter(), I0(), IdentifyImage(), InterpretSiPrefixValue(), InverseScaledSigmoidal(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), IsImagesEqual(), IsPixelEquivalent(), IsPixelGray(), IsPixelInfoEquivalent(), IsPixelInfoGray(), IsPixelInfoMonochrome(), IsPixelMonochrome(), IsPoint(), KmeansImage(), ListMagickVersion(), LogPrimitiveInfo(), MinMaxStretchImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), OrderedDitherImage(), ParseAffineGeometry(), ParseMetaGeometry(), PerceptibleReciprocal(), PlasmaImageProxy(), poly_number_terms(), QuantizeErrorCompare(), QueryColorname(), RenderMVGContent(), RenderPostscript(), ResamplePixelColor(), ResetQuantumState(), RotateImage(), SameKernelInfo(), SampleImage(), ScaleKernelInfo(), ScaleResampleFilter(), ScaleSpace(), SelectiveBlurImage(), SetImageColorMetric(), ShadeImage(), ShowKernelInfo(), SigmoidalContrastImage(), StopInfoCompare(), StopTimer(), TraceArcPath(), TraceEllipse(), TraceLine(), TraceRoundRectangle(), TraceSquareLinecap(), TraceStrokePolygon(), and VerticalFilter().

◆ MagickLLConstant

#define MagickLLConstant (   c)    ((MagickOffsetType) (c ## LL))

Definition at line 39 of file magick-type.h.

◆ MagickMaximumValue

#define MagickMaximumValue   1.79769313486231570E+308

◆ MagickMinimumValue

#define MagickMinimumValue   2.22507385850720140E-308

Definition at line 120 of file magick-type.h.

Referenced by KapurThreshold().

◆ MagickOffsetFormat

#define MagickOffsetFormat   "ld"

Definition at line 139 of file magick-type.h.

◆ MagickSizeFormat

#define MagickSizeFormat   "lu"

Definition at line 140 of file magick-type.h.

◆ MagickStringify

#define MagickStringify (   macro_or_string)    MagickStringifyArg(macro_or_string)

Definition at line 121 of file magick-type.h.

◆ MagickStringifyArg

#define MagickStringifyArg (   contents)    #contents

Definition at line 122 of file magick-type.h.

◆ MagickULLConstant

#define MagickULLConstant (   c)    ((MagickSizeType) (c ## ULL))

◆ MaxColormapSize

#define MaxColormapSize   65536UL

◆ MaxMap

◆ QuantumFormat

#define QuantumFormat   "%u"

Definition at line 92 of file magick-type.h.

◆ QuantumRange

#define QuantumRange   ((Quantum) 65535)

Definition at line 91 of file magick-type.h.

Referenced by AcquireColorCache(), AcquireImageColormap(), AdaptiveThresholdImage(), ApplyEvaluateOperator(), ApplyFunction(), AssignImageColors(), AutoGammaImage(), AutoThresholdImage(), BilevelImage(), BlackThresholdImage(), ChannelFxImage(), ClampPixel(), ClampToQuantum(), ClassifyImageColors(), ColorMatrixImage(), ColorThresholdImage(), CompareImages(), ComparePixels(), ComplexImages(), CompositeImage(), CompositeOverImage(), CompositePixelInfoOver(), CompositePixelInfoPlus(), CompositePixelOver(), ConcatenateColorComponent(), ConsolidateCMYKImages(), ContrastStretchImage(), ConvertCMYKToRGB(), ConvertCMYToRGB(), ConvertHCLpToRGB(), ConvertHCLToRGB(), ConvertHSBToRGB(), ConvertHSIToRGB(), ConvertHSLToRGB(), ConvertHSVToRGB(), ConvertHWBToRGB(), ConvertRGBToCMY(), ConvertRGBToCMYK(), ConvertXYZToRGB(), ConvertYDbDrToRGB(), ConvertYIQToRGB(), ConvertYPbPrToRGB(), ConvertYUVToRGB(), DecodePixelGamma(), DefineImageColormap(), EncodePixelGamma(), ExportGrayAlphaQuantum(), ExportGrayQuantum(), FlattenPixelInfo(), FloodfillPaintImage(), FloydSteinbergDither(), FrameImage(), FxEvaluateSubexpression(), FxImage(), GenerateDifferentialNoise(), GetAbsoluteDistortion(), GetCubeInfo(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageDepth(), GetImageStatistics(), GetLocationStatistics(), GetMagickQuantumRange(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetPixelCompositeMask(), GetPixelInfoIntensity(), GetPixelIntensity(), GetPixelOpacity(), GetPixelReadMask(), GetPixelWriteMask(), GetQuantumInfo(), GetVirtualPixelCacheNexus(), HCLComposite(), HorizontalFilter(), HoughLineImage(), HuffmanEncodeImage(), IdentifyImage(), ImportAlphaQuantum(), ImportBGRAQuantum(), ImportBGROQuantum(), ImportBGRQuantum(), ImportBlackQuantum(), ImportBlueQuantum(), ImportCMYKAQuantum(), ImportCMYKOQuantum(), ImportCMYKQuantum(), ImportDoublePixel(), ImportFloatPixel(), ImportGrayAlphaQuantum(), ImportGrayQuantum(), ImportGreenQuantum(), ImportIndexAlphaQuantum(), ImportIndexQuantum(), ImportOpacityQuantum(), ImportRedQuantum(), ImportRGBAQuantum(), ImportRGBOQuantum(), ImportRGBQuantum(), InterpretImageProperties(), IsBoundsCleared(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), IsHighDynamicRangeImage(), IsPixelAtDepth(), IsPixelInfoMonochrome(), IsPixelMonochrome(), KmeansImage(), KmeansMetric(), LevelPixel(), ListMagickVersion(), MatrixToImage(), MorphologyImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), NegateImage(), OrderedDitherImage(), ParseKernelName(), PlasmaImageProxy(), PolynomialImage(), PreviewImage(), PrintChannelStatistics(), QueryColorCompliance(), RaiseImage(), RandomThresholdImage(), RangeThresholdImage(), RenderMVGContent(), ResamplePixelColor(), RiemersmaDither(), SampleImage(), ScaleAnyToQuantum(), ScaleImage(), ScaleQuantumToAny(), SepiaToneImage(), SetImageAlpha(), SetImageDepth(), SetImageRegionMask(), SetImageType(), SetPixelOpacity(), ShadeImage(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SparseColorImage(), sRGBTransformImage(), StatisticImage(), SyncImageSettings(), TraceEdges(), TransformsRGBImage(), UnsharpMaskImage(), VerticalFilter(), WhiteBalanceImage(), and WhiteThresholdImage().

◆ QuantumScale

#define QuantumScale   ((double) 1.0/(double) QuantumRange)

Definition at line 123 of file magick-type.h.

Referenced by AdaptiveBlurImage(), AdaptiveSharpenImage(), AlphaBlendPixelInfo(), ApplyEvaluateOperator(), ApplyFunction(), ApplyPixelCompositeMask(), AssociateAlphaPixel(), AssociateAlphaPixelInfo(), AutoGammaImage(), BilateralBlurImage(), ClassifyImageColors(), ClipPixelCacheNexus(), ClosestColor(), ColorThresholdImage(), CompareImages(), ComplexImages(), CompositeHCL(), CompositeImage(), CompositeOverImage(), CompositePixelInfoOver(), CompositePixelInfoPlus(), CompositePixelOver(), ConcatenateColorComponent(), ConnectedComponentsImage(), ConvertCMYKToRGB(), ConvertRGBToCMY(), ConvertRGBToCMYK(), ConvertRGBToHCL(), ConvertRGBToHCLp(), ConvertRGBToHSB(), ConvertRGBToHSI(), ConvertRGBToHSL(), ConvertRGBToHSV(), ConvertRGBToHWB(), ConvertRGBToXYZ(), ConvertRGBToYDbDr(), ConvertRGBToYIQ(), ConvertRGBToYPbPr(), ConvertRGBToYUV(), DecodePixelGamma(), DefineImageColormap(), EncodePixelGamma(), EvaluateImages(), ExportAlphaQuantum(), ExportBGRAQuantum(), ExportBGROQuantum(), ExportBGRQuantum(), ExportBlackQuantum(), ExportBlueQuantum(), ExportCMYKAQuantum(), ExportCMYKOQuantum(), ExportCMYKQuantum(), ExportDoublePixel(), ExportFloatPixel(), ExportGrayAlphaQuantum(), ExportGrayQuantum(), ExportGreenQuantum(), ExportIndexAlphaQuantum(), ExportIndexQuantum(), ExportOpacityQuantum(), ExportQuantumPixels(), ExportRedQuantum(), ExportRGBAQuantum(), ExportRGBOQuantum(), ExportRGBQuantum(), FlattenPixelInfo(), FrameImage(), FxChannelStatistics(), FxEvaluateSubexpression(), FxGetSymbol(), GenerateDifferentialNoise(), GetAbsoluteDistortion(), GetFillColor(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageMoments(), GetImageQuantizeError(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(), GetPeakAbsoluteDistortion(), GetStrokeColor(), GetStructuralSimilarityDistortion(), HaldClutImage(), HorizontalFilter(), ImportQuantumPixels(), InterpolatePixelChannel(), InterpolatePixelChannels(), IsFuzzyEquivalencePixel(), IsFuzzyEquivalencePixelInfo(), KmeansImage(), KmeansMetric(), ListMagickVersion(), MagickOver_(), MeanShiftImage(), MorphologyPrimitive(), MotionBlurImage(), OrderedDitherImage(), PolynomialImage(), PrintChannelLocations(), RaiseImage(), RenderPostscript(), ResamplePixelColor(), RotationalBlurImage(), ScaleImage(), SelectiveBlurImage(), SetImageAlphaChannel(), SetImageColorMetric(), ShadeImage(), SignatureImage(), sRGBTransformImage(), StreamImagePixels(), TintImage(), TransformsRGBImage(), VerticalFilter(), and WhiteBalanceImage().

Typedef Documentation

◆ BlobInfo

typedef struct _BlobInfo BlobInfo

Definition at line 202 of file magick-type.h.

◆ ExceptionInfo

typedef struct _ExceptionInfo ExceptionInfo

Definition at line 204 of file magick-type.h.

◆ Image

typedef struct _Image Image

Definition at line 206 of file magick-type.h.

◆ ImageInfo

typedef struct _ImageInfo ImageInfo

Definition at line 208 of file magick-type.h.

◆ MagickAddressType

typedef size_t MagickAddressType

Definition at line 153 of file magick-type.h.

◆ MagickDoubleType

typedef double MagickDoubleType

Definition at line 59 of file magick-type.h.

◆ MagickFloatType

typedef float MagickFloatType

Definition at line 47 of file magick-type.h.

◆ MagickOffsetType

typedef ssize_t MagickOffsetType

Definition at line 137 of file magick-type.h.

◆ MagickRealType

Definition at line 128 of file magick-type.h.

◆ MagickSizeType

typedef size_t MagickSizeType

Definition at line 138 of file magick-type.h.

◆ MagickStatusType

typedef unsigned int MagickStatusType

Definition at line 129 of file magick-type.h.

◆ Quantum

typedef unsigned short Quantum

Definition at line 90 of file magick-type.h.

◆ QuantumAny

Definition at line 159 of file magick-type.h.

Enumeration Type Documentation

◆ ClassType

enum ClassType
Enumerator
UndefinedClass 
DirectClass 
PseudoClass 

Definition at line 166 of file magick-type.h.

◆ MagickBooleanType

Enumerator
MagickFalse 
MagickTrue 

Definition at line 173 of file magick-type.h.