root/ImageMagick/trunk/magick/cache.h

Revision 446, 2.4 KB (checked in by cristy, 4 weeks ago)
Line 
1/*
2  Copyright 1999-2009 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 IndexPacket
36  *GetAuthenticIndexQueue(const Image *);
37
38extern 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
52extern MagickExport MagickSizeType
53  GetImageExtent(const Image *);
54
55extern 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
62extern MagickExport VirtualPixelMethod
63  GetPixelCacheVirtualMethod(const Image *),
64  SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod);
65
66extern MagickExport void
67  CacheComponentTerminus(void);
68
69#if defined(__cplusplus) || defined(c_plusplus)
70}
71#endif
72
73#endif
Note: See TracBrowser for help on using the browser.