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 dependency graph for cache-view.c:

Go to the source code of this file.

Data Structures

struct  _ViewInfo

Functions

MagickExport ViewInfoAcquireCacheView (const Image *image)
MagickExport ViewInfoAcquireCacheViewThread (ViewInfo **cache_views)
MagickExport ViewInfo ** AcquireCacheViewThreadSet (const Image *image)
MagickExport ViewInfoCloneCacheView (const ViewInfo *cache_view)
MagickExport ViewInfoDestroyCacheView (ViewInfo *cache_view)
MagickExport ViewInfo ** DestroyCacheViewThreadSet (ViewInfo **cache_views)
MagickExport ColorspaceType GetCacheViewColorspace (const ViewInfo *cache_view)
MagickExport ExceptionInfoGetCacheViewException (const ViewInfo *cache_view)
static long GetNexusInfoThreadId (void)
MagickExport MagickSizeType GetCacheViewExtent (const ViewInfo *cache_view)
MagickExport ClassType GetCacheViewStorageClass (const ViewInfo *cache_view)
MagickExport PixelPacketGetCacheViewAuthenticPixels (ViewInfo *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel (const ViewInfo *cache_view, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport IndexPacketGetCacheViewAuthenticIndexQueue (ViewInfo *cache_view)
MagickExport PixelPacketGetCacheViewAuthenticPixelQueue (ViewInfo *cache_view)
MagickExport const IndexPacketGetCacheViewVirtualIndexQueue (const ViewInfo *cache_view)
MagickExport const PixelPacketGetCacheViewVirtualPixelQueue (const ViewInfo *cache_view)
MagickExport const PixelPacketGetCacheViewVirtualPixels (const ViewInfo *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel (const ViewInfo *cache_view, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel (const ViewInfo *cache_view, const VirtualPixelMethod virtual_pixel_method, const long x, const long y, PixelPacket *pixel, ExceptionInfo *exception)
MagickExport PixelPacketQueueCacheViewAuthenticPixels (ViewInfo *cache_view, const long x, const long y, const unsigned long columns, const unsigned long rows, ExceptionInfo *exception)
MagickExport MagickBooleanType SetCacheViewStorageClass (ViewInfo *cache_view, const ClassType storage_class)
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod (ViewInfo *cache_view, const VirtualPixelMethod virtual_pixel_method)
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels (ViewInfo *cache_view, ExceptionInfo *exception)


Function Documentation

MagickExport ViewInfo* AcquireCacheView ( const Image image  ) 

MagickExport ViewInfo* AcquireCacheViewThread ( ViewInfo **  cache_views  ) 

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

References GetCacheViewThreadId().

MagickExport ViewInfo** AcquireCacheViewThreadSet ( const Image image  ) 

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

References AcquireCacheView(), AcquireQuantumMemory(), _Image::debug, _Image::filename, GetCacheViewMaximumThreads(), GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, ResourceLimitFatalError, _Image::signature, ThrowFatalException, and TraceEvent.

Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AppendImages(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlurImageChannel(), ClutImageChannel(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawGradientImage(), DrawPolygonPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FrameImage(), FxImageChannel(), GammaImageChannel(), GetAbsoluteError(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageTotalInkDensity(), GetMeanAbsoluteError(), GetMeanSquaredError(), GetPeakAbsoluteError(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), LevelImageChannel(), LevelizeImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), RadialBlurImageChannel(), RadonTransform(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RGBTransformImage(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadeImage(), ShadowImage(), SigmoidalContrastImageChannel(), SolarizeImage(), SparseColorImage(), SpreadImage(), SwirlImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport ViewInfo* CloneCacheView ( const ViewInfo cache_view  ) 

MagickExport ViewInfo* DestroyCacheView ( ViewInfo cache_view  ) 

MagickExport ViewInfo** DestroyCacheViewThreadSet ( ViewInfo **  cache_views  ) 

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

References DestroyCacheView(), GetCacheViewMaximumThreads(), and RelinquishMagickMemory().

Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AppendImages(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlurImageChannel(), ClutImageChannel(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawPolygonPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FrameImage(), FxImageChannel(), GammaImageChannel(), GetAbsoluteError(), GetImageBoundingBox(), GetImageChannelDepth(), GetImageTotalInkDensity(), GetMeanAbsoluteError(), GetMeanSquaredError(), GetPeakAbsoluteError(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), LevelImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), RadialBlurImageChannel(), RadonTransform(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RGBTransformImage(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadowImage(), SigmoidalContrastImageChannel(), SolarizeImage(), SparseColorImage(), SpreadImage(), SwirlImage(), TextureImage(), TintImage(), TransformRGBImage(), TransparentPaintImage(), TransparentPaintImageChroma(), TransposeImage(), TransverseImage(), UnsharpMaskImageChannel(), VerticalFilter(), WaveImage(), WhiteThresholdImageChannel(), XShearImage(), and YShearImage().

MagickExport IndexPacket* GetCacheViewAuthenticIndexQueue ( ViewInfo cache_view  ) 

MagickExport PixelPacket* GetCacheViewAuthenticPixelQueue ( ViewInfo cache_view  ) 

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

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

References _ViewInfo::debug, _Image::filename, GetCacheNexus(), GetMagickModule, GetNexusInfoThreadId(), _ViewInfo::image, LogMagickEvent(), MagickFalse, MagickSignature, _ViewInfo::nexus_info, _ViewInfo::signature, and TraceEvent.

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

MagickExport ColorspaceType GetCacheViewColorspace ( const ViewInfo cache_view  ) 

MagickExport ExceptionInfo* GetCacheViewException ( const ViewInfo cache_view  ) 

MagickExport MagickSizeType GetCacheViewExtent ( const ViewInfo cache_view  ) 

MagickExport ClassType GetCacheViewStorageClass ( const ViewInfo cache_view  ) 

MagickExport const IndexPacket* GetCacheViewVirtualIndexQueue ( const ViewInfo cache_view  ) 

MagickExport const PixelPacket* GetCacheViewVirtualPixelQueue ( const ViewInfo cache_view  ) 

MagickExport const PixelPacket* GetCacheViewVirtualPixels ( const ViewInfo cache_view,
const long  x,
const long  y,
const unsigned long  columns,
const unsigned long  rows,
ExceptionInfo exception 
)

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

References AcquireCacheNexus(), _ViewInfo::debug, _Image::filename, GetMagickModule, GetNexusInfoThreadId(), _ViewInfo::image, LogMagickEvent(), MagickFalse, MagickSignature, _ViewInfo::nexus_info, _ViewInfo::signature, TraceEvent, and _ViewInfo::virtual_pixel_method.

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

static long GetNexusInfoThreadId ( void   )  [inline, static]

MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel ( const ViewInfo cache_view,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)

MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel ( const ViewInfo cache_view,
const VirtualPixelMethod  virtual_pixel_method,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)

MagickExport MagickBooleanType GetOneCacheViewVirtualPixel ( const ViewInfo cache_view,
const long  x,
const long  y,
PixelPacket pixel,
ExceptionInfo exception 
)

MagickExport PixelPacket* QueueCacheViewAuthenticPixels ( ViewInfo cache_view,
const long  x,
const long  y,
const unsigned long  columns,
const unsigned long  rows,
ExceptionInfo exception 
)

MagickExport MagickBooleanType SetCacheViewStorageClass ( ViewInfo cache_view,
const ClassType  storage_class 
)

MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod ( ViewInfo cache_view,
const VirtualPixelMethod  virtual_pixel_method 
)

MagickExport MagickBooleanType SyncCacheViewAuthenticPixels ( ViewInfo cache_view,
ExceptionInfo exception 
)

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

References _ViewInfo::debug, _Image::filename, GetMagickModule, GetNexusInfoThreadId(), _ViewInfo::image, LogMagickEvent(), MagickFalse, MagickSignature, _ViewInfo::nexus_info, _ViewInfo::signature, SyncCacheNexus(), and TraceEvent.

Referenced by AdaptiveBlurImageChannel(), AdaptiveResizeImage(), AdaptiveSharpenImageChannel(), AdaptiveThresholdImage(), AddNoiseImageChannel(), AppendImages(), AssignImageColors(), AverageImages(), BilevelImageChannel(), BlackThresholdImageChannel(), BlurImageChannel(), ChopImage(), ClutImageChannel(), ColorizeImage(), CombineImages(), CompareImageChannels(), CompositeImageChannel(), ContrastImage(), ContrastStretchImageChannel(), CopyImageRegion(), CropImage(), CycleColormapImage(), DespeckleImage(), DistortImage(), DrawAffineImage(), DrawPolygonPrimitive(), DrawPrimitive(), EnhanceImage(), EqualizeImageChannel(), EvaluateImageChannel(), ExcerptImage(), FlipImage(), FlopImage(), FloydSteinbergDither(), FrameImage(), FxImageChannel(), GammaImageChannel(), HorizontalFilter(), ImplodeImage(), IntegralRotateImage(), LevelImageChannel(), LevelizeImageChannel(), MedianFilterImage(), ModulateImage(), MorphImages(), MotionBlurImageChannel(), NegateImageChannel(), NewMagickImage(), OilPaintImage(), OpaquePaintImageChannel(), OrderedPosterizeImageChannel(), PosterizeImage(), RadialBlurImageChannel(), RaiseImage(), RandomThresholdImageChannel(), RecolorImage(), ReduceNoiseImage(), RenderPostscript(), RGBTransformImage(), RiemersmaDither(), SeparateImageChannel(), SepiaToneImage(), SetGrayscaleImage(), SetImageBackgroundColor(), SetImageChannelDepth(), SetImageOpacity(), ShadeImage(), ShadowImage(), SigmoidalContrastImageChannel(), 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 Thu Nov 20 21:54:51 2008 for MagickCore by  doxygen 1.5.7.1