MagickCore  6.7.5
cache-view.c File Reference
Include dependency graph for cache-view.c:

Go to the source code of this file.

Data Structures

struct  _CacheView

Functions

MagickExport CacheViewAcquireCacheView (const Image *image)
MagickExport CacheViewCloneCacheView (const CacheView *cache_view)
MagickExport CacheViewDestroyCacheView (CacheView *cache_view)
MagickExport ColorspaceType GetCacheViewColorspace (const CacheView *cache_view)
MagickExport MagickSizeType GetCacheViewExtent (const CacheView *cache_view)
MagickExport ClassType GetCacheViewStorageClass (const CacheView *cache_view)
MagickExport QuantumGetCacheViewAuthenticPixels (CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
MagickExport void * GetCacheViewAuthenticMetacontent (CacheView *cache_view)
MagickExport QuantumGetCacheViewAuthenticPixelQueue (CacheView *cache_view)
MagickExport const void * GetCacheViewVirtualMetacontent (const CacheView *cache_view)
MagickExport const QuantumGetCacheViewVirtualPixelQueue (const CacheView *cache_view)
MagickExport const QuantumGetCacheViewVirtualPixels (const CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel (const CacheView *cache_view, const ssize_t x, const ssize_t y, Quantum *pixel, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel (const CacheView *cache_view, const ssize_t x, const ssize_t y, Quantum *pixel, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel (const CacheView *cache_view, const VirtualPixelMethod virtual_pixel_method, const ssize_t x, const ssize_t y, Quantum *pixel, ExceptionInfo *exception)
MagickExport QuantumQueueCacheViewAuthenticPixels (CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
MagickExport MagickBooleanType SetCacheViewStorageClass (CacheView *cache_view, const ClassType storage_class, ExceptionInfo *exception)
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod (CacheView *cache_view, const VirtualPixelMethod virtual_pixel_method)
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels (CacheView *cache_view, ExceptionInfo *exception)

Function Documentation

MagickExport CacheView* AcquireCacheView ( const Image image)

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

References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, AcquireQuantumMemory(), ThrowFatalException, ResourceLimitFatalError, ResetMagickMemory(), _CacheView::image, ReferenceImage(), _CacheView::number_threads, GetOpenMPMaximumThreads(), _CacheView::nexus_info, AcquirePixelCacheNexus(), _CacheView::virtual_pixel_method, GetImageVirtualPixelMethod(), _CacheView::debug, IsEventLogging(), _CacheView::signature, and CacheFatalError.

Referenced by RenderPostscript(), GetImageBoundingBox(), GetImageDepth(), IsImageGray(), IsImageMonochrome(), IsImageOpaque(), SetImageDepth(), IsEquivalentImage(), CycleColormapImage(), SortColormapByIntensity(), RGBTransformImage(), TransformRGBImage(), CompareImages(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), IsImagesEqual(), SimilarityImage(), CompositeOverImage(), CompositeImage(), TextureImage(), HuffmanDecodeImage(), FrameImage(), RaiseImage(), DistortImage(), SparseColorImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), AdaptiveBlurImage(), AdaptiveSharpenImage(), BlurImage(), ConvolveImage(), DespeckleImage(), MotionBlurImage(), RadialBlurImage(), SelectiveBlurImage(), ShadeImage(), SpreadImage(), UnsharpMaskImage(), ClutImage(), ColorDecisionListImage(), ContrastImage(), ContrastStretchImage(), EnhanceImage(), EqualizeImage(), GammaImage(), HaldClutImage(), LevelImage(), LevelizeImage(), LinearStretchImage(), ModulateImage(), NegateImage(), SigmoidalContrastImage(), GetImageFeatures(), AcquireFxInfo(), AddNoiseImage(), BlueShiftImage(), ColorizeImage(), ColorMatrixImage(), FxImage(), ImplodeImage(), MorphImages(), PlasmaImage(), SepiaToneImage(), ShadowImage(), SketchImage(), SolarizeImage(), SteganoImage(), SwirlImage(), TintImage(), WaveImage(), ClassifyImageColors(), IsHistogramImage(), IsPaletteImage(), UniqueImageColors(), NewImageView(), NewImageViewRegion(), AppendImages(), CombineImages(), IsHighDynamicRangeImage(), NewMagickImage(), SeparateImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageColor(), SetImageAlpha(), SmushXGap(), SmushYGap(), SmushImages(), SyncImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), FloodfillPaintImage(), OilPaintImage(), OpaquePaintImage(), TransparentPaintImage(), TransparentPaintImageChroma(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), GetImageTotalInkDensity(), ProfileImage(), AssignImageColors(), FloydSteinbergDither(), DitherImage(), GetImageQuantizeError(), PosterizeImage(), DirectToColormapImage(), SetGrayscaleImage(), AcquireResampleFilter(), ResamplePixelColor(), InterpolativeResizeImage(), HorizontalFilter(), VerticalFilter(), SampleImage(), ScaleImage(), Classify(), RadonTransform(), GetImageBackgroundColor(), IntegralRotateImage(), XShearImage(), YShearImage(), SignatureImage(), EvaluateImages(), EvaluateImage(), FunctionImage(), GetImageKurtosis(), GetImageRange(), StatisticImage(), AdaptiveThresholdImage(), BilevelImage(), BlackThresholdImage(), ClampImage(), OrderedPosterizeImage(), RandomThresholdImage(), WhiteThresholdImage(), ChopImage(), ConsolidateCMYKImages(), CropImage(), ExcerptImage(), FlipImage(), FlopImage(), CopyImageRegion(), SpliceImage(), TransposeImage(), and TransverseImage().

MagickExport CacheView* DestroyCacheView ( CacheView cache_view)

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

References _CacheView::signature, MagickSignature, _CacheView::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _CacheView::image, _Image::filename, _CacheView::nexus_info, DestroyPixelCacheNexus(), _CacheView::number_threads, DestroyImage(), and RelinquishMagickMemory().

Referenced by RenderPostscript(), GetImageBoundingBox(), GetImageDepth(), IsImageGray(), IsImageMonochrome(), IsImageOpaque(), SetImageDepth(), IsEquivalentImage(), CycleColormapImage(), SortColormapByIntensity(), RGBTransformImage(), TransformRGBImage(), CompareImages(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), IsImagesEqual(), SimilarityImage(), CompositeOverImage(), CompositeImage(), TextureImage(), HuffmanDecodeImage(), FrameImage(), RaiseImage(), DistortImage(), SparseColorImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), AdaptiveBlurImage(), AdaptiveSharpenImage(), BlurImage(), ConvolveImage(), DespeckleImage(), MotionBlurImage(), RadialBlurImage(), SelectiveBlurImage(), SpreadImage(), UnsharpMaskImage(), ClutImage(), ColorDecisionListImage(), ContrastImage(), ContrastStretchImage(), EnhanceImage(), EqualizeImage(), GammaImage(), HaldClutImage(), LevelImage(), LevelizeImage(), LinearStretchImage(), ModulateImage(), NegateImage(), SigmoidalContrastImage(), GetImageFeatures(), AddNoiseImage(), BlueShiftImage(), ColorizeImage(), ColorMatrixImage(), DestroyFxInfo(), FxImage(), ImplodeImage(), MorphImages(), PlasmaImage(), SepiaToneImage(), ShadowImage(), SketchImage(), SolarizeImage(), SteganoImage(), SwirlImage(), TintImage(), WaveImage(), UniqueImageColors(), DestroyImageView(), AppendImages(), CombineImages(), IsHighDynamicRangeImage(), NewMagickImage(), SeparateImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageColor(), SetImageAlpha(), SmushXGap(), SmushYGap(), SmushImages(), SyncImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), FloodfillPaintImage(), OilPaintImage(), OpaquePaintImage(), TransparentPaintImage(), TransparentPaintImageChroma(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), GetImageTotalInkDensity(), ProfileImage(), AssignImageColors(), ClassifyImageColors(), FloydSteinbergDither(), DitherImage(), GetImageQuantizeError(), PosterizeImage(), DirectToColormapImage(), SetGrayscaleImage(), DestroyResampleFilter(), ResamplePixelColor(), InterpolativeResizeImage(), HorizontalFilter(), VerticalFilter(), SampleImage(), ScaleImage(), Classify(), RadonTransform(), GetImageBackgroundColor(), IntegralRotateImage(), XShearImage(), YShearImage(), SignatureImage(), EvaluateImages(), EvaluateImage(), FunctionImage(), GetImageKurtosis(), GetImageRange(), StatisticImage(), AdaptiveThresholdImage(), BilevelImage(), BlackThresholdImage(), ClampImage(), OrderedPosterizeImage(), RandomThresholdImage(), WhiteThresholdImage(), ChopImage(), ConsolidateCMYKImages(), CropImage(), ExcerptImage(), FlipImage(), FlopImage(), CopyImageRegion(), SpliceImage(), TransposeImage(), and TransverseImage().

MagickExport void* GetCacheViewAuthenticMetacontent ( CacheView cache_view)
MagickExport Quantum* GetCacheViewAuthenticPixels ( CacheView cache_view,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)

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

References GetOpenMPThreadId(), _CacheView::signature, MagickSignature, _CacheView::number_threads, GetAuthenticPixelCacheNexus(), _CacheView::image, and _CacheView::nexus_info.

Referenced by RenderPostscript(), SetImageDepth(), CycleColormapImage(), SortColormapByIntensity(), RGBTransformImage(), TransformRGBImage(), SimilarityImage(), CompositeOverImage(), CompositeImage(), RaiseImage(), SparseColorImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), BlurImage(), ClutImage(), ColorDecisionListImage(), ContrastImage(), ContrastStretchImage(), EqualizeImage(), GammaImage(), HaldClutImage(), LevelImage(), LevelizeImage(), ModulateImage(), NegateImage(), SigmoidalContrastImage(), ColorMatrixImage(), ImplodeImage(), MorphImages(), SepiaToneImage(), SolarizeImage(), SteganoImage(), SwirlImage(), DuplexTransferImageViewIterator(), SetImageViewIterator(), TransferImageViewIterator(), UpdateImageViewIterator(), CombineImages(), SetImageAlphaChannel(), SetImageAlpha(), SyncImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), FloodfillPaintImage(), OpaquePaintImage(), TransparentPaintImage(), TransparentPaintImageChroma(), ProfileImage(), AssignImageColors(), FloydSteinbergDither(), RiemersmaDither(), PosterizeImage(), DirectToColormapImage(), SetGrayscaleImage(), Classify(), XShearImage(), YShearImage(), EvaluateImage(), FunctionImage(), BilevelImage(), BlackThresholdImage(), ClampImage(), OrderedPosterizeImage(), RandomThresholdImage(), WhiteThresholdImage(), ExcerptImage(), and CopyImageRegion().

MagickExport const void* GetCacheViewVirtualMetacontent ( const CacheView cache_view)
MagickExport const Quantum* GetCacheViewVirtualPixelQueue ( const CacheView cache_view)
MagickExport const Quantum* GetCacheViewVirtualPixels ( const CacheView cache_view,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)

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

References GetOpenMPThreadId(), _CacheView::signature, MagickSignature, _CacheView::number_threads, GetVirtualPixelsFromNexus(), _CacheView::image, _CacheView::virtual_pixel_method, and _CacheView::nexus_info.

Referenced by GetImageBoundingBox(), GetImageDepth(), IsImageGray(), IsImageMonochrome(), IsImageOpaque(), IsEquivalentImage(), CompareImages(), GetAbsoluteDistortion(), GetFuzzDistortion(), GetMeanAbsoluteDistortion(), GetMeanErrorPerPixel(), GetMeanSquaredDistortion(), GetNormalizedCrossCorrelationDistortion(), GetPeakAbsoluteDistortion(), IsImagesEqual(), CompositeOverImage(), CompositeImage(), TextureImage(), FrameImage(), AdaptiveBlurImage(), AdaptiveSharpenImage(), BlurImage(), ConvolveImage(), DespeckleImage(), MotionBlurImage(), RadialBlurImage(), SelectiveBlurImage(), ShadeImage(), SpreadImage(), UnsharpMaskImage(), ContrastStretchImage(), EnhanceImage(), EqualizeImage(), LinearStretchImage(), GetImageFeatures(), AddNoiseImage(), BlueShiftImage(), ColorizeImage(), ColorMatrixImage(), FxImage(), MorphImages(), PlasmaImageProxy(), SepiaToneImage(), TintImage(), ClassifyImageColors(), IsHistogramImage(), IsPaletteImage(), DuplexTransferImageViewIterator(), GetImageViewIterator(), TransferImageViewIterator(), AppendImages(), CombineImages(), IsHighDynamicRangeImage(), SeparateImage(), SmushXGap(), SmushYGap(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), FloodfillPaintImage(), OilPaintImage(), InterpolatePixelChannel(), InterpolatePixelChannels(), InterpolatePixelInfo(), GetImageTotalInkDensity(), GetImageQuantizeError(), ResamplePixelColor(), HorizontalFilter(), VerticalFilter(), SampleImage(), ScaleImage(), Classify(), RadonTransform(), GetImageBackgroundColor(), IntegralRotateImage(), SignatureImage(), EvaluateImages(), GetImageKurtosis(), GetImageRange(), StatisticImage(), AdaptiveThresholdImage(), ChopImage(), ConsolidateCMYKImages(), CropImage(), ExcerptImage(), FlipImage(), FlopImage(), CopyImageRegion(), SpliceImage(), TransposeImage(), and TransverseImage().

MagickExport MagickBooleanType SetCacheViewStorageClass ( CacheView cache_view,
const ClassType  storage_class,
ExceptionInfo exception 
)
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels ( CacheView cache_view,
ExceptionInfo exception 
)

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

References GetOpenMPThreadId(), _CacheView::signature, MagickSignature, _CacheView::number_threads, SyncAuthenticPixelCacheNexus(), _CacheView::image, and _CacheView::nexus_info.

Referenced by RenderPostscript(), SetImageDepth(), CycleColormapImage(), SortColormapByIntensity(), RGBTransformImage(), TransformRGBImage(), CompareImages(), SimilarityImage(), CompositeOverImage(), CompositeImage(), TextureImage(), HuffmanDecodeImage(), FrameImage(), RaiseImage(), DistortImage(), SparseColorImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), AdaptiveBlurImage(), AdaptiveSharpenImage(), BlurImage(), ConvolveImage(), DespeckleImage(), MotionBlurImage(), RadialBlurImage(), SelectiveBlurImage(), ShadeImage(), SpreadImage(), UnsharpMaskImage(), ClutImage(), ColorDecisionListImage(), ContrastImage(), ContrastStretchImage(), EnhanceImage(), EqualizeImage(), GammaImage(), HaldClutImage(), LevelImage(), LevelizeImage(), ModulateImage(), NegateImage(), SigmoidalContrastImage(), AddNoiseImage(), BlueShiftImage(), ColorizeImage(), ColorMatrixImage(), FxImage(), ImplodeImage(), MorphImages(), PlasmaImageProxy(), SepiaToneImage(), ShadowImage(), SketchImage(), SolarizeImage(), SteganoImage(), SwirlImage(), TintImage(), WaveImage(), UniqueColorsToImage(), DuplexTransferImageViewIterator(), SetImageViewIterator(), TransferImageViewIterator(), UpdateImageViewIterator(), AppendImages(), CombineImages(), NewMagickImage(), SeparateImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageColor(), SetImageAlpha(), SyncImage(), MorphologyPrimitive(), MorphologyPrimitiveDirect(), FloodfillPaintImage(), OilPaintImage(), OpaquePaintImage(), TransparentPaintImage(), TransparentPaintImageChroma(), ProfileImage(), AssignImageColors(), FloydSteinbergDither(), RiemersmaDither(), PosterizeImage(), DirectToColormapImage(), SetGrayscaleImage(), InterpolativeResizeImage(), HorizontalFilter(), VerticalFilter(), SampleImage(), ScaleImage(), Classify(), IntegralRotateImage(), XShearImage(), YShearImage(), EvaluateImages(), EvaluateImage(), FunctionImage(), StatisticImage(), AdaptiveThresholdImage(), BilevelImage(), BlackThresholdImage(), ClampImage(), OrderedPosterizeImage(), RandomThresholdImage(), WhiteThresholdImage(), ChopImage(), ConsolidateCMYKImages(), CropImage(), ExcerptImage(), FlipImage(), FlopImage(), CopyImageRegion(), SpliceImage(), TransposeImage(), and TransverseImage().