#include <time.h>#include "magick/random_.h"#include "magick/thread-private.h"#include "magick/semaphore.h"

Go to the source code of this file.
| typedef void* Cache |
Definition at line 39 of file cache-private.h.
| typedef struct _CacheInfo CacheInfo |
| typedef struct _CacheMethods CacheMethods |
| typedef void(* DestroyPixelHandler)(Image *) |
Definition at line 71 of file cache-private.h.
| typedef IndexPacket*(* GetAuthenticIndexesFromHandler)(const Image *) |
Definition at line 45 of file cache-private.h.
| typedef PixelPacket*(* GetAuthenticPixelsFromHandler)(const Image *) |
Definition at line 64 of file cache-private.h.
| typedef PixelPacket*(* GetAuthenticPixelsHandler)(Image *, const long, const long, const unsigned long, const unsigned long, ExceptionInfo *) |
Definition at line 60 of file cache-private.h.
| typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler)(Image *, const long, const long, PixelPacket *, ExceptionInfo *) |
Definition at line 48 of file cache-private.h.
| typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler)(const Image *, const VirtualPixelMethod, const long, const long, PixelPacket *, ExceptionInfo *) |
Definition at line 50 of file cache-private.h.
| typedef const IndexPacket*(* GetVirtualIndexesFromHandler)(const Image *) |
Definition at line 42 of file cache-private.h.
| typedef const PixelPacket*(* GetVirtualPixelHandler)(const Image *, const VirtualPixelMethod, const long, const long, const unsigned long, const unsigned long, ExceptionInfo *) |
Definition at line 55 of file cache-private.h.
| typedef const PixelPacket*(*) *(* GetVirtualPixelsHandler)(const Image *) |
Definition at line 57 of file cache-private.h.
| typedef struct _NexusInfo NexusInfo |
Definition at line 110 of file cache-private.h.
| typedef PixelPacket*(* QueueAuthenticPixelsHandler)(Image *, const long, const long, const unsigned long, const unsigned long, ExceptionInfo *) |
Definition at line 67 of file cache-private.h.
| typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler)(Image *, ExceptionInfo *) |
Definition at line 52 of file cache-private.h.
| enum CacheType |
Definition at line 30 of file cache-private.h.
| MagickExport Cache AcquirePixelCache | ( | const unsigned long | ) |
Referenced by AcquireImage(), ClonePixelCache(), and ReadStream().
| MagickExport NexusInfo** AcquirePixelCacheNexus | ( | const unsigned long | ) |
| MagickExport Cache ClonePixelCache | ( | const | Cache | ) |
Referenced by CloneImage(), GetImagePixelCache(), and PersistPixelCache().
| MagickExport void ClonePixelCacheMethods | ( | Cache | , | |
| const | Cache | |||
| ) |
Referenced by AcquireImage().
Referenced by DestroyImageInfo(), DestroyImagePixelCache(), GetImagePixelCache(), and PersistPixelCache().
Definition at line 1615 of file cache.c.
References MagickSignature, RelinquishAlignedMemory(), RelinquishCacheNexusPixels(), and _NexusInfo::signature.
Referenced by ClipPixelCacheNexus(), DestroyCacheView(), DestroyPixelCache(), DestroyPixelStream(), GetVirtualPixelsFromNexus(), and MaskPixelCacheNexus().
| MagickExport PixelPacket* GetAuthenticPixelCacheNexus | ( | Image * | , | |
| const | long, | |||
| const | long, | |||
| const unsigned long | , | |||
| const unsigned long | , | |||
| NexusInfo * | , | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport Cache GetImagePixelCache | ( | Image * | , | |
| const | MagickBooleanType, | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport ColorspaceType GetPixelCacheColorspace | ( | const | Cache | ) |
Definition at line 2541 of file cache.c.
References _CacheInfo::colorspace, _CacheInfo::debug, _CacheInfo::filename, GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, _CacheInfo::signature, and TraceEvent.
Referenced by QueueAuthenticPixelsStream().
| MagickExport void GetPixelCacheMethods | ( | CacheMethods * | ) |
Referenced by AcquirePixelCache(), and ReadStream().
| MagickExport MagickSizeType GetPixelCacheNexusExtent | ( | const | Cache, | |
| NexusInfo * | ||||
| ) |
Definition at line 2620 of file cache.c.
References _CacheInfo::columns, _RectangleInfo::height, MagickSignature, _NexusInfo::region, _CacheInfo::rows, _CacheInfo::signature, and _RectangleInfo::width.
Referenced by GetCacheViewExtent(), and GetImageExtent().
| MagickExport IndexPacket* GetPixelCacheNexusIndexes | ( | const | Cache, | |
| NexusInfo * | ||||
| ) |
Definition at line 2665 of file cache.c.
References _NexusInfo::indexes, MagickSignature, _CacheInfo::signature, _CacheInfo::storage_class, and UndefinedClass.
Referenced by ClipPixelCacheNexus(), GetAuthenticIndexesFromCache(), GetCacheViewAuthenticIndexQueue(), GetVirtualPixelsFromNexus(), and MaskPixelCacheNexus().
| MagickExport PixelPacket* * GetPixelCacheNexusPixels | ( | const | Cache, | |
| NexusInfo * | ||||
| ) |
Referenced by GetAuthenticPixelsFromCache(), and GetCacheViewAuthenticPixelQueue().
| MagickExport ClassType GetPixelCacheStorageClass | ( | const | Cache | ) |
Definition at line 2748 of file cache.c.
References _CacheInfo::debug, _CacheInfo::filename, GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, _CacheInfo::signature, _CacheInfo::storage_class, and TraceEvent.
Referenced by QueueAuthenticPixelsStream().
| MagickExport void GetPixelCacheTileSize | ( | const Image * | , | |
| unsigned long * | , | |||
| unsigned long * | ||||
| ) |
Referenced by IntegralRotateImage().
Definition at line 2830 of file cache.c.
References _Image::cache, _Image::debug, _Image::filename, GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, _CacheInfo::signature, _Image::signature, TraceEvent, and _CacheInfo::type.
Referenced by GetPixelCacheTileSize().
| MagickExport const IndexPacket* GetVirtualIndexesFromNexus | ( | const | Cache, | |
| NexusInfo * | ||||
| ) |
Definition at line 2953 of file cache.c.
References _NexusInfo::indexes, MagickSignature, _CacheInfo::signature, _CacheInfo::storage_class, and UndefinedClass.
Referenced by GetCacheViewVirtualIndexQueue(), GetVirtualIndexesFromCache(), and GetVirtualPixelsFromNexus().
| MagickExport const PixelPacket* GetVirtualPixelsFromNexus | ( | const Image * | , | |
| const | VirtualPixelMethod, | |||
| const | long, | |||
| const | long, | |||
| const unsigned long | , | |||
| const unsigned long | , | |||
| NexusInfo * | , | |||
| ExceptionInfo * | ||||
| ) |
| MagickExport const PixelPacket* * GetVirtualPixelsNexus | ( | const | Cache, | |
| NexusInfo * | ||||
| ) |
Definition at line 3685 of file cache.c.
References MagickSignature, _NexusInfo::pixels, _CacheInfo::signature, _CacheInfo::storage_class, and UndefinedClass.
Referenced by GetCacheViewVirtualPixelQueue(), and GetVirtualPixelsCache().
| MagickExport PixelPacket* * * QueueAuthenticNexus | ( | Image * | , | |
| const | long, | |||
| const | long, | |||
| const unsigned | long, | |||
| const unsigned | long, | |||
| NexusInfo * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 4273 of file cache.c.
References _Image::cache, CacheError, _CacheInfo::columns, _Image::filename, GetMagickModule, _RectangleInfo::height, _CacheInfo::rows, SetPixelCacheNexusPixels(), ThrowMagickException(), _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by GetAuthenticPixelCacheNexus(), QueueAuthenticPixelsCache(), and QueueCacheViewAuthenticPixels().
Definition at line 4734 of file cache.c.
References _CacheInfo::debug, _CacheInfo::filename, GetMagickModule, LockSemaphoreInfo(), LogMagickEvent(), MagickFalse, MagickSignature, _CacheInfo::reference_count, _CacheInfo::semaphore, _CacheInfo::signature, TraceEvent, and UnlockSemaphoreInfo().
Referenced by CloneImage(), CloneImageInfo(), and PersistPixelCache().
| MagickExport void SetPixelCacheMethods | ( | Cache | , | |
| CacheMethods * | ||||
| ) |
Definition at line 4775 of file cache.c.
References _CacheInfo::debug, _CacheMethods::destroy_pixel_handler, _CacheInfo::filename, _CacheMethods::get_authentic_indexes_from_handler, _CacheMethods::get_authentic_pixels_from_handler, _CacheMethods::get_authentic_pixels_handler, _CacheMethods::get_one_authentic_pixel_from_handler, _CacheMethods::get_one_virtual_pixel_from_handler, _CacheMethods::get_virtual_indexes_from_handler, _CacheMethods::get_virtual_pixel_handler, GetMagickModule, LogMagickEvent(), MagickFalse, MagickSignature, _CacheInfo::methods, _CacheMethods::queue_authentic_pixels_handler, _CacheInfo::signature, _CacheMethods::sync_authentic_pixels_handler, and TraceEvent.
Referenced by ReadStream().
| MagickExport MagickBooleanType SyncAuthenticPixelCacheNexus | ( | Image * | , | |
| NexusInfo * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 5040 of file cache.c.
References _CacheInfo::active_index_channel, _Image::cache, CacheError, _Image::clip_mask, ClipPixelCacheNexus(), _Image::debug, _Image::filename, GetMagickModule, IsNexusInCore(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _Image::mask, MaskPixelCacheNexus(), _CacheInfo::signature, _Image::signature, ThrowBinaryException, TraceEvent, _CacheInfo::type, UndefinedCache, WritePixelCacheIndexes(), and WritePixelCachePixels().
Referenced by SyncAuthenticPixelsCache(), and SyncCacheViewAuthenticPixels().
1.6.1