Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:20

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore cache methods.
0017 */
0018 #ifndef MAGICKCORE_CACHE_H
0019 #define MAGICKCORE_CACHE_H
0020 
0021 #include "MagickCore/blob.h"
0022 
0023 #if defined(__cplusplus) || defined(c_plusplus)
0024 extern "C" {
0025 #endif
0026 
0027 typedef enum
0028 {
0029   UndefinedCache,
0030   DiskCache,
0031   DistributedCache,
0032   MapCache,
0033   MemoryCache,
0034   PingCache
0035 } CacheType;
0036 
0037 extern MagickExport CacheType
0038   GetImagePixelCacheType(const Image *);
0039 
0040 extern MagickExport const char
0041   *GetPixelCacheFilename(const Image *);
0042 
0043 extern MagickExport const Quantum
0044   *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
0045     const size_t,ExceptionInfo *) magick_hot_spot,
0046   *GetVirtualPixelQueue(const Image *) magick_hot_spot;
0047 
0048 extern MagickExport const void
0049   *GetVirtualMetacontent(const Image *);
0050 
0051 extern MagickExport MagickBooleanType
0052   GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
0053     ExceptionInfo *),
0054   GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,Quantum *,
0055     ExceptionInfo *),
0056   GetOneVirtualPixelInfo(const Image *,const VirtualPixelMethod,
0057     const ssize_t,const ssize_t,PixelInfo *,ExceptionInfo *),
0058   PersistPixelCache(Image *,const char *,const MagickBooleanType,
0059     MagickOffsetType *,ExceptionInfo *),
0060   SyncAuthenticPixels(Image *,ExceptionInfo *) magick_hot_spot;
0061 
0062 extern MagickExport MagickSizeType
0063   GetImageExtent(const Image *);
0064 
0065 extern MagickExport Quantum
0066   *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
0067     const size_t,ExceptionInfo *) magick_hot_spot,
0068   *GetAuthenticPixelQueue(const Image *) magick_hot_spot,
0069   *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
0070     const size_t,ExceptionInfo *) magick_hot_spot;
0071 
0072 extern MagickExport void
0073   *AcquirePixelCachePixels(const Image *,size_t *,ExceptionInfo *),
0074   *GetAuthenticMetacontent(const Image *),
0075   *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *);
0076 
0077 #if defined(__cplusplus) || defined(c_plusplus)
0078 }
0079 #endif
0080 
0081 #endif