cache.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.  You may
00006   obtain a copy of the License at
00007   
00008     https://imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore cache methods.
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

Generated on 18 Nov 2019 for MagickCore by  doxygen 1.6.1