|
MagickCore 6.9.12
|
#include <time.h>#include "magick/cache.h"#include "magick/distribute-cache.h"#include "magick/opencl-private.h"#include "magick/random_.h"#include "magick/thread-private.h"#include "magick/semaphore.h"Go to the source code of this file.
Data Structures | |
| struct | _CacheMethods |
| struct | _NexusInfo |
| struct | _OpenCLCacheInfo |
| struct | _CacheInfo |
| typedef void* Cache |
Definition at line 34 of file cache-private.h.
| typedef struct _CacheInfo CacheInfo |
| typedef struct _CacheMethods CacheMethods |
| typedef void(* DestroyPixelHandler) (Image *) |
Definition at line 65 of file cache-private.h.
| typedef IndexPacket *(* GetAuthenticIndexesFromHandler) (const Image *) |
Definition at line 39 of file cache-private.h.
| typedef PixelPacket *(* GetAuthenticPixelsFromHandler) (const Image *) |
Definition at line 58 of file cache-private.h.
| typedef PixelPacket *(* GetAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 54 of file cache-private.h.
| typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler) (Image *, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *) |
Definition at line 42 of file cache-private.h.
| typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *) |
Definition at line 42 of file cache-private.h.
| typedef const IndexPacket *(* GetVirtualIndexesFromHandler) (const Image *) |
Definition at line 36 of file cache-private.h.
| typedef const PixelPacket *(* GetVirtualPixelHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 49 of file cache-private.h.
| typedef const PixelPacket *(*) *(* GetVirtualPixelsHandler) (const Image *) |
Definition at line 49 of file cache-private.h.
| typedef struct _NexusInfo NexusInfo |
| typedef struct _OpenCLCacheInfo OpenCLCacheInfo |
| typedef PixelPacket *(* QueueAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
Definition at line 61 of file cache-private.h.
| typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler) (Image *, ExceptionInfo *) |
Definition at line 42 of file cache-private.h.
| MagickExport Cache AcquirePixelCache | ( | const | size_t | ) |
Referenced by AcquireImage(), and ReadStream().
| MagickExport NexusInfo ** AcquirePixelCacheNexus | ( | const | size_t | ) |
Referenced by AcquireVirtualCacheView(), and CloneCacheView().
| MagickExport Cache ClonePixelCache | ( | const | Cache | ) |
Referenced by CloneImage().
| MagickExport void ClonePixelCacheMethods | ( | Cache | , |
| const | Cache | ||
| ) |
Referenced by AcquireImage().
| MagickExport Cache DestroyPixelCache | ( | Cache | ) |
Referenced by DestroyImageInfo().
| MagickExport NexusInfo ** DestroyPixelCacheNexus | ( | NexusInfo ** | nexus_info, |
| const | size_t | ||
| ) |
Definition at line 1252 of file cache.c.
References RelinquishAlignedMemory(), RelinquishCacheNexusPixels(), RelinquishMagickMemory(), and _NexusInfo::signature.
Referenced by ClipPixelCacheNexus(), ClonePixelCacheRepository(), DestroyCacheView(), DestroyPixelCache(), DestroyPixelStream(), and MaskPixelCacheNexus().
| MagickExport PixelPacket * GetAuthenticPixelCacheNexus | ( | Image * | , |
| const | ssize_t, | ||
| const | ssize_t, | ||
| const | size_t, | ||
| const | size_t, | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
Referenced by GetCacheViewAuthenticPixels(), and GetOneCacheViewAuthenticPixel().
| MagickExport size_t GetPixelCacheChannels | ( | const | Cache | ) |
Definition at line 2383 of file cache.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewChannels().
| MagickExport ColorspaceType GetPixelCacheColorspace | ( | const | Cache | ) |
Definition at line 2419 of file cache.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewColorspace().
| MagickExport void GetPixelCacheMethods | ( | CacheMethods * | ) |
Referenced by ReadStream().
| MagickExport MagickSizeType GetPixelCacheNexusExtent | ( | const | Cache, |
| NexusInfo * | nexus_info | ||
| ) |
Definition at line 2534 of file cache.c.
References _RectangleInfo::height, magick_restrict, MagickCoreSignature, _NexusInfo::region, and _RectangleInfo::width.
Referenced by GetCacheViewExtent(), and GetImageExtent().
| MagickExport ClassType GetPixelCacheStorageClass | ( | const | Cache | ) |
Definition at line 2624 of file cache.c.
References GetMagickModule, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewStorageClass().
| MagickExport void GetPixelCacheTileSize | ( | const Image * | , |
| size_t * | , | ||
| size_t * | |||
| ) |
Referenced by IntegralRotateImage().
| MagickExport CacheType GetPixelCacheType | ( | const Image * | image | ) |
Definition at line 1973 of file cache.c.
References GetImagePixelCacheType().
| MagickExport const IndexPacket * GetVirtualIndexesFromNexus | ( | const | Cache, |
| NexusInfo * | nexus_info | ||
| ) |
Definition at line 2781 of file cache.c.
References _NexusInfo::indexes, magick_restrict, MagickCoreSignature, and UndefinedClass.
Referenced by GetCacheViewVirtualIndexQueue(), GetOneVirtualMagickPixel(), GetVirtualIndexesFromCache(), GetVirtualIndexQueue(), and GetVirtualPixelCacheNexus().
| MagickExport const PixelPacket * GetVirtualPixelCacheNexus | ( | const Image * | , |
| const | VirtualPixelMethod, | ||
| const | ssize_t, | ||
| const | ssize_t, | ||
| const | size_t, | ||
| const | size_t, | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
Referenced by GetCacheViewVirtualPixels(), GetOneCacheViewVirtualMethodPixel(), and GetOneCacheViewVirtualPixel().
| MagickExport const PixelPacket * GetVirtualPixelsNexus | ( | const | Cache, |
| NexusInfo * | nexus_info | ||
| ) |
Definition at line 3544 of file cache.c.
References magick_restrict, MagickCoreSignature, _NexusInfo::pixels, and UndefinedClass.
Referenced by GetCacheViewVirtualPixelQueue(), GetVirtualPixelQueue(), and GetVirtualPixelsCache().
| MagickExport PixelPacket * QueueAuthenticPixel | ( | Image * | , |
| const | ssize_t, | ||
| const | ssize_t, | ||
| const | size_t, | ||
| const | size_t, | ||
| const | MagickBooleanType, | ||
| NexusInfo * | , | ||
| ExceptionInfo * | |||
| ) |
| MagickExport PixelPacket * QueueAuthenticPixelCacheNexus | ( | Image * | image, |
| const | ssize_t, | ||
| const | ssize_t, | ||
| const | size_t, | ||
| const | size_t, | ||
| const | MagickBooleanType, | ||
| NexusInfo * | nexus_info, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4369 of file cache.c.
References _Image::cache, CacheError, _Image::clip_mask, _Image::filename, GetImagePixelCache(), GetMagickModule, magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::mask, SetPixelCacheNexusPixels(), _Image::signature, ThrowMagickException(), and WriteMode.
Referenced by GetAuthenticPixelCacheNexus(), QueueAuthenticPixel(), QueueAuthenticPixels(), QueueAuthenticPixelsCache(), and QueueCacheViewAuthenticPixels().
| MagickExport Cache ReferencePixelCache | ( | Cache | cache | ) |
Definition at line 4949 of file cache.c.
References LockSemaphoreInfo(), magick_restrict, MagickCoreSignature, and UnlockSemaphoreInfo().
Referenced by CloneImage(), and CloneImageInfo().
| MagickPrivate void ResetPixelCacheEpoch | ( | void | ) |
Definition at line 4981 of file cache.c.
References cache_epoch.
Referenced by SetMagickResourceLimit().
| MagickExport void SetPixelCacheMethods | ( | Cache | cache, |
| CacheMethods * | cache_methods | ||
| ) |
Definition at line 5010 of file cache.c.
References _CacheMethods::destroy_pixel_handler, _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, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, _CacheMethods::queue_authentic_pixels_handler, _CacheMethods::sync_authentic_pixels_handler, and TraceEvent.
Referenced by ReadStream().
| MagickExport MagickBooleanType SyncAuthenticPixelCacheNexus | ( | Image * | , |
| NexusInfo * | magick_restrict, | ||
| ExceptionInfo * | |||
| ) |
Referenced by SyncCacheViewAuthenticPixels().
| MagickPrivate MagickBooleanType SyncImagePixelCache | ( | Image * | image, |
| ExceptionInfo * | exception | ||
| ) |
Definition at line 5689 of file cache.c.
References GetImagePixelCache(), magick_restrict, MagickFalse, and MagickTrue.
Referenced by OpenDistributeCache(), SetImageAlphaChannel(), SetImageColorspace(), SetImageExtent(), SetImageGray(), SetImageMonochrome(), and SetImageStorageClass().