root/ImageMagick/trunk/magick/cache.h

Revision 1007, 2.6 KB (checked in by cristy, 2 months ago)
Line 
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)
22extern "C" {
23#endif
24
25#include "magick/blob.h"
26
27extern MagickExport const IndexPacket
28  *GetVirtualIndexQueue(const Image *);
29
30extern MagickExport const PixelPacket
31  *GetVirtualPixels(const Image *,const long,const long,const unsigned long,
32    const unsigned long,ExceptionInfo *),
33  *GetVirtualPixelQueue(const Image *);
34
35extern MagickExport const void
36  *AcquirePixelCachePixels(const Image *,MagickSizeType *,ExceptionInfo *);
37
38extern MagickExport IndexPacket
39  *GetAuthenticIndexQueue(const Image *);
40
41extern MagickExport MagickBooleanType
42  CacheComponentGenesis(void),
43  GetOneVirtualMagickPixel(const Image *,const long,const long,
44    MagickPixelPacket *,ExceptionInfo *),
45  GetOneVirtualPixel(const Image *,const long,const long,PixelPacket *,
46    ExceptionInfo *),
47  GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const long,
48    const long,PixelPacket *,ExceptionInfo *),
49  GetOneAuthenticPixel(Image *,const long,const long,PixelPacket *,
50    ExceptionInfo *),
51  PersistPixelCache(Image *,const char *,const MagickBooleanType,
52    MagickOffsetType *,ExceptionInfo *),
53  SyncAuthenticPixels(Image *,ExceptionInfo *);
54
55extern MagickExport MagickSizeType
56  GetImageExtent(const Image *);
57
58extern MagickExport PixelPacket
59  *GetAuthenticPixels(Image *,const long,const long,const unsigned long,
60    const unsigned long,ExceptionInfo *),
61  *GetAuthenticPixelQueue(const Image *),
62  *QueueAuthenticPixels(Image *,const long,const long,const unsigned long,
63    const unsigned long,ExceptionInfo *);
64
65extern MagickExport VirtualPixelMethod
66  GetPixelCacheVirtualMethod(const Image *),
67  SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod);
68
69extern MagickExport void
70  CacheComponentTerminus(void),
71  *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *);
72
73#if defined(__cplusplus) || defined(c_plusplus)
74}
75#endif
76
77#endif
Note: See TracBrowser for help on using the browser.