MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
Go to the documentation of this file.
18 #ifndef MAGICKCORE_CACHE_VIEW_H
19 #define MAGICKCORE_CACHE_VIEW_H
23 #if defined(__cplusplus) || defined(c_plusplus)
107 #if defined(__cplusplus) || defined(c_plusplus)
MagickExport PixelPacket * QueueAuthenticPixelCacheNexus(Image *, const ssize_t, const ssize_t, const size_t, const size_t, const MagickBooleanType, NexusInfo *, ExceptionInfo *) magick_hot_spot
Definition: cache.c:4348
MagickExport CacheView * CloneCacheView(const CacheView *)
#define MagickExport
Definition: method-attribute.h:80
MagickBooleanType debug
Definition: image.h:290
char filename[MaxTextExtent]
Definition: image.h:278
PixelPacket background_color
Definition: image.h:181
MagickExport ClassType GetPixelCacheStorageClass(const Cache)
Definition: cache.c:2613
MagickExport void * RelinquishAlignedMemory(void *memory)
Definition: memory.c:1040
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
#define magick_unreferenced(x)
Definition: method-attribute.h:106
#define GetMagickModule()
Definition: log.h:29
VirtualPixelMethod
Definition: cache-view.h:27
MagickExport CacheView * DestroyCacheView(CacheView *cache_view)
Definition: cache-view.c:256
@ HorizontalTileVirtualPixelMethod
Definition: cache-view.h:42
IndexPacket * indexes
Definition: cache-private.h:123
#define MagickCoreSignature
Definition: method-attribute.h:86
MagickExport ClassType GetCacheViewStorageClass(const CacheView *cache_view)
Definition: cache-view.c:434
Definition: cache-private.h:104
@ WhiteVirtualPixelMethod
Definition: cache-view.h:41
MagickExport PixelPacket * QueueCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache-view.c:883
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:473
#define magick_restrict
Definition: MagickCore.h:41
MagickExport ExceptionInfo * GetCacheViewException(const CacheView *cache_view)
Definition: cache-view.c:361
MagickExport size_t GetCacheViewChannels(const CacheView *)
Definition: cache-view.c:295
MagickExport MagickBooleanType SyncAuthenticPixelCacheNexus(Image *, NexusInfo *magick_restrict, ExceptionInfo *) magick_hot_spot
MagickExport Image * ReferenceImage(Image *image)
Definition: image.c:2176
size_t number_threads
Definition: cache-view.c:74
MagickExport size_t GetPixelCacheChannels(const Cache)
Definition: cache.c:2372
size_t MagickSizeType
Definition: magick-type.h:136
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:256
Quantum IndexPacket
Definition: pixel.h:129
MagickExport VirtualPixelMethod GetImageVirtualPixelMethod(const Image *image)
Definition: image.c:1630
const MagickExport IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *cache_view)
Definition: cache-view.c:638
@ CheckerTileVirtualPixelMethod
Definition: cache-view.h:46
const MagickExport PixelPacket * GetCacheViewVirtualPixels(const CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *cache_view, const ClassType storage_class)
Definition: cache-view.c:923
Definition: cache-view.c:65
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *magick_restrict cache_view, const ssize_t x, const ssize_t y, PixelPacket *magick_restrict pixel, ExceptionInfo *exception)
Definition: cache-view.c:518
MagickExport NexusInfo ** AcquirePixelCacheNexus(const size_t)
MagickExport NexusInfo ** DestroyPixelCacheNexus(NexusInfo **, const size_t)
Definition: cache.c:1242
NexusInfo ** nexus_info
Definition: cache-view.c:77
@ EdgeVirtualPixelMethod
Definition: cache-view.h:33
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *)
Definition: cache-view.c:395
@ MagickTrue
Definition: magick-type.h:194
MagickExport PixelPacket * QueueCacheViewAuthenticPixels(CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:883
@ VerticalTileVirtualPixelMethod
Definition: cache-view.h:43
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict cache_view, ExceptionInfo *exception)
Definition: cache-view.c:1000
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *cache_view)
Definition: cache-view.c:395
@ HorizontalTileEdgeVirtualPixelMethod
Definition: cache-view.h:44
@ TraceEvent
Definition: log.h:38
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict cache_view, const VirtualPixelMethod virtual_pixel_method)
Definition: cache-view.c:960
MagickExport ColorspaceType GetPixelCacheColorspace(const Cache)
Definition: cache.c:2408
@ GrayVirtualPixelMethod
Definition: cache-view.h:40
MagickExport CacheView * AcquireCacheView(const Image *image)
Definition: cache-view.c:148
MagickExport PixelPacket * GetAuthenticPixelCacheNexus(Image *, const ssize_t, const ssize_t, const size_t, const size_t, NexusInfo *, ExceptionInfo *) magick_hot_spot
@ CacheFatalError
Definition: exception.h:87
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *cache_view)
Definition: cache-view.c:564
MagickExport CacheView * AcquireAuthenticCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:111
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
size_t signature
Definition: cache-view.c:83
@ MirrorVirtualPixelMethod
Definition: cache-view.h:34
ColorspaceType
Definition: colorspace.h:25
MagickBooleanType debug
Definition: cache-view.c:80
#define MagickAssumeAligned(address)
Definition: memory-private.h:43
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:564
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
ExceptionInfo exception
Definition: image.h:287
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
static size_t GetOpenMPMaximumThreads(void)
Definition: thread-private.h:111
VirtualPixelMethod virtual_pixel_method
Definition: cache-view.c:71
void * cache
Definition: image.h:268
@ MagickFalse
Definition: magick-type.h:193
MagickExport MagickBooleanType IsEventLogging(void)
Definition: log.c:716
const MagickExport PixelPacket * GetVirtualPixelCacheNexus(const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, NexusInfo *, ExceptionInfo *) magick_hot_spot
const MagickExport PixelPacket * GetCacheViewVirtualPixelQueue(const CacheView *cache_view)
Definition: cache-view.c:677
MagickExport ClassType GetCacheViewStorageClass(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:434
MagickExport size_t GetCacheViewChannels(const CacheView *cache_view)
Definition: cache-view.c:295
MagickExport void * AcquireAlignedMemory(const size_t count, const size_t quantum)
Definition: memory.c:243
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
@ DitherVirtualPixelMethod
Definition: cache-view.h:32
MagickExport PixelPacket * GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *, const ClassType)
const MagickExport PixelPacket * GetCacheViewVirtualPixels(const CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:723
MagickExport ExceptionInfo * GetCacheViewException(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:361
MagickExport MagickBooleanType magick_attribute((deprecated))
Image * image
Definition: cache-view.c:68
size_t signature
Definition: image.h:307
@ UndefinedVirtualPixelMethod
Definition: cache-view.h:29
MagickBooleanType
Definition: magick-type.h:191
MagickExport ColorspaceType GetCacheViewColorspace(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:328
Definition: exception.h:102
void * Cache
Definition: cache-private.h:34
@ BlackVirtualPixelMethod
Definition: cache-view.h:39
MagickExport CacheView * CloneCacheView(const CacheView *cache_view)
Definition: cache-view.c:209
const MagickExport PixelPacket * GetVirtualPixelsNexus(const Cache, NexusInfo *)
Definition: cache.c:3544
MagickExport CacheView * AcquireAuthenticCacheView(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict, const VirtualPixelMethod)
MagickExport CacheView * AcquireVirtualCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:153
MagickExport ColorspaceType GetCacheViewColorspace(const CacheView *cache_view)
Definition: cache-view.c:328
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1188
@ TransparentVirtualPixelMethod
Definition: cache-view.h:37
PixelPacket * pixels
Definition: cache-private.h:117
@ TileVirtualPixelMethod
Definition: cache-view.h:36
@ ThreadResource
Definition: resource_.h:33
MagickExport CacheView * AcquireVirtualCacheView(const Image *, ExceptionInfo *)
MagickExport MagickSizeType GetPixelCacheNexusExtent(const Cache, NexusInfo *)
Definition: cache.c:2523
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *magick_restrict cache_view, const ssize_t x, const ssize_t y, PixelPacket *magick_restrict pixel, ExceptionInfo *exception)
Definition: cache-view.c:770
@ ConstantVirtualPixelMethod
Definition: cache-view.h:31
#define ThrowFatalException(severity, tag)
Definition: exception-private.h:42
MagickExport MagickBooleanType SetImageStorageClass(Image *image, const ClassType storage_class)
Definition: image.c:2611
const MagickExport IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:638
MagickExport MagickBooleanType LogMagickEvent(const LogEventType type, const char *module, const char *function, const size_t line, const char *format,...)
Definition: log.c:1399
const MagickExport IndexPacket * GetVirtualIndexesFromNexus(const Cache, NexusInfo *)
Definition: cache.c:2770
#define magick_hot_spot
Definition: method-attribute.h:122
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView *cache_view, const VirtualPixelMethod virtual_pixel_method, const ssize_t x, const ssize_t y, PixelPacket *pixel, ExceptionInfo *exception)
Definition: cache-view.c:829
@ RandomVirtualPixelMethod
Definition: cache-view.h:35
@ MaskVirtualPixelMethod
Definition: cache-view.h:38
@ BackgroundVirtualPixelMethod
Definition: cache-view.h:30
@ ResourceLimitFatalError
Definition: exception.h:78
ClassType
Definition: magick-type.h:184
MagickExport PixelPacket * GetCacheViewAuthenticPixelQueue(CacheView *cache_view)
Definition: cache-view.c:601
const MagickExport PixelPacket * GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot
Definition: cache-view.c:677
MagickExport CacheView * AcquireCacheView(const Image *)
MagickExport MagickSizeType GetMagickResourceLimit(const ResourceType type)
Definition: resource.c:771
@ VerticalTileEdgeVirtualPixelMethod
Definition: cache-view.h:45
static int GetOpenMPThreadId(void)
Definition: thread-private.h:120