MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
cache.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  https://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore cache methods.
17 */
18 #ifndef MAGICKCORE_CACHE_H
19 #define MAGICKCORE_CACHE_H
20 
21 #include "MagickCore/blob.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
35 } CacheType;
36 
37 extern MagickExport CacheType
39 
40 extern MagickExport const char
41  *GetPixelCacheFilename(const Image *);
42 
43 extern MagickExport const Quantum
44  *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
45  const size_t,ExceptionInfo *) magick_hot_spot,
47 
48 extern MagickExport const void
49  *GetVirtualMetacontent(const Image *);
50 
52  GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
53  ExceptionInfo *),
54  GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,Quantum *,
55  ExceptionInfo *),
57  const ssize_t,const ssize_t,PixelInfo *,ExceptionInfo *),
58  PersistPixelCache(Image *,const char *,const MagickBooleanType,
61 
63  GetImageExtent(const Image *);
64 
65 extern MagickExport Quantum
66  *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
67  const size_t,ExceptionInfo *) magick_hot_spot,
69  *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
70  const size_t,ExceptionInfo *) magick_hot_spot;
71 
72 extern MagickExport void
75 
76 #if defined(__cplusplus) || defined(c_plusplus)
77 }
78 #endif
79 
80 #endif
MagickExport MagickSizeType GetImageExtent(const Image *)
Definition: cache.c:1492
VirtualPixelMethod
Definition: cache-view.h:27
MagickExport MagickBooleanType PersistPixelCache(Image *, const char *, const MagickBooleanType, MagickOffsetType *, ExceptionInfo *)
MagickExport MagickBooleanType GetOneVirtualPixelInfo(const Image *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelInfo *, ExceptionInfo *)
ssize_t MagickOffsetType
Definition: magick-type.h:127
Definition: image.h:151
MagickExport Quantum * GetAuthenticPixelQueue(const Image *) magick_hot_spot
MagickExport MagickBooleanType SyncAuthenticPixels(Image *, ExceptionInfo *) magick_hot_spot
Definition: cache.c:5195
MagickBooleanType
Definition: magick-type.h:156
MagickExport const char * GetPixelCacheFilename(const Image *)
Definition: cache.c:2083
MagickExport void * GetAuthenticMetacontent(const Image *)
MagickExport const Quantum * GetVirtualPixelQueue(const Image *) magick_hot_spot
Definition: cache.c:3086
MagickExport void * GetPixelCachePixels(Image *, MagickSizeType *, ExceptionInfo *)
Definition: cache.c:2208
#define magick_hot_spot
MagickExport MagickBooleanType GetOneAuthenticPixel(Image *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
size_t MagickSizeType
Definition: magick-type.h:128
MagickExport Quantum * QueueAuthenticPixels(Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache.c:4085
MagickExport CacheType GetImagePixelCacheType(const Image *)
Definition: cache.c:1695
MagickExport const Quantum * GetVirtualPixels(const Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
unsigned short Quantum
Definition: magick-type.h:82
CacheType
Definition: cache.h:27
MagickExport MagickBooleanType GetOneVirtualPixel(const Image *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
MagickExport Quantum * GetAuthenticPixels(Image *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache.h:32
#define MagickExport
MagickExport const void * GetVirtualMetacontent(const Image *)
Definition: cache.c:2457