MagickCore
6.9.10
Convert, Edit, Or Compose Bitmap Images
|
#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 |
typedef struct _CacheInfo CacheInfo |
typedef struct _CacheMethods CacheMethods |
typedef void(* DestroyPixelHandler) (Image *) |
typedef IndexPacket*(* GetAuthenticIndexesFromHandler) (const Image *) |
typedef PixelPacket*(* GetAuthenticPixelsFromHandler) (const Image *) |
typedef PixelPacket*(* GetAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler) (Image *, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *) |
typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *) |
typedef const IndexPacket*(* GetVirtualIndexesFromHandler) (const Image *) |
typedef const PixelPacket*(* GetVirtualPixelHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) |
typedef const PixelPacket*(*) *(* GetVirtualPixelsHandler) (const Image *) |
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 *) |
typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler) (Image *, ExceptionInfo *) |
MagickExport Cache AcquirePixelCache | ( | const size_t | ) |
Referenced by AcquireImage(), ClonePixelCache(), 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 ** | , |
const size_t | |||
) |
References MagickCoreSignature, RelinquishAlignedMemory(), RelinquishCacheNexusPixels(), RelinquishMagickMemory(), and _NexusInfo::signature.
Referenced by ClipPixelCacheNexus(), ClonePixelCacheRepository(), DestroyCacheView(), DestroyPixelCache(), DestroyPixelStream(), GetVirtualPixelsFromNexus(), 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 | ) |
References GetMagickModule, LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewChannels().
MagickExport ColorspaceType GetPixelCacheColorspace | ( | const Cache | ) |
References GetMagickModule, LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewColorspace(), and QueueAuthenticPixelsStream().
MagickExport void GetPixelCacheMethods | ( | CacheMethods * | ) |
Referenced by ReadStream().
MagickExport MagickSizeType GetPixelCacheNexusExtent | ( | const Cache | , |
NexusInfo * | |||
) |
References _RectangleInfo::height, magick_restrict, MagickCoreSignature, _NexusInfo::region, and _RectangleInfo::width.
Referenced by GetCacheViewExtent(), and GetImageExtent().
MagickExport ClassType GetPixelCacheStorageClass | ( | const Cache | ) |
References GetMagickModule, LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, and TraceEvent.
Referenced by GetCacheViewStorageClass(), and QueueAuthenticPixelsStream().
MagickExport void GetPixelCacheTileSize | ( | const Image * | , |
size_t * | , | ||
size_t * | |||
) |
Referenced by IntegralRotateImage().
MagickExport CacheType GetPixelCacheType | ( | const Image * | ) |
References GetImagePixelCacheType().
MagickExport const IndexPacket* GetVirtualIndexesFromNexus | ( | const Cache | , |
NexusInfo * | |||
) |
MagickExport const PixelPacket* GetVirtualPixelsFromNexus | ( | 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 * | |||
) |
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 * | , |
const ssize_t | , | ||
const ssize_t | , | ||
const size_t | , | ||
const size_t | , | ||
const MagickBooleanType | , | ||
NexusInfo * | , | ||
ExceptionInfo * | |||
) |
References _Image::cache, CacheError, _Image::clip_mask, _Image::filename, GetImagePixelCache(), GetMagickModule, _RectangleInfo::height, magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::mask, SetPixelCacheNexusPixels(), _Image::signature, ThrowMagickException(), _RectangleInfo::width, WriteMode, _RectangleInfo::x, and _RectangleInfo::y.
Referenced by GetAuthenticPixelCacheNexus(), QueueAuthenticPixel(), QueueAuthenticPixels(), QueueAuthenticPixelsCache(), and QueueCacheViewAuthenticPixels().
MagickExport Cache ReferencePixelCache | ( | Cache | ) |
References LockSemaphoreInfo(), magick_restrict, MagickCoreSignature, and UnlockSemaphoreInfo().
Referenced by CloneImage(), and CloneImageInfo().
MagickPrivate void ResetPixelCacheEpoch | ( | void | ) |
Referenced by SetMagickResourceLimit().
MagickExport void SetPixelCacheMethods | ( | Cache | , |
CacheMethods * | |||
) |
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, 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 * | , |
ExceptionInfo * | |||
) |