]> granicus.if.org Git - imagemagick/blob - magick/cache.h
(no commit message)
[imagemagick] / magick / cache.h
1 /*
2   Copyright 1999-2010 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 extern MagickExport const IndexPacket
28   *GetVirtualIndexQueue(const Image *);
29
30 extern MagickExport const PixelPacket
31   *GetVirtualPixels(const Image *,const long,const long,const unsigned long,
32     const unsigned long,ExceptionInfo *),
33   *GetVirtualPixelQueue(const Image *);
34
35 extern MagickExport IndexPacket
36   *GetAuthenticIndexQueue(const Image *);
37
38 extern MagickExport MagickBooleanType
39   CacheComponentGenesis(void),
40   GetOneVirtualMagickPixel(const Image *,const long,const long,
41     MagickPixelPacket *,ExceptionInfo *),
42   GetOneVirtualPixel(const Image *,const long,const long,PixelPacket *,
43     ExceptionInfo *),
44   GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const long,
45     const long,PixelPacket *,ExceptionInfo *),
46   GetOneAuthenticPixel(Image *,const long,const long,PixelPacket *,
47     ExceptionInfo *),
48   PersistPixelCache(Image *,const char *,const MagickBooleanType,
49     MagickOffsetType *,ExceptionInfo *),
50   SyncAuthenticPixels(Image *,ExceptionInfo *);
51
52 extern MagickExport MagickSizeType
53   GetImageExtent(const Image *);
54
55 extern MagickExport PixelPacket
56   *GetAuthenticPixels(Image *,const long,const long,const unsigned long,
57     const unsigned long,ExceptionInfo *),
58   *GetAuthenticPixelQueue(const Image *),
59   *QueueAuthenticPixels(Image *,const long,const long,const unsigned long,
60     const unsigned long,ExceptionInfo *);
61
62 extern MagickExport VirtualPixelMethod
63   GetPixelCacheVirtualMethod(const Image *),
64   SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod);
65
66 extern MagickExport void
67   CacheComponentTerminus(void),
68   *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *);
69
70 #if defined(__cplusplus) || defined(c_plusplus)
71 }
72 #endif
73
74 #endif