MagickCore  6.9.11
cache.c File Reference
Include dependency graph for cache.c:

Go to the source code of this file.

Data Structures

struct  _MagickModulo
 

Macros

#define CacheTick(offset, extent)   QuantumTick((MagickOffsetType) offset,extent)
 
#define IsFileDescriptorLimitExceeded()
 
#define MaxCacheThreads   ((size_t) GetMagickResourceLimit(ThreadResource))
 
#define cache_number_threads(source, destination, chunk, multithreaded)
 

Typedefs

typedef struct _MagickModulo MagickModulo
 

Functions

static const IndexPacketGetVirtualIndexesFromCache (const Image *)
 
static const PixelPacketGetVirtualPixelCache (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
static const PixelPacketGetVirtualPixelsCache (const Image *)
 
static MagickBooleanType GetOneAuthenticPixelFromCache (Image *, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
 
static MagickBooleanType GetOneVirtualPixelFromCache (const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
 
static MagickBooleanType OpenPixelCache (Image *, const MapMode, ExceptionInfo *)
 
static MagickBooleanType OpenPixelCacheOnDisk (CacheInfo *, const MapMode)
 
static MagickBooleanType ReadPixelCacheIndexes (CacheInfo *magick_restrict, NexusInfo *magick_restrict, ExceptionInfo *)
 
static MagickBooleanType ReadPixelCachePixels (CacheInfo *magick_restrict, NexusInfo *magick_restrict, ExceptionInfo *)
 
static MagickBooleanType SyncAuthenticPixelsCache (Image *, ExceptionInfo *)
 
static MagickBooleanType WritePixelCacheIndexes (CacheInfo *, NexusInfo *magick_restrict, ExceptionInfo *)
 
static MagickBooleanType WritePixelCachePixels (CacheInfo *, NexusInfo *magick_restrict, ExceptionInfo *)
 
static PixelPacketGetAuthenticPixelsCache (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
static PixelPacketQueueAuthenticPixelsCache (Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *)
 
static PixelPacketSetPixelCacheNexusPixels (const CacheInfo *magick_restrict, const MapMode, const ssize_t, const ssize_t, const size_t, const size_t, const MagickBooleanType, NexusInfo *magick_restrict, ExceptionInfo *) magick_hot_spot
 
MagickExport Cache AcquirePixelCache (const size_t number_threads)
 
MagickExport NexusInfo ** AcquirePixelCacheNexus (const size_t number_threads)
 
MagickExport const void * AcquirePixelCachePixels (const Image *image, MagickSizeType *length, ExceptionInfo *exception)
 
MagickExport MagickBooleanType CacheComponentGenesis (void)
 
MagickExport void CacheComponentTerminus (void)
 
static MagickBooleanType ClipPixelCacheNexus (Image *image, NexusInfo *nexus_info, ExceptionInfo *exception)
 
MagickExport Cache ClonePixelCache (const Cache cache)
 
MagickExport void ClonePixelCacheMethods (Cache clone, const Cache cache)
 
static MagickBooleanType ClonePixelCacheOnDisk (CacheInfo *magick_restrict cache_info, CacheInfo *magick_restrict clone_info)
 
static MagickBooleanType ClonePixelCacheRepository (CacheInfo *magick_restrict clone_info, CacheInfo *magick_restrict cache_info, ExceptionInfo *exception)
 
static void DestroyImagePixelCache (Image *image)
 
MagickExport void DestroyImagePixels (Image *image)
 
static MagickBooleanType ClosePixelCacheOnDisk (CacheInfo *cache_info)
 
static void RelinquishPixelCachePixels (CacheInfo *cache_info)
 
MagickExport Cache DestroyPixelCache (Cache cache)
 
static void RelinquishCacheNexusPixels (NexusInfo *nexus_info)
 
MagickExport NexusInfo ** DestroyPixelCacheNexus (NexusInfo **nexus_info, const size_t number_threads)
 
static IndexPacketGetAuthenticIndexesFromCache (const Image *image)
 
MagickExport IndexPacketGetAuthenticIndexQueue (const Image *image)
 
MagickExport PixelPacketGetAuthenticPixelCacheNexus (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, NexusInfo *nexus_info, ExceptionInfo *exception)
 
static PixelPacketGetAuthenticPixelsFromCache (const Image *image)
 
MagickExport PixelPacketGetAuthenticPixelQueue (const Image *image)
 
MagickExport PixelPacketGetAuthenticPixels (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
MagickExport MagickSizeType GetImageExtent (const Image *image)
 
static MagickBooleanType ValidatePixelCacheMorphology (const Image *magick_restrict image)
 
static Cache GetImagePixelCache (Image *image, const MagickBooleanType clone, ExceptionInfo *exception)
 
MagickExport CacheType GetPixelCacheType (const Image *image)
 
MagickExport CacheType GetImagePixelCacheType (const Image *image)
 
MagickExport MagickBooleanType GetOneAuthenticPixel (Image *image, const ssize_t x, const ssize_t y, PixelPacket *pixel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType GetOneVirtualMagickPixel (const Image *image, const ssize_t x, const ssize_t y, MagickPixelPacket *pixel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType GetOneVirtualMethodPixel (const Image *image, const VirtualPixelMethod virtual_pixel_method, const ssize_t x, const ssize_t y, PixelPacket *pixel, ExceptionInfo *exception)
 
MagickExport MagickBooleanType GetOneVirtualPixel (const Image *image, const ssize_t x, const ssize_t y, PixelPacket *pixel, ExceptionInfo *exception)
 
MagickExport size_t GetPixelCacheChannels (const Cache cache)
 
MagickExport ColorspaceType GetPixelCacheColorspace (const Cache cache)
 
MagickExport const char * GetPixelCacheFilename (const Image *image)
 
MagickExport void GetPixelCacheMethods (CacheMethods *cache_methods)
 
MagickExport MagickSizeType GetPixelCacheNexusExtent (const Cache cache, NexusInfo *nexus_info)
 
MagickExport void * GetPixelCachePixels (Image *image, MagickSizeType *length, ExceptionInfo *exception)
 
MagickExport ClassType GetPixelCacheStorageClass (const Cache cache)
 
MagickExport void GetPixelCacheTileSize (const Image *image, size_t *width, size_t *height)
 
MagickExport VirtualPixelMethod GetPixelCacheVirtualMethod (const Image *image)
 
MagickExport const IndexPacketGetVirtualIndexesFromNexus (const Cache cache, NexusInfo *nexus_info)
 
MagickExport const IndexPacketGetVirtualIndexQueue (const Image *image)
 
static ssize_t DitherX (const ssize_t x, const size_t columns)
 
static ssize_t DitherY (const ssize_t y, const size_t rows)
 
static ssize_t EdgeX (const ssize_t x, const size_t columns)
 
static ssize_t EdgeY (const ssize_t y, const size_t rows)
 
static ssize_t RandomX (RandomInfo *random_info, const size_t columns)
 
static ssize_t RandomY (RandomInfo *random_info, const size_t rows)
 
static MagickModulo VirtualPixelModulo (const ssize_t offset, const size_t extent)
 
MagickExport const PixelPacketGetVirtualPixelCacheNexus (const Image *image, const VirtualPixelMethod virtual_pixel_method, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, NexusInfo *nexus_info, ExceptionInfo *exception)
 
MagickExport const PixelPacketGetVirtualPixelQueue (const Image *image)
 
MagickExport const PixelPacketGetVirtualPixels (const Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
MagickExport const PixelPacketGetVirtualPixelsNexus (const Cache cache, NexusInfo *nexus_info)
 
static void ApplyPixelCompositeMask (const MagickPixelPacket *p, const MagickRealType alpha, const MagickPixelPacket *q, const MagickRealType beta, MagickPixelPacket *composite)
 
static MagickBooleanType MaskPixelCacheNexus (Image *image, NexusInfo *nexus_info, ExceptionInfo *exception)
 
static MagickOffsetType WritePixelCacheRegion (const CacheInfo *magick_restrict cache_info, const MagickOffsetType offset, const MagickSizeType length, const unsigned char *magick_restrict buffer)
 
static MagickBooleanType SetPixelCacheExtent (Image *image, MagickSizeType length)
 
MagickExport MagickBooleanType PersistPixelCache (Image *image, const char *filename, const MagickBooleanType attach, MagickOffsetType *offset, ExceptionInfo *exception)
 
MagickExport PixelPacketQueueAuthenticPixel (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, const MagickBooleanType clone, NexusInfo *nexus_info, ExceptionInfo *exception)
 
MagickExport PixelPacketQueueAuthenticPixelCacheNexus (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, const MagickBooleanType clone, NexusInfo *nexus_info, ExceptionInfo *exception)
 
MagickExport PixelPacketQueueAuthenticPixels (Image *image, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
 
static MagickOffsetType ReadPixelCacheRegion (const CacheInfo *magick_restrict cache_info, const MagickOffsetType offset, const MagickSizeType length, unsigned char *magick_restrict buffer)
 
static MagickBooleanType ReadPixelCacheIndexes (CacheInfo *magick_restrict cache_info, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
static MagickBooleanType ReadPixelCachePixels (CacheInfo *magick_restrict cache_info, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
MagickExport Cache ReferencePixelCache (Cache cache)
 
MagickPrivate void ResetPixelCacheEpoch (void)
 
MagickExport void SetPixelCacheMethods (Cache cache, CacheMethods *cache_methods)
 
static MagickBooleanType AcquireCacheNexusPixels (const CacheInfo *magick_restrict cache_info, const MagickSizeType length, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
static void PrefetchPixelCacheNexusPixels (const NexusInfo *nexus_info, const MapMode mode)
 
static PixelPacketSetPixelCacheNexusPixels (const CacheInfo *magick_restrict cache_info, const MapMode mode, const ssize_t x, const ssize_t y, const size_t width, const size_t height, const MagickBooleanType buffered, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
static MagickBooleanType SetCacheAlphaChannel (Image *image, const Quantum opacity)
 
MagickExport VirtualPixelMethod SetPixelCacheVirtualMethod (const Image *image, const VirtualPixelMethod virtual_pixel_method)
 
MagickExport MagickBooleanType SyncAuthenticPixelCacheNexus (Image *image, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SyncAuthenticPixels (Image *image, ExceptionInfo *exception)
 
MagickPrivate MagickBooleanType SyncImagePixelCache (Image *image, ExceptionInfo *exception)
 
static MagickBooleanType WritePixelCacheIndexes (CacheInfo *cache_info, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 
static MagickBooleanType WritePixelCachePixels (CacheInfo *cache_info, NexusInfo *magick_restrict nexus_info, ExceptionInfo *exception)
 

Variables

static Cache magick_hot_spot
 
static SemaphoreInfocache_semaphore = (SemaphoreInfo *) NULL
 
static ssize_t cache_anonymous_memory = (-1)
 
static time_t cache_epoch = 0
 
static ssize_t DitherMatrix [64]
 

Macro Definition Documentation

#define cache_number_threads (   source,
  destination,
  chunk,
  multithreaded 
)
Value:
num_threads((multithreaded) == 0 ? 1 : \
(((source)->type != MemoryCache) && ((source)->type != MapCache)) || \
(((destination)->type != MemoryCache) && ((destination)->type != MapCache)) ? \
MagickMax(MagickMin((ssize_t) GetMagickResourceLimit(ThreadResource),(ssize_t) (chunk)/256),1))
MagickExport MagickSizeType GetMagickResourceLimit(const ResourceType type)
Definition: resource.c:842
#define MagickMax(x, y)
Definition: image-private.h:36
#define MagickMin(x, y)
Definition: image-private.h:37
Definition: cache.h:31
#define CacheTick (   offset,
  extent 
)    QuantumTick((MagickOffsetType) offset,extent)
#define IsFileDescriptorLimitExceeded ( )
Value:
MagickExport MagickSizeType GetMagickResourceLimit(const ResourceType type)
Definition: resource.c:842
MagickExport MagickSizeType GetMagickResource(const ResourceType type)
Definition: resource.c:723

Definition at line 87 of file cache.c.

Referenced by ReadPixelCacheIndexes(), ReadPixelCachePixels(), WritePixelCacheIndexes(), and WritePixelCachePixels().

#define MaxCacheThreads   ((size_t) GetMagickResourceLimit(ThreadResource))

Typedef Documentation

typedef struct _MagickModulo MagickModulo

Function Documentation

static MagickBooleanType AcquireCacheNexusPixels ( const CacheInfo *magick_restrict  cache_info,
const MagickSizeType  length,
NexusInfo *magick_restrict  nexus_info,
ExceptionInfo exception 
)
inlinestatic
MagickExport NexusInfo** AcquirePixelCacheNexus ( const size_t  number_threads)
MagickExport const void* AcquirePixelCachePixels ( const Image image,
MagickSizeType length,
ExceptionInfo exception 
)
MagickExport MagickBooleanType CacheComponentGenesis ( void  )

Definition at line 519 of file cache.c.

References AllocateSemaphoreInfo(), cache_semaphore, and MagickTrue.

Referenced by MagickCoreGenesis().

MagickExport void CacheComponentTerminus ( void  )

Definition at line 544 of file cache.c.

References ActivateSemaphoreInfo(), cache_semaphore, and DestroySemaphoreInfo().

Referenced by MagickCoreTerminus().

MagickExport Cache ClonePixelCache ( const Cache  cache)
MagickExport void ClonePixelCacheMethods ( Cache  clone,
const Cache  cache 
)
static void DestroyImagePixelCache ( Image image)
static
static ssize_t DitherX ( const ssize_t  x,
const size_t  columns 
)
inlinestatic

Definition at line 2873 of file cache.c.

References DitherMatrix.

Referenced by GetVirtualPixelCacheNexus().

static ssize_t DitherY ( const ssize_t  y,
const size_t  rows 
)
inlinestatic

Definition at line 2886 of file cache.c.

References DitherMatrix.

Referenced by GetVirtualPixelCacheNexus().

static ssize_t EdgeX ( const ssize_t  x,
const size_t  columns 
)
inlinestatic

Definition at line 2899 of file cache.c.

Referenced by GetVirtualPixelCacheNexus().

static ssize_t EdgeY ( const ssize_t  y,
const size_t  rows 
)
inlinestatic

Definition at line 2908 of file cache.c.

Referenced by GetVirtualPixelCacheNexus().

static IndexPacket* GetAuthenticIndexesFromCache ( const Image image)
static
MagickExport PixelPacket* GetAuthenticPixelCacheNexus ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
NexusInfo nexus_info,
ExceptionInfo exception 
)
static PixelPacket * GetAuthenticPixelsCache ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static
static PixelPacket* GetAuthenticPixelsFromCache ( const Image image)
static
MagickExport CacheType GetImagePixelCacheType ( const Image image)
MagickExport MagickBooleanType GetOneAuthenticPixel ( Image image,
const ssize_t  x,
const ssize_t  y,
PixelPacket pixel,
ExceptionInfo exception 
)
static MagickBooleanType GetOneAuthenticPixelFromCache ( Image image,
const ssize_t  x,
const ssize_t  y,
PixelPacket pixel,
ExceptionInfo exception 
)
static
MagickExport MagickBooleanType GetOneVirtualMethodPixel ( const Image image,
const VirtualPixelMethod  virtual_pixel_method,
const ssize_t  x,
const ssize_t  y,
PixelPacket pixel,
ExceptionInfo exception 
)
MagickExport MagickBooleanType GetOneVirtualPixel ( const Image image,
const ssize_t  x,
const ssize_t  y,
PixelPacket pixel,
ExceptionInfo exception 
)
static MagickBooleanType GetOneVirtualPixelFromCache ( const Image image,
const VirtualPixelMethod  virtual_pixel_method,
const ssize_t  x,
const ssize_t  y,
PixelPacket pixel,
ExceptionInfo exception 
)
MagickExport size_t GetPixelCacheChannels ( const Cache  cache)
MagickExport ColorspaceType GetPixelCacheColorspace ( const Cache  cache)
MagickExport const char* GetPixelCacheFilename ( const Image image)

Definition at line 2439 of file cache.c.

References _Image::cache, magick_restrict, MagickCoreSignature, and _Image::signature.

MagickExport MagickSizeType GetPixelCacheNexusExtent ( const Cache  cache,
NexusInfo nexus_info 
)
MagickExport void* GetPixelCachePixels ( Image image,
MagickSizeType length,
ExceptionInfo exception 
)
MagickExport ClassType GetPixelCacheStorageClass ( const Cache  cache)
MagickExport void GetPixelCacheTileSize ( const Image image,
size_t *  width,
size_t *  height 
)
MagickExport CacheType GetPixelCacheType ( const Image image)

Definition at line 1956 of file cache.c.

References GetImagePixelCacheType().

static const IndexPacket * GetVirtualIndexesFromCache ( const Image image)
static
static const PixelPacket * GetVirtualPixelCache ( const Image image,
const VirtualPixelMethod  virtual_pixel_method,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static
MagickExport const PixelPacket* GetVirtualPixelCacheNexus ( const Image image,
const VirtualPixelMethod  virtual_pixel_method,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
NexusInfo nexus_info,
ExceptionInfo exception 
)
MagickExport const PixelPacket* GetVirtualPixelQueue ( const Image image)
static const PixelPacket * GetVirtualPixelsCache ( const Image image)
MagickExport const PixelPacket* GetVirtualPixelsNexus ( const Cache  cache,
NexusInfo nexus_info 
)
static MagickBooleanType OpenPixelCache ( Image image,
const MapMode  mode,
ExceptionInfo exception 
)
static void PrefetchPixelCacheNexusPixels ( const NexusInfo nexus_info,
const MapMode  mode 
)
inlinestatic
MagickExport PixelPacket* QueueAuthenticPixel ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
const MagickBooleanType  clone,
NexusInfo nexus_info,
ExceptionInfo exception 
)

Definition at line 4348 of file cache.c.

References QueueAuthenticPixelCacheNexus().

MagickExport PixelPacket* QueueAuthenticPixels ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static PixelPacket * QueueAuthenticPixelsCache ( Image image,
const ssize_t  x,
const ssize_t  y,
const size_t  columns,
const size_t  rows,
ExceptionInfo exception 
)
static ssize_t RandomX ( RandomInfo random_info,
const size_t  columns 
)
inlinestatic

Definition at line 2917 of file cache.c.

References GetPseudoRandomValue().

Referenced by GetVirtualPixelCacheNexus().

static ssize_t RandomY ( RandomInfo random_info,
const size_t  rows 
)
inlinestatic

Definition at line 2922 of file cache.c.

References GetPseudoRandomValue().

Referenced by GetVirtualPixelCacheNexus().

static MagickBooleanType ReadPixelCacheIndexes ( CacheInfo magick_restrict,
NexusInfo magick_restrict,
ExceptionInfo  
)
static MagickBooleanType ReadPixelCachePixels ( CacheInfo magick_restrict,
NexusInfo magick_restrict,
ExceptionInfo  
)
static MagickOffsetType ReadPixelCacheRegion ( const CacheInfo *magick_restrict  cache_info,
const MagickOffsetType  offset,
const MagickSizeType  length,
unsigned char *magick_restrict  buffer 
)
inlinestatic

Definition at line 4569 of file cache.c.

References MagickMin.

Referenced by ReadPixelCacheIndexes(), and ReadPixelCachePixels().

MagickExport Cache ReferencePixelCache ( Cache  cache)

Definition at line 4937 of file cache.c.

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

Referenced by CloneImage(), and CloneImageInfo().

static void RelinquishCacheNexusPixels ( NexusInfo nexus_info)
inlinestatic
MagickPrivate void ResetPixelCacheEpoch ( void  )

Definition at line 4969 of file cache.c.

References cache_epoch.

Referenced by SetMagickResourceLimit().

static PixelPacket * SetPixelCacheNexusPixels ( const CacheInfo magick_restrict,
const MapMode  ,
const ssize_t  ,
const ssize_t  ,
const size_t  ,
const size_t  ,
const MagickBooleanType  ,
NexusInfo magick_restrict,
ExceptionInfo  
)
static PixelPacket* SetPixelCacheNexusPixels ( const CacheInfo *magick_restrict  cache_info,
const MapMode  mode,
const ssize_t  x,
const ssize_t  y,
const size_t  width,
const size_t  height,
const MagickBooleanType  buffered,
NexusInfo *magick_restrict  nexus_info,
ExceptionInfo exception 
)
static
static MagickBooleanType SyncAuthenticPixelsCache ( Image image,
ExceptionInfo exception 
)
static MagickBooleanType ValidatePixelCacheMorphology ( const Image *magick_restrict  image)
inlinestatic

Definition at line 1804 of file cache.c.

References magick_restrict, MagickFalse, and MagickTrue.

Referenced by GetImagePixelCache().

static MagickModulo VirtualPixelModulo ( const ssize_t  offset,
const size_t  extent 
)
inlinestatic

Definition at line 2927 of file cache.c.

References _MagickModulo::quotient, and _MagickModulo::remainder.

Referenced by GetVirtualPixelCacheNexus().

static MagickBooleanType WritePixelCacheIndexes ( CacheInfo ,
NexusInfo magick_restrict,
ExceptionInfo  
)
static MagickBooleanType WritePixelCachePixels ( CacheInfo ,
NexusInfo magick_restrict,
ExceptionInfo  
)
static MagickOffsetType WritePixelCacheRegion ( const CacheInfo *magick_restrict  cache_info,
const MagickOffsetType  offset,
const MagickSizeType  length,
const unsigned char *magick_restrict  buffer 
)
inlinestatic

Definition at line 3755 of file cache.c.

References MagickMin.

Referenced by SetPixelCacheExtent(), WritePixelCacheIndexes(), and WritePixelCachePixels().

Variable Documentation

ssize_t cache_anonymous_memory = (-1)
static

Definition at line 162 of file cache.c.

Referenced by AcquireCacheNexusPixels(), and OpenPixelCache().

time_t cache_epoch = 0
static

Definition at line 165 of file cache.c.

Referenced by GetImagePixelCache(), and ResetPixelCacheEpoch().

SemaphoreInfo* cache_semaphore = (SemaphoreInfo *) NULL
static

Definition at line 159 of file cache.c.

Referenced by CacheComponentGenesis(), and CacheComponentTerminus().

ssize_t DitherMatrix[64]
static
Initial value:
=
{
0, 48, 12, 60, 3, 51, 15, 63,
32, 16, 44, 28, 35, 19, 47, 31,
8, 56, 4, 52, 11, 59, 7, 55,
40, 24, 36, 20, 43, 27, 39, 23,
2, 50, 14, 62, 1, 49, 13, 61,
34, 18, 46, 30, 33, 17, 45, 29,
10, 58, 6, 54, 9, 57, 5, 53,
42, 26, 38, 22, 41, 25, 37, 21
}

Definition at line 2861 of file cache.c.

Referenced by DitherX(), and DitherY().

Cache magick_hot_spot
static

Definition at line 109 of file cache.c.