00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKCORE_CACHE_H
00019 #define MAGICKCORE_CACHE_H
00020
00021 #include "MagickCore/blob.h"
00022
00023 #if defined(__cplusplus) || defined(c_plusplus)
00024 extern "C" {
00025 #endif
00026
00027 typedef enum
00028 {
00029 UndefinedCache,
00030 DiskCache,
00031 DistributedCache,
00032 MapCache,
00033 MemoryCache,
00034 PingCache
00035 } CacheType;
00036
00037 extern MagickExport CacheType
00038 GetImagePixelCacheType(const Image *);
00039
00040 extern MagickExport const char
00041 *GetPixelCacheFilename(const Image *);
00042
00043 extern MagickExport const Quantum
00044 *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
00045 const size_t,ExceptionInfo *) magick_hot_spot,
00046 *GetVirtualPixelQueue(const Image *) magick_hot_spot;
00047
00048 extern MagickExport const void
00049 *GetVirtualMetacontent(const Image *);
00050
00051 extern MagickExport MagickBooleanType
00052 GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
00053 ExceptionInfo *),
00054 GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,Quantum *,
00055 ExceptionInfo *),
00056 GetOneVirtualPixelInfo(const Image *,const VirtualPixelMethod,
00057 const ssize_t,const ssize_t,PixelInfo *,ExceptionInfo *),
00058 PersistPixelCache(Image *,const char *,const MagickBooleanType,
00059 MagickOffsetType *,ExceptionInfo *),
00060 SyncAuthenticPixels(Image *,ExceptionInfo *) magick_hot_spot;
00061
00062 extern MagickExport MagickSizeType
00063 GetImageExtent(const Image *);
00064
00065 extern MagickExport Quantum
00066 *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
00067 const size_t,ExceptionInfo *) magick_hot_spot,
00068 *GetAuthenticPixelQueue(const Image *) magick_hot_spot,
00069 *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
00070 const size_t,ExceptionInfo *) magick_hot_spot;
00071
00072 extern MagickExport void
00073 *AcquirePixelCachePixels(const Image *,size_t *,ExceptionInfo *),
00074 *GetAuthenticMetacontent(const Image *),
00075 *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *);
00076
00077 #if defined(__cplusplus) || defined(c_plusplus)
00078 }
00079 #endif
00080
00081 #endif