root / ImageMagick / branches / ImageMagick-6.3.5 / magick / cache.h

Revision 8008, 1.8 kB (checked in by cristy, 14 months ago)
Line 
1/*
2  Copyright 1999-2007 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 PixelPacket
28  *AcquireCacheNexus(const Image *,const VirtualPixelMethod,const long,
29    const long,const unsigned long,const unsigned long,const unsigned long,
30    ExceptionInfo *);
31
32extern MagickExport MagickSizeType
33  GetPixelCacheArea(const Image *);
34
35extern MagickExport MagickBooleanType
36  PersistCache(Image *,const char *,const MagickBooleanType,MagickOffsetType *,
37    ExceptionInfo *),
38  SyncCacheNexus(Image *,const unsigned long);
39
40extern MagickExport PixelPacket
41  *GetCacheNexus(Image *,const long,const long,const unsigned long,
42    const unsigned long,const unsigned long),
43  *SetCacheNexus(Image *,const long,const long,const unsigned long,
44    const unsigned long,const unsigned long);
45
46extern MagickExport VirtualPixelMethod
47  GetCacheVirtualPixelMethod(const Image *),
48  SetCacheVirtualPixelMethod(const Image *,const VirtualPixelMethod);
49
50extern MagickExport void
51  DestroyCacheResources(void);
52
53#if defined(__cplusplus) || defined(c_plusplus)
54}
55#endif
56
57#endif
Note: See TracBrowser for help on using the browser.