MagickCore 7.1.0
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 QuantumGetVirtualPixelCacheNexus (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 * 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 ResetCacheAnonymousMemory (void)
 
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 62 of file cache-private.h.

◆ GetAuthenticMetacontentFromHandler

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

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

◆ GetAuthenticPixelsFromHandler

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

Definition at line 55 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 51 of file cache-private.h.

◆ GetOneAuthenticPixelFromHandler

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

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

◆ GetOneVirtualPixelFromHandler

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

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

◆ GetVirtualMetacontentFromHandler

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

Definition at line 48 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 43 of file cache-private.h.

◆ GetVirtualPixelsHandler

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

Definition at line 43 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 58 of file cache-private.h.

◆ SyncAuthenticPixelsHandler

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

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

Function Documentation

◆ AcquirePixelCache()

MagickPrivate Cache AcquirePixelCache ( const  size_t)

Referenced by AcquireImage(), and ReadStream().

◆ AcquirePixelCacheNexus()

MagickPrivate NexusInfo ** AcquirePixelCacheNexus ( const  size_t)

◆ 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()

MagickPrivate ColorspaceType GetPixelCacheColorspace ( const  Cache)

◆ 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 
)

◆ GetVirtualPixelCacheNexus()

MagickPrivate const Quantum * GetVirtualPixelCacheNexus ( 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  cache)

Definition at line 4746 of file cache.c.

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

Referenced by CloneImage(), and CloneImageInfo().

◆ ResetCacheAnonymousMemory()

MagickPrivate void ResetCacheAnonymousMemory ( void  )

◆ ResetPixelCacheChannels()

MagickPrivate void ResetPixelCacheChannels ( Image )

◆ ResetPixelCacheEpoch()

MagickPrivate void ResetPixelCacheEpoch ( void  )

Referenced by SetMagickResourceLimit().

◆ SetPixelCacheMethods()

◆ SetPixelCacheVirtualMethod()

◆ SyncAuthenticPixelCacheNexus()

MagickPrivate MagickBooleanType SyncAuthenticPixelCacheNexus ( Image ,
NexusInfo magick_restrict,
ExceptionInfo  
)

◆ SyncImagePixelCache()