MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
cache-private.h File Reference
Include dependency graph for cache-private.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _CacheMethods
 
struct  _NexusInfo
 
struct  _CacheInfo
 

Typedefs

typedef void * Cache
 
typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler) (Image *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
 
typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
 
typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler) (Image *, ExceptionInfo *)
 
typedef const Quantum *(* GetVirtualPixelHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
typedef const Quantum *(*) *(* GetVirtualPixelsHandler) (const Image *)
 
typedef const void *(* GetVirtualMetacontentFromHandler) (const Image *)
 
typedef Quantum *(* GetAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
typedef Quantum *(* GetAuthenticPixelsFromHandler) (const Image *)
 
typedef Quantum *(* QueueAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
typedef void(* DestroyPixelHandler) (Image *)
 
typedef void *(* GetAuthenticMetacontentFromHandler) (const Image *)
 
typedef struct _CacheMethods CacheMethods
 
typedef struct _NexusInfo NexusInfo
 
typedef struct _CacheInfo CacheInfo
 

Functions

MagickPrivate Cache AcquirePixelCache (const size_t)
 
MagickPrivate Cache ClonePixelCache (const Cache)
 
MagickPrivate Cache DestroyPixelCache (Cache)
 
MagickPrivate Cache ReferencePixelCache (Cache)
 
MagickPrivate ClassType GetPixelCacheStorageClass (const Cache)
 
MagickPrivate ColorspaceType GetPixelCacheColorspace (const Cache)
 
MagickPrivate const QuantumGetVirtualPixelsFromNexus (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, NexusInfo *, ExceptionInfo *) magick_hot_spot
 
MagickPrivate const QuantumGetVirtualPixelsNexus (const Cache, NexusInfo *magick_restrict)
 
MagickPrivate const void * AcquirePixelCachePixels (const Image *, MagickSizeType *, ExceptionInfo *)
 
MagickPrivate const void * GetVirtualMetacontentFromNexus (const Cache, NexusInfo *magick_restrict)
 
MagickPrivate MagickBooleanType CacheComponentGenesis (void)
 
MagickPrivate MagickBooleanType SyncAuthenticPixelCacheNexus (Image *, NexusInfo *magick_restrict, ExceptionInfo *) magick_hot_spot
 
MagickPrivate MagickBooleanType SyncImagePixelCache (Image *, ExceptionInfo *)
 
MagickPrivate MagickSizeType GetPixelCacheNexusExtent (const Cache, NexusInfo *magick_restrict)
 
MagickPrivate NexusInfo ** AcquirePixelCacheNexus (const size_t)
 
MagickPrivate NexusInfo ** DestroyPixelCacheNexus (NexusInfo **, const size_t)
 
MagickPrivate QuantumGetAuthenticPixelCacheNexus (Image *, const ssize_t, const ssize_t, const size_t, const size_t, NexusInfo *, ExceptionInfo *) magick_hot_spot
 
MagickPrivate QuantumQueueAuthenticPixelCacheNexus (Image *, const ssize_t, const ssize_t, const size_t, const size_t, const MagickBooleanType, NexusInfo *, ExceptionInfo *) magick_hot_spot
 
MagickPrivate size_t GetPixelCacheChannels (const Cache)
 
MagickPrivate VirtualPixelMethod GetPixelCacheVirtualMethod (const Image *)
 
MagickPrivate VirtualPixelMethod SetPixelCacheVirtualMethod (Image *, const VirtualPixelMethod, ExceptionInfo *)
 
MagickPrivate void CacheComponentTerminus (void)
 
MagickPrivate void ClonePixelCacheMethods (Cache, const Cache)
 
MagickPrivate void GetPixelCacheTileSize (const Image *, size_t *, size_t *)
 
MagickPrivate void GetPixelCacheMethods (CacheMethods *)
 
MagickPrivate void ResetPixelCacheEpoch (void)
 
MagickPrivate void ResetPixelCacheChannels (Image *)
 
MagickPrivate void SetPixelCacheMethods (Cache, CacheMethods *)
 

Typedef Documentation

◆ Cache

typedef void* Cache

Definition at line 34 of file cache-private.h.

◆ CacheInfo

typedef struct _CacheInfo CacheInfo

◆ CacheMethods

typedef struct _CacheMethods CacheMethods

◆ DestroyPixelHandler

typedef void(* DestroyPixelHandler) (Image *)

Definition at line 63 of file cache-private.h.

◆ GetAuthenticMetacontentFromHandler

typedef void*(* GetAuthenticMetacontentFromHandler) (const Image *)

Definition at line 66 of file cache-private.h.

◆ GetAuthenticPixelsFromHandler

typedef Quantum*(* GetAuthenticPixelsFromHandler) (const Image *)

Definition at line 56 of file cache-private.h.

◆ GetAuthenticPixelsHandler

typedef Quantum*(* GetAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)

Definition at line 52 of file cache-private.h.

◆ GetOneAuthenticPixelFromHandler

typedef MagickBooleanType(* GetOneAuthenticPixelFromHandler) (Image *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)

Definition at line 37 of file cache-private.h.

◆ GetOneVirtualPixelFromHandler

typedef MagickBooleanType(*)(* GetOneVirtualPixelFromHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)

Definition at line 39 of file cache-private.h.

◆ GetVirtualMetacontentFromHandler

typedef const void*(* GetVirtualMetacontentFromHandler) (const Image *)

Definition at line 49 of file cache-private.h.

◆ GetVirtualPixelHandler

typedef const Quantum*(* GetVirtualPixelHandler) (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)

Definition at line 44 of file cache-private.h.

◆ GetVirtualPixelsHandler

typedef const Quantum*(*) *(* GetVirtualPixelsHandler) (const Image *)

Definition at line 46 of file cache-private.h.

◆ NexusInfo

typedef struct _NexusInfo NexusInfo

◆ QueueAuthenticPixelsHandler

typedef Quantum*(* QueueAuthenticPixelsHandler) (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)

Definition at line 59 of file cache-private.h.

◆ SyncAuthenticPixelsHandler

typedef MagickBooleanType(*)(*)(* SyncAuthenticPixelsHandler) (Image *, ExceptionInfo *)

Definition at line 41 of file cache-private.h.

Function Documentation

◆ AcquirePixelCache()

MagickPrivate Cache AcquirePixelCache ( const size_t  )

◆ AcquirePixelCacheNexus()

MagickPrivate NexusInfo** AcquirePixelCacheNexus ( const size_t  )

◆ AcquirePixelCachePixels()

MagickPrivate const void* AcquirePixelCachePixels ( const Image ,
MagickSizeType ,
ExceptionInfo  
)

◆ CacheComponentGenesis()

MagickPrivate MagickBooleanType CacheComponentGenesis ( void  )

Referenced by MagickCoreGenesis().

◆ CacheComponentTerminus()

MagickPrivate void CacheComponentTerminus ( void  )

Referenced by MagickCoreTerminus().

◆ ClonePixelCache()

MagickPrivate Cache ClonePixelCache ( const Cache  )

Referenced by CloneImage().

◆ ClonePixelCacheMethods()

MagickPrivate void ClonePixelCacheMethods ( Cache  ,
const Cache   
)

Referenced by AcquireImage().

◆ DestroyPixelCache()

MagickPrivate Cache DestroyPixelCache ( Cache  )

Referenced by DestroyImageInfo().

◆ DestroyPixelCacheNexus()

◆ GetAuthenticPixelCacheNexus()

MagickPrivate Quantum* GetAuthenticPixelCacheNexus ( Image ,
const ssize_t  ,
const ssize_t  ,
const size_t  ,
const size_t  ,
NexusInfo ,
ExceptionInfo  
)

◆ GetPixelCacheChannels()

MagickPrivate size_t GetPixelCacheChannels ( const Cache  )

◆ GetPixelCacheColorspace()

◆ GetPixelCacheMethods()

MagickPrivate void GetPixelCacheMethods ( CacheMethods )

Referenced by ReadStream().

◆ GetPixelCacheNexusExtent()

MagickPrivate MagickSizeType GetPixelCacheNexusExtent ( const Cache  ,
NexusInfo magick_restrict 
)

Referenced by GetCacheViewExtent().

◆ GetPixelCacheStorageClass()

MagickPrivate ClassType GetPixelCacheStorageClass ( const Cache  )

◆ GetPixelCacheTileSize()

MagickPrivate void GetPixelCacheTileSize ( const Image ,
size_t *  ,
size_t *   
)

Referenced by IntegralRotateImage().

◆ GetPixelCacheVirtualMethod()

MagickPrivate VirtualPixelMethod GetPixelCacheVirtualMethod ( const Image )

◆ GetVirtualMetacontentFromNexus()

MagickPrivate const void * GetVirtualMetacontentFromNexus ( const Cache  ,
NexusInfo magick_restrict 
)

◆ GetVirtualPixelsFromNexus()

MagickPrivate const Quantum* GetVirtualPixelsFromNexus ( const Image ,
const VirtualPixelMethod  ,
const ssize_t  ,
const ssize_t  ,
const size_t  ,
const size_t  ,
NexusInfo ,
ExceptionInfo  
)

◆ GetVirtualPixelsNexus()

MagickPrivate const Quantum * GetVirtualPixelsNexus ( const Cache  ,
NexusInfo magick_restrict 
)

◆ QueueAuthenticPixelCacheNexus()

◆ ReferencePixelCache()

MagickPrivate Cache ReferencePixelCache ( Cache  )

Definition at line 4519 of file cache.c.

References LockSemaphoreInfo(), magick_restrict, MagickCoreSignature, and UnlockSemaphoreInfo().

Referenced by CloneImage(), and CloneImageInfo().

◆ ResetPixelCacheChannels()

MagickPrivate void ResetPixelCacheChannels ( Image )

Referenced by ReadStream().

◆ ResetPixelCacheEpoch()

MagickPrivate void ResetPixelCacheEpoch ( void  )

Referenced by SetMagickResourceLimit().

◆ SetPixelCacheMethods()

◆ SetPixelCacheVirtualMethod()

◆ SyncAuthenticPixelCacheNexus()

MagickPrivate MagickBooleanType SyncAuthenticPixelCacheNexus ( Image ,
NexusInfo magick_restrict,
ExceptionInfo  
)

◆ SyncImagePixelCache()