MagickCore 6.9.12
cache-view.h File Reference
#include "magick/pixel.h"
Include dependency graph for cache-view.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _CacheView CacheView
 

Enumerations

enum  VirtualPixelMethod {
  UndefinedVirtualPixelMethod , BackgroundVirtualPixelMethod , ConstantVirtualPixelMethod , DitherVirtualPixelMethod ,
  EdgeVirtualPixelMethod , MirrorVirtualPixelMethod , RandomVirtualPixelMethod , TileVirtualPixelMethod ,
  TransparentVirtualPixelMethod , MaskVirtualPixelMethod , BlackVirtualPixelMethod , GrayVirtualPixelMethod ,
  WhiteVirtualPixelMethod , HorizontalTileVirtualPixelMethod , VerticalTileVirtualPixelMethod , HorizontalTileEdgeVirtualPixelMethod ,
  VerticalTileEdgeVirtualPixelMethod , CheckerTileVirtualPixelMethod
}
 

Functions

MagickExport CacheViewAcquireAuthenticCacheView (const Image *, ExceptionInfo *)
 
MagickExport CacheViewAcquireCacheView (const Image *)
 
MagickExport CacheViewAcquireVirtualCacheView (const Image *, ExceptionInfo *)
 
MagickExport CacheViewCloneCacheView (const CacheView *)
 
MagickExport CacheViewDestroyCacheView (CacheView *)
 
MagickExport ClassType GetCacheViewStorageClass (const CacheView *) magick_attribute((__pure__))
 
MagickExport ColorspaceType GetCacheViewColorspace (const CacheView *) magick_attribute((__pure__))
 
MagickExport const IndexPacketGetCacheViewVirtualIndexQueue (const CacheView *) magick_attribute((__pure__))
 
MagickExport const PixelPacketGetCacheViewVirtualPixels (const CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
 
MagickExport const PixelPacketGetCacheViewVirtualPixelQueue (const CacheView *) magick_hot_spot
 
MagickExport ExceptionInfoGetCacheViewException (const CacheView *) magick_attribute((__pure__))
 
MagickExport IndexPacketGetCacheViewAuthenticIndexQueue (CacheView *) magick_attribute((__pure__))
 
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel (const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
 
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel (const CacheView *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel (const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
 
MagickExport MagickBooleanType SetCacheViewStorageClass (CacheView *, const ClassType)
 
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod (CacheView *magick_restrict, const VirtualPixelMethod)
 
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels (CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
 
MagickExport MagickSizeType GetCacheViewExtent (const CacheView *)
 
MagickExport size_t GetCacheViewChannels (const CacheView *)
 
MagickExport PixelPacketGetCacheViewAuthenticPixelQueue (CacheView *) magick_hot_spot
 
MagickExport PixelPacketGetCacheViewAuthenticPixels (CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
 
MagickExport PixelPacketQueueCacheViewAuthenticPixels (CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
 

Typedef Documentation

◆ CacheView

typedef struct _CacheView CacheView

Definition at line 50 of file cache-view.h.

Enumeration Type Documentation

◆ VirtualPixelMethod

Enumerator
UndefinedVirtualPixelMethod 
BackgroundVirtualPixelMethod 
ConstantVirtualPixelMethod 
DitherVirtualPixelMethod 
EdgeVirtualPixelMethod 
MirrorVirtualPixelMethod 
RandomVirtualPixelMethod 
TileVirtualPixelMethod 
TransparentVirtualPixelMethod 
MaskVirtualPixelMethod 
BlackVirtualPixelMethod 
GrayVirtualPixelMethod 
WhiteVirtualPixelMethod 
HorizontalTileVirtualPixelMethod 
VerticalTileVirtualPixelMethod 
HorizontalTileEdgeVirtualPixelMethod 
VerticalTileEdgeVirtualPixelMethod 
CheckerTileVirtualPixelMethod 

Definition at line 27 of file cache-view.h.

Function Documentation

◆ AcquireAuthenticCacheView()

MagickExport CacheView * AcquireAuthenticCacheView ( const Image ,
ExceptionInfo  
)

◆ AcquireCacheView()

MagickExport CacheView * AcquireCacheView ( const Image )

◆ AcquireVirtualCacheView()

MagickExport CacheView * AcquireVirtualCacheView ( const Image ,
ExceptionInfo  
)

◆ CloneCacheView()

MagickExport CacheView * CloneCacheView ( const CacheView )

◆ DestroyCacheView()

MagickExport CacheView * DestroyCacheView ( CacheView cache_view)

Definition at line 256 of file cache-view.c.

References DestroyImage(), DestroyPixelCacheNexus(), _Image::filename, GetMagickModule, _CacheView::image, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _CacheView::nexus_info, _CacheView::number_threads, RelinquishAlignedMemory(), _CacheView::signature, and TraceEvent.

Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AutoThresholdImage(), BilevelImageChannel(), BlackThresholdImageChannel(), BlueShiftImage(), CannyEdgeImage(), CheckImageColors(), ChopImage(), ClampImageChannel(), Classify(), ClassifyImageColors(), CloseCacheView(), ClutImageChannel(), ColorDecisionListImage(), ColorizeImage(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), ComplexImages(), CompositeImageChannel(), ConnectedComponentsImage(), ConsolidateCMYKImages(), ContrastImage(), ContrastStretchImageChannel(), CopyImagePixels(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DestroyFxInfo(), DestroyImageView(), DestroyResampleFilter(), DistortImage(), DitherImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), EvaluateImages(), ExcerptImage(), FilterImageChannel(), FlipImage(), FloodfillPaintImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetAbsoluteDistortion(), GetEdgeBackgroundFactor(), GetEdgeBoundingBox(), GetFuzzDistortion(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageChannelFeatures(), GetImageQuantizeError(), GetImageTotalInkDensity(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetSimilarityMetric(), GrayscaleImage(), HaldClutImageChannel(), HorizontalFilter(), HoughLineImage(), HuffmanDecodeImage(), IdentifyImageGray(), IdentifyImageMonochrome(), ImplodeImage(), IntegralRotateImage(), InterpolateMagickPixelPacket(), InterpolativeResizeImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImagesEqual(), IsImageSimilar(), IsOpaqueImage(), KuwaharaImageChannel(), LevelImageChannel(), LevelizeImageChannel(), LocalContrastImage(), MagnifyImage(), MatrixToImage(), MeanShiftImage(), ModulateImage(), MorphImages(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PerceptibleImageChannel(), PlasmaImage(), PolynomialImageChannel(), PosterizeImageChannel(), ProfileImage(), RadonTransform(), RaiseImage(), RandomThresholdImageChannel(), RenderPostscript(), ResamplePixelColor(), ResetImagePixels(), RGBTransformImage(), RotationalBlurImageChannel(), SampleImage(), ScaleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SepiaToneImage(), SetCacheAlphaChannel(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageColor(), SetImageGray(), SetImageMonochrome(), SetImageOpacity(), ShadeImage(), ShadowImage(), SigmoidalContrastImageChannel(), SignatureImage(), SimilarityMetricImage(), SketchImage(), SmushImages(), SmushXGap(), SmushYGap(), SolarizeImageChannel(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImageChannel(), SteganoImage(), SwirlImage(), SyncImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UniqueImageColors(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WaveletDenoiseImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

◆ GetCacheViewAuthenticIndexQueue()

MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue ( CacheView cache_view)

Definition at line 564 of file cache-view.c.

References _Image::cache, GetOpenMPThreadId(), _CacheView::image, _NexusInfo::indexes, MagickCoreSignature, _CacheView::nexus_info, _CacheView::number_threads, and _CacheView::signature.

Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), BilevelImageChannel(), BlackThresholdImageChannel(), ChopImage(), ClampImageChannel(), Classify(), ClutImageChannel(), ColorMatrixImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ConnectedComponentsImage(), ConsolidateCMYKImages(), ContrastStretchImageChannel(), CopyImagePixels(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), EqualizeImageChannel(), EvaluateImageChannel(), EvaluateImages(), ExcerptImage(), FilterImageChannel(), FlipImage(), FloodfillPaintImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetCacheViewIndexes(), GetImageQuantizeError(), GetImageViewAuthenticIndexes(), HaldClutImageChannel(), HorizontalFilter(), HuffmanDecodeImage(), ImplodeImage(), ImportQuantumPixels(), IntegralRotateImage(), InterpolativeResizeImage(), KuwaharaImageChannel(), LevelImageChannel(), LevelizeImageChannel(), MagnifyImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PerceptibleImageChannel(), PolynomialImageChannel(), PosterizeImageChannel(), ProfileImage(), RandomThresholdImageChannel(), ResamplePixelColor(), ResetImagePixels(), RGBTransformImage(), RiemersmaDither(), RotationalBlurImageChannel(), SampleImage(), ScaleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageColor(), SigmoidalContrastImageChannel(), SketchImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), StatisticImageChannel(), SwirlImage(), SyncImage(), TextureImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UniqueColorsToImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WaveletDenoiseImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

◆ GetCacheViewAuthenticPixelQueue()

MagickExport PixelPacket * GetCacheViewAuthenticPixelQueue ( CacheView )

◆ GetCacheViewAuthenticPixels()

MagickExport PixelPacket * GetCacheViewAuthenticPixels ( CacheView ,
const  ssize_t,
const  ssize_t,
const  size_t,
const  size_t,
ExceptionInfo  
)

◆ GetCacheViewChannels()

◆ GetCacheViewColorspace()

◆ GetCacheViewException()

◆ GetCacheViewExtent()

◆ GetCacheViewStorageClass()

◆ GetCacheViewVirtualIndexQueue()

MagickExport const IndexPacket * GetCacheViewVirtualIndexQueue ( const CacheView cache_view)

Definition at line 638 of file cache-view.c.

References _Image::cache, GetOpenMPThreadId(), GetVirtualIndexesFromNexus(), _CacheView::image, MagickCoreSignature, _CacheView::nexus_info, _CacheView::number_threads, and _CacheView::signature.

Referenced by AcquireCacheViewIndexes(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), CheckImageColors(), ClassifyImageColors(), ColorMatrixImage(), CompareImageChannels(), CompositeImageChannel(), ConnectedComponentsImage(), CopyImagePixels(), CopyImageRegion(), CropImage(), DespeckleImage(), EqualizeImageChannel(), EvaluateImages(), ExportQuantumPixels(), FilterImageChannel(), FlipImage(), FloodfillPaintImage(), FlopImage(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageChannelFeatures(), GetImageTotalInkDensity(), GetImageViewVirtualIndexes(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), GetSimilarityMetric(), HorizontalFilter(), IntegralRotateImage(), InterpolateMagickPixelPacket(), InterpolatePixelColor(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImagesEqual(), IsImageSimilar(), MagnifyImage(), MeanShiftImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), MotionBlurImageChannel(), OilPaintImage(), PolynomialImageChannel(), ResamplePixelColor(), RotationalBlurImageChannel(), ScaleImage(), SelectiveBlurImageChannel(), StatisticImageChannel(), TextureImage(), UnsharpMaskImageChannel(), VerticalFilter(), and WaveletDenoiseImage().

◆ GetCacheViewVirtualPixelQueue()

◆ GetCacheViewVirtualPixels()

MagickExport const PixelPacket * GetCacheViewVirtualPixels ( const CacheView ,
const  ssize_t,
const  ssize_t,
const  size_t,
const  size_t,
ExceptionInfo  
)

◆ GetOneCacheViewAuthenticPixel()

MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel ( const CacheView magick_restrict,
const  ssize_t,
const  ssize_t,
PixelPacket magick_restrict,
ExceptionInfo  
)

◆ GetOneCacheViewVirtualMethodPixel()

MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel ( const CacheView ,
const  VirtualPixelMethod,
const  ssize_t,
const  ssize_t,
PixelPacket ,
ExceptionInfo  
)

◆ GetOneCacheViewVirtualPixel()

MagickExport MagickBooleanType GetOneCacheViewVirtualPixel ( const CacheView magick_restrict,
const  ssize_t,
const  ssize_t,
PixelPacket magick_restrict,
ExceptionInfo  
)

◆ QueueCacheViewAuthenticPixels()

◆ SetCacheViewStorageClass()

MagickExport MagickBooleanType SetCacheViewStorageClass ( CacheView ,
const  ClassType 
)

◆ SetCacheViewVirtualPixelMethod()

MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod ( CacheView magick_restrict,
const  VirtualPixelMethod 
)

◆ SyncCacheViewAuthenticPixels()

MagickExport MagickBooleanType SyncCacheViewAuthenticPixels ( CacheView magick_restrict,
ExceptionInfo  
)