blob: 95fd84d22cc4166b8e05e91d5da05f1e3cea95f4 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy7e41fe82010-12-04 23:12:08 +00002 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 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
cristy4c08aed2011-07-01 19:47:50 +000025#include "MagickCore/blob.h"
cristy3ed852e2009-09-05 21:47:34 +000026
cristy4c08aed2011-07-01 19:47:50 +000027extern MagickExport const Quantum
cristybb503372010-05-27 20:51:26 +000028 *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t,
29 const size_t,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000030 *GetVirtualPixelQueue(const Image *);
31
cristyd43a46b2010-01-21 02:13:41 +000032extern MagickExport const void
cristy4c08aed2011-07-01 19:47:50 +000033 *GetVirtualMetacontent(const Image *);
cristy3ed852e2009-09-05 21:47:34 +000034
35extern MagickExport MagickBooleanType
cristybb503372010-05-27 20:51:26 +000036 GetOneVirtualMagickPixel(const Image *,const ssize_t,const ssize_t,
cristy4c08aed2011-07-01 19:47:50 +000037 PixelInfo *,ExceptionInfo *),
cristy2ed42f62011-10-02 19:49:57 +000038 GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,Quantum *,
cristy3ed852e2009-09-05 21:47:34 +000039 ExceptionInfo *),
cristybb503372010-05-27 20:51:26 +000040 GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const ssize_t,
cristy2ed42f62011-10-02 19:49:57 +000041 const ssize_t,Quantum *,ExceptionInfo *),
42 GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
cristy3ed852e2009-09-05 21:47:34 +000043 ExceptionInfo *),
44 PersistPixelCache(Image *,const char *,const MagickBooleanType,
45 MagickOffsetType *,ExceptionInfo *),
cristyd1dd6e42011-09-04 01:46:08 +000046 SyncAuthenticPixels(Image *,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000047
48extern MagickExport MagickSizeType
49 GetImageExtent(const Image *);
50
cristy4c08aed2011-07-01 19:47:50 +000051extern MagickExport Quantum
cristybb503372010-05-27 20:51:26 +000052 *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
53 const size_t,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000054 *GetAuthenticPixelQueue(const Image *),
cristybb503372010-05-27 20:51:26 +000055 *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
56 const size_t,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000057
cristy3ed852e2009-09-05 21:47:34 +000058extern MagickExport void
cristyd1dd6e42011-09-04 01:46:08 +000059 *GetAuthenticMetacontent(const Image *);
cristy3ed852e2009-09-05 21:47:34 +000060
61#if defined(__cplusplus) || defined(c_plusplus)
62}
63#endif
64
65#endif