blob: 6902644f50d3a76310af22f3acc0e563bf8c15ac [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
cristy52010022011-10-21 18:07:37 +000036 GetOneVirtualMagickPixel(const Image *,const VirtualPixelMethod,
37 const ssize_t,const ssize_t,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 *),
cristy2ed42f62011-10-02 19:49:57 +000040 GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,Quantum *,
cristy3ed852e2009-09-05 21:47:34 +000041 ExceptionInfo *),
42 PersistPixelCache(Image *,const char *,const MagickBooleanType,
43 MagickOffsetType *,ExceptionInfo *),
cristyd1dd6e42011-09-04 01:46:08 +000044 SyncAuthenticPixels(Image *,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000045
46extern MagickExport MagickSizeType
47 GetImageExtent(const Image *);
48
cristy4c08aed2011-07-01 19:47:50 +000049extern MagickExport Quantum
cristybb503372010-05-27 20:51:26 +000050 *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
51 const size_t,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000052 *GetAuthenticPixelQueue(const Image *),
cristybb503372010-05-27 20:51:26 +000053 *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t,
54 const size_t,ExceptionInfo *);
cristy3ed852e2009-09-05 21:47:34 +000055
cristy3ed852e2009-09-05 21:47:34 +000056extern MagickExport void
cristyd1dd6e42011-09-04 01:46:08 +000057 *GetAuthenticMetacontent(const Image *);
cristy3ed852e2009-09-05 21:47:34 +000058
59#if defined(__cplusplus) || defined(c_plusplus)
60}
61#endif
62
63#endif