cache-view.c File Reference

#include "magick/studio.h"
#include "magick/cache.h"
#include "magick/cache-private.h"
#include "magick/cache-view.h"
#include "magick/memory_.h"
#include "magick/exception.h"
#include "magick/exception-private.h"
#include "magick/string_.h"
#include "magick/thread-private.h"
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 ExceptionInfoGetCacheViewException (const CacheView *cache_view)
MagickExport MagickSizeType GetCacheViewExtent (const CacheView *cache_view)
MagickExport ClassType GetCacheViewStorageClass (const CacheView *cache_view)
MagickExport PixelPacketGetCacheViewAuthenticPixels (CacheView *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel (const CacheView *cache_view, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport IndexPacketGetCacheViewAuthenticIndexQueue (CacheView *cache_view)
MagickExport PixelPacketGetCacheViewAuthenticPixelQueue (CacheView *cache_view)
MagickExport const IndexPacketGetCacheViewVirtualIndexQueue (const CacheView *cache_view)
MagickExport const PixelPacketGetCacheViewVirtualPixelQueue (const CacheView *cache_view)
MagickExport const PixelPacketGetCacheViewVirtualPixels (const CacheView *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel (const CacheView *cache_view, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel (const CacheView *cache_view, const VirtualPixelMethod virtual_pixel_method, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport PixelPacketQueueCacheViewAuthenticPixels (CacheView *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType SetCacheViewStorageClass (CacheView *cache_view, const ClassType storage_class)
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 106 of file cache-view.c.

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

Referenced by AcquireResampleFilter(), AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlueShiftImage(), BlurImageChannel(), ChopImage(), ClampImageChannel(), Classify(), ClassifyImageColors(), ClutImageChannel(), ColorDecisionListImage(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DitherImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetAbsoluteError(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageQuantizeError(), GetImageTotalInkDensity(), GetMeanAbsoluteError(), GetMeanErrorPerPixel(), GetMeanSquaredError(), GetPeakAbsoluteError(), GetSimilarityMetric(), HaldClutImageChannel(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), InterpolateResampleFilter(), IsGrayImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImagesEqual(), IsImageSimilar(), IsMonochromeImage(), IsOpaqueImage(), IsPaletteImage(), LevelImageChannel(), LevelizeImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OpenCacheView(), OrderedPosterizeImageChannel(), PosterizeImage(), ProfileImage(), RadialBlurImageChannel(), RadonTransform(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RenderPostscript(), ResamplePixelColor(), RGBTransformImage(), SampleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadeImage(), ShadowImage(), SigmoidalContrastImageChannel(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), SwirlImage(), SyncImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport CacheView* CloneCacheView ( const CacheView cache_view  ) 
MagickExport CacheView* DestroyCacheView ( CacheView cache_view  ) 

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

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

Referenced by AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlueShiftImage(), BlurImageChannel(), ChopImage(), ClampImageChannel(), Classify(), ClassifyImageColors(), CloseCacheView(), ClutImageChannel(), ColorDecisionListImage(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DestroyResampleFilter(), DistortImage(), DitherImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetAbsoluteError(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageQuantizeError(), GetImageTotalInkDensity(), GetMeanAbsoluteError(), GetMeanErrorPerPixel(), GetMeanSquaredError(), GetPeakAbsoluteError(), GetSimilarityMetric(), HaldClutImageChannel(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), InterpolateResampleFilter(), IsGrayImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImagesEqual(), IsImageSimilar(), IsMonochromeImage(), IsOpaqueImage(), IsPaletteImage(), LevelImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PosterizeImage(), ProfileImage(), RadialBlurImageChannel(), RadonTransform(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RenderPostscript(), ResamplePixelColor(), RGBTransformImage(), SampleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadowImage(), SigmoidalContrastImageChannel(), SignatureImage(), SimilarityImage(), SketchImage(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), SwirlImage(), SyncImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport IndexPacket* GetCacheViewAuthenticIndexQueue ( CacheView cache_view  ) 

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

References _Image::cache, _CacheView::debug, _Image::filename, GetMagickModule, GetOpenMPThreadId(), GetPixelCacheNexusIndexes(), _CacheView::image, LogMagickEvent(), MagickFalse, MagickSignature, _CacheView::nexus_info, _CacheView::number_threads, _CacheView::signature, and TraceEvent.

Referenced by AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlurImageChannel(), ChopImage(), ClampImageChannel(), Classify(), ClutImageChannel(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetCacheViewIndexes(), GetImageBoundingBox(), GetImageQuantizeError(), HaldClutImageChannel(), HorizontalFilter(), ImplodeImage(), ImportQuantumPixels(), IntegralRotateImage(), LevelImageChannel(), LevelizeImageChannel(), MedianFilterImage(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PosterizeImage(), ProfileImage(), RadialBlurImageChannel(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), ResamplePixelColor(), RGBTransformImage(), RiemersmaDither(), SampleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageChannelDepth(), SigmoidalContrastImageChannel(), SketchImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), SwirlImage(), SyncImage(), TextureImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport PixelPacket* GetCacheViewAuthenticPixelQueue ( CacheView cache_view  ) 
MagickExport PixelPacket* GetCacheViewAuthenticPixels ( CacheView cache_view,
const long  x,
const long  y,
const unsigned long  columns,
const unsigned long  rows,
ExceptionInfo exception 
)

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

References _CacheView::debug, _Image::filename, GetAuthenticPixelCacheNexus(), GetImagePixelCache(), GetMagickModule, GetOpenMPThreadId(), _CacheView::image, LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _CacheView::nexus_info, _CacheView::number_threads, _CacheView::signature, and TraceEvent.

Referenced by AdaptiveThresholdImage(), AddNoiseImageChannel(), AssignImageColors(), BilevelImageChannel(), BlackThresholdImageChannel(), BlurImageChannel(), ClampImageChannel(), Classify(), ClutImageChannel(), ColorDecisionListImage(), CombineImages(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CycleColormapImage(), DespeckleImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), DrawPrimitive(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FloydSteinbergDither(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), GetCacheView(), GetCacheViewPixels(), HaldClutImageChannel(), ImplodeImage(), LevelImageChannel(), LevelizeImageChannel(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), ProfileImage(), RadialBlurImageChannel(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), RenderPostscript(), RGBTransformImage(), RiemersmaDither(), SelectiveBlurImageChannel(), SeparateImageChannel(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageChannelDepth(), SetImageOpacity(), ShadowImage(), SigmoidalContrastImageChannel(), SimilarityImage(), SolarizeImage(), SortColormapByIntensity(), SwirlImage(), SyncImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), UnsharpMaskImageChannel(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport ColorspaceType GetCacheViewColorspace ( const CacheView cache_view  ) 
MagickExport ExceptionInfo* GetCacheViewException ( const CacheView cache_view  ) 
MagickExport MagickSizeType GetCacheViewExtent ( const CacheView cache_view  ) 
MagickExport ClassType GetCacheViewStorageClass ( const CacheView cache_view  ) 
MagickExport const IndexPacket* GetCacheViewVirtualIndexQueue ( const CacheView cache_view  ) 
MagickExport const PixelPacket* GetCacheViewVirtualPixelQueue ( const CacheView cache_view  ) 
MagickExport const PixelPacket* GetCacheViewVirtualPixels ( const CacheView cache_view,
const long  x,
const long  y,
const unsigned long  columns,
const unsigned long  rows,
ExceptionInfo exception 
)

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

References _CacheView::debug, _Image::filename, GetMagickModule, GetOpenMPThreadId(), GetVirtualPixelsFromNexus(), _CacheView::image, LogMagickEvent(), MagickFalse, MagickSignature, _CacheView::nexus_info, _CacheView::number_threads, _CacheView::signature, TraceEvent, and _CacheView::virtual_pixel_method.

Referenced by AcquireCacheViewPixels(), AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AverageImages(), BlueShiftImage(), BlurImageChannel(), ChopImage(), Classify(), ClassifyImageColors(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CropImage(), DespeckleImage(), EnhanceImage(), ExcerptImage(), FlipImage(), FlopImage(), FrameImage(), GetAbsoluteError(), GetImageBackgroundColor(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageQuantizeError(), GetImageTotalInkDensity(), GetMeanAbsoluteError(), GetMeanErrorPerPixel(), GetMeanSquaredError(), GetPeakAbsoluteError(), GetSimilarityMetric(), HorizontalFilter(), IntegralRotateImage(), InterpolatePixelColor(), InterpolateResampleFilter(), IsGrayImage(), IsHighDynamicRangeImage(), IsHistogramImage(), IsImagesEqual(), IsImageSimilar(), IsMonochromeImage(), IsOpaqueImage(), IsPaletteImage(), MedianFilterImage(), MorphImages(), OilPaintImage(), RadonTransform(), RecolorImage(), ReduceNoiseImage(), ResamplePixelColor(), SampleImage(), SelectiveBlurImageChannel(), SepiaToneImage(), ShadeImage(), SignatureImage(), SpliceImage(), TextureImage(), TintImage(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), and VerticalFilter().

MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel ( const CacheView cache_view,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel ( const CacheView cache_view,
const VirtualPixelMethod  virtual_pixel_method,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel ( const CacheView cache_view,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)
MagickExport PixelPacket* QueueCacheViewAuthenticPixels ( CacheView cache_view,
const long  x,
const long  y,
const unsigned long  columns,
const unsigned long  rows,
ExceptionInfo exception 
)
MagickExport MagickBooleanType SetCacheViewStorageClass ( CacheView cache_view,
const ClassType  storage_class 
)
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod ( CacheView cache_view,
const VirtualPixelMethod  virtual_pixel_method 
)
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels ( CacheView cache_view,
ExceptionInfo exception 
)

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

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

Referenced by AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlueShiftImage(), BlurImageChannel(), ChopImage(), ClampImageChannel(), Classify(), ClutImageChannel(), ColorDecisionListImage(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), ConvolveImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FunctionImageChannel(), FxImageChannel(), GammaImageChannel(), HaldClutImageChannel(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), LevelImageChannel(), LevelizeImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PosterizeImage(), ProfileImage(), RadialBlurImageChannel(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RenderPostscript(), RGBTransformImage(), RiemersmaDither(), SampleImage(), SelectiveBlurImageChannel(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageAlphaChannel(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadeImage(), ShadowImage(), SigmoidalContrastImageChannel(), SimilarityImage(), SketchImage(), SolarizeImage(), SortColormapByIntensity(), SparseColorImage(), SpliceImage(), SpreadImage(), SwirlImage(), SyncCacheView(), SyncCacheViewPixels(), SyncImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().


Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1