|
MagickCore
6.7.5
|
#include <time.h>#include "MagickCore/random_.h"#include "MagickCore/thread-private.h"#include "MagickCore/semaphore.h"

Go to the source code of this file.
| typedef void* Cache |
Definition at line 40 of file cache-private.h.
| typedef struct _CacheInfo CacheInfo |
| typedef struct _CacheMethods CacheMethods |
| typedef void(* DestroyPixelHandler)(Image *) |
Definition at line 69 of file cache-private.h.
| typedef void*(* GetAuthenticMetacontentFromHandler)(const Image *) |
Definition at line 72 of file cache-private.h.
| typedef Quantum*(* GetAuthenticPixelsFromHandler)(const Image *) |
Definition at line 62 of file cache-private.h.
| typedef Quantum*(* GetAuthenticPixelsHandler)(Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 58 of file cache-private.h.
| typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler)(Image *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *) |
Definition at line 43 of file cache-private.h.
| typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler)(const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *) |
Definition at line 45 of file cache-private.h.
| typedef const void*(* GetVirtualMetacontentFromHandler)(const Image *) |
Definition at line 55 of file cache-private.h.
| typedef const Quantum*(* GetVirtualPixelHandler)(const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 50 of file cache-private.h.
| typedef const Quantum*(*) *(* GetVirtualPixelsHandler)(const Image *) |
Definition at line 52 of file cache-private.h.
| typedef struct _NexusInfo NexusInfo |
Definition at line 110 of file cache-private.h.
| typedef Quantum*(* QueueAuthenticPixelsHandler)(Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 65 of file cache-private.h.
| typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler)(Image *, ExceptionInfo *) |
Definition at line 47 of file cache-private.h.
| enum CacheType |
Definition at line 30 of file cache-private.h.
| MagickPrivate Cache AcquirePixelCache | ( | const size_t | ) |
Referenced by ClonePixelCache(), AcquireImage(), and ReadStream().
| MagickPrivate NexusInfo** AcquirePixelCacheNexus | ( | const size_t | ) |
Referenced by AcquireCacheView(), CloneCacheView(), AcquirePixelCache(), and GetVirtualPixelsFromNexus().
| MagickPrivate const void* AcquirePixelCachePixels | ( | const Image * | , |
| MagickSizeType * | , | ||
| ExceptionInfo * | |||
| ) |
Referenced by AccelerateConvolveImage().
| MagickPrivate MagickBooleanType CacheComponentGenesis | ( | void | ) |
Referenced by MagickCoreGenesis().
| MagickPrivate void CacheComponentTerminus | ( | void | ) |
Referenced by MagickCoreTerminus().
Referenced by GetImagePixelCache(), PersistPixelCache(), and CloneImage().
Referenced by AcquireImage().
Referenced by DestroyImagePixelCache(), DestroyImagePixels(), GetImagePixelCache(), PersistPixelCache(), and DestroyImageInfo().
Definition at line 1331 of file cache.c.
References RelinquishCacheNexusPixels(), _NexusInfo::signature, MagickSignature, and RelinquishMagickMemory().
Referenced by DestroyCacheView(), DestroyPixelCache(), GetVirtualPixelsFromNexus(), and DestroyPixelStream().
| MagickPrivate Quantum* GetAuthenticPixelCacheNexus | ( | Image * | , |
| const ssize_t | , | ||
| const ssize_t | , | ||
| const size_t | , | ||
| const size_t | , | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
| MagickPrivate size_t GetPixelCacheChannels | ( | const Cache | ) |
| MagickPrivate ColorspaceType GetPixelCacheColorspace | ( | const Cache | ) |
Definition at line 2353 of file cache.c.
References _CacheInfo::signature, MagickSignature, _CacheInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _CacheInfo::filename, and _CacheInfo::colorspace.
Referenced by GetCacheViewColorspace(), and QueueAuthenticPixelsStream().
| MagickPrivate void GetPixelCacheMethods | ( | CacheMethods * | ) |
Referenced by ReadStream().
| MagickPrivate MagickSizeType GetPixelCacheNexusExtent | ( | const Cache | , |
| NexusInfo * | |||
| ) |
Definition at line 2434 of file cache.c.
References _CacheInfo::signature, MagickSignature, _NexusInfo::region, _RectangleInfo::width, _RectangleInfo::height, _CacheInfo::columns, and _CacheInfo::rows.
Referenced by GetCacheViewExtent(), and GetImageExtent().
Referenced by GetCacheViewAuthenticPixelQueue(), GetAuthenticPixelsFromCache(), and GetAuthenticPixelQueue().
| MagickPrivate void * GetPixelCachePixels | ( | Image * | , |
| MagickSizeType * | , | ||
| ExceptionInfo * | |||
| ) |
Referenced by AccelerateConvolveImage().
Definition at line 2604 of file cache.c.
References _CacheInfo::signature, MagickSignature, _CacheInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _CacheInfo::filename, and _CacheInfo::storage_class.
Referenced by GetCacheViewStorageClass(), and QueueAuthenticPixelsStream().
| MagickPrivate void GetPixelCacheTileSize | ( | const Image * | , |
| size_t * | , | ||
| size_t * | |||
| ) |
Referenced by IntegralRotateImage().
Definition at line 2685 of file cache.c.
References _Image::signature, MagickSignature, _Image::cache, _CacheInfo::signature, and _CacheInfo::type.
Referenced by GetPixelCacheTileSize().
| MagickPrivate VirtualPixelMethod GetPixelCacheVirtualMethod | ( | const Image * | ) |
Referenced by GetOneVirtualPixel(), GetVirtualPixels(), and GetImageVirtualPixelMethod().
Definition at line 2806 of file cache.c.
References _CacheInfo::signature, MagickSignature, _CacheInfo::storage_class, UndefinedClass, and _NexusInfo::metacontent.
Referenced by GetCacheViewVirtualMetacontent(), GetVirtualMetacontentFromCache(), GetVirtualMetacontent(), and GetVirtualPixelsFromNexus().
| MagickPrivate const Quantum* GetVirtualPixelsFromNexus | ( | const Image * | , |
| const VirtualPixelMethod | , | ||
| const ssize_t | , | ||
| const ssize_t | , | ||
| const size_t | , | ||
| const size_t | , | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 3621 of file cache.c.
References _CacheInfo::signature, MagickSignature, _CacheInfo::storage_class, UndefinedClass, and _NexusInfo::pixels.
Referenced by GetCacheViewVirtualPixelQueue(), GetVirtualPixelQueue(), and GetVirtualPixelsCache().
| MagickPrivate Quantum * QueueAuthenticPixelCacheNexus | ( | Image * | , |
| const ssize_t | , | ||
| const ssize_t | , | ||
| const size_t | , | ||
| const size_t | , | ||
| const MagickBooleanType | , | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 4123 of file cache.c.
References _Image::signature, MagickSignature, _Image::cache, GetImagePixelCache(), _CacheInfo::signature, _CacheInfo::columns, _CacheInfo::rows, ThrowMagickException(), GetMagickModule, CacheError, _Image::filename, _RectangleInfo::x, _RectangleInfo::y, _RectangleInfo::width, _RectangleInfo::height, and SetPixelCacheNexusPixels().
Referenced by QueueCacheViewAuthenticPixels(), GetAuthenticPixelCacheNexus(), QueueAuthenticPixelsCache(), and QueueAuthenticPixels().
Definition at line 4613 of file cache.c.
References _CacheInfo::signature, MagickSignature, LockSemaphoreInfo(), _CacheInfo::semaphore, _CacheInfo::reference_count, and UnlockSemaphoreInfo().
Referenced by PersistPixelCache(), CloneImage(), and CloneImageInfo().
| MagickPrivate void SetPixelCacheMethods | ( | Cache | , |
| CacheMethods * | |||
| ) |
Definition at line 4651 of file cache.c.
References _CacheInfo::signature, MagickSignature, _CacheInfo::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _CacheInfo::filename, _CacheMethods::get_virtual_pixel_handler, _CacheInfo::methods, _CacheMethods::destroy_pixel_handler, _CacheMethods::get_virtual_metacontent_from_handler, _CacheMethods::get_authentic_pixels_handler, _CacheMethods::queue_authentic_pixels_handler, _CacheMethods::sync_authentic_pixels_handler, _CacheMethods::get_authentic_pixels_from_handler, _CacheMethods::get_authentic_metacontent_from_handler, _CacheMethods::get_one_virtual_pixel_from_handler, and _CacheMethods::get_one_authentic_pixel_from_handler.
Referenced by ReadStream().
| MagickPrivate VirtualPixelMethod SetPixelCacheVirtualMethod | ( | const Image * | , |
| const VirtualPixelMethod | |||
| ) |
Definition at line 4887 of file cache.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::cache, _CacheInfo::signature, and _CacheInfo::virtual_pixel_method.
Referenced by SetImageVirtualPixelMethod().
| MagickPrivate MagickBooleanType SyncAuthenticPixelCacheNexus | ( | Image * | , |
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
Referenced by SyncCacheViewAuthenticPixels(), SyncAuthenticPixelsCache(), and SyncAuthenticPixels().
| MagickPrivate MagickBooleanType SyncImagePixelCache | ( | Image * | , |
| ExceptionInfo * | |||
| ) |
Definition at line 5101 of file cache.c.
References GetImagePixelCache(), MagickTrue, and MagickFalse.
Referenced by SetImageColorspace(), SetImageAlphaChannel(), SetImageStorageClass(), and SetImageExtent().