MagickCore  6.8.5
cache.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2013 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  http://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 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 #include "magick/blob.h"
26 
27 typedef enum
28 {
35 } CacheType;
36 
39 
40 extern MagickExport const IndexPacket
41  *GetVirtualIndexQueue(const Image *);
42 
43 extern MagickExport const PixelPacket
44  *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
45  const size_t,ExceptionInfo *),
46  *GetVirtualPixelQueue(const Image *);
47 
48 extern MagickExport const void
50 
52  *GetAuthenticIndexQueue(const Image *);
53 
56  GetOneVirtualMagickPixel(const Image *,const ssize_t,const ssize_t,
58  GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,PixelPacket *,
59  ExceptionInfo *),
60  GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const ssize_t,
61  const ssize_t,PixelPacket *,ExceptionInfo *),
62  GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,PixelPacket *,
63  ExceptionInfo *),
64  PersistPixelCache(Image *,const char *,const MagickBooleanType,
67 
69  GetImageExtent(const Image *);
70 
72  *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
73  const size_t,ExceptionInfo *),
74  *GetAuthenticPixelQueue(const Image *),
75  *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
76  const size_t,ExceptionInfo *);
77 
81 
82 extern MagickExport void
85 
86 #if defined(__cplusplus) || defined(c_plusplus)
87 }
88 #endif
89 
90 #endif