cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame] | 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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) |
| 22 | extern "C" { |
| 23 | #endif |
| 24 | |
| 25 | #include "magick/blob.h" |
| 26 | |
| 27 | extern MagickExport const IndexPacket |
| 28 | *GetVirtualIndexQueue(const Image *); |
| 29 | |
| 30 | extern MagickExport const PixelPacket |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 31 | *GetVirtualPixels(const Image *,const ssize_t,const ssize_t,const size_t, |
| 32 | const size_t,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 33 | *GetVirtualPixelQueue(const Image *); |
| 34 | |
cristy | d43a46b | 2010-01-21 02:13:41 +0000 | [diff] [blame] | 35 | extern MagickExport const void |
| 36 | *AcquirePixelCachePixels(const Image *,MagickSizeType *,ExceptionInfo *); |
| 37 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 38 | extern MagickExport IndexPacket |
| 39 | *GetAuthenticIndexQueue(const Image *); |
| 40 | |
| 41 | extern MagickExport MagickBooleanType |
cristy | f34a145 | 2009-10-24 22:29:27 +0000 | [diff] [blame] | 42 | CacheComponentGenesis(void), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 43 | GetOneVirtualMagickPixel(const Image *,const ssize_t,const ssize_t, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 44 | MagickPixelPacket *,ExceptionInfo *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 45 | GetOneVirtualPixel(const Image *,const ssize_t,const ssize_t,PixelPacket *, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 46 | ExceptionInfo *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 47 | GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const ssize_t, |
| 48 | const ssize_t,PixelPacket *,ExceptionInfo *), |
| 49 | GetOneAuthenticPixel(Image *,const ssize_t,const ssize_t,PixelPacket *, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 50 | ExceptionInfo *), |
| 51 | PersistPixelCache(Image *,const char *,const MagickBooleanType, |
| 52 | MagickOffsetType *,ExceptionInfo *), |
| 53 | SyncAuthenticPixels(Image *,ExceptionInfo *); |
| 54 | |
| 55 | extern MagickExport MagickSizeType |
| 56 | GetImageExtent(const Image *); |
| 57 | |
| 58 | extern MagickExport PixelPacket |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 59 | *GetAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t, |
| 60 | const size_t,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 61 | *GetAuthenticPixelQueue(const Image *), |
cristy | bb50337 | 2010-05-27 20:51:26 +0000 | [diff] [blame] | 62 | *QueueAuthenticPixels(Image *,const ssize_t,const ssize_t,const size_t, |
| 63 | const size_t,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 64 | |
| 65 | extern MagickExport VirtualPixelMethod |
| 66 | GetPixelCacheVirtualMethod(const Image *), |
| 67 | SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod); |
| 68 | |
| 69 | extern MagickExport void |
cristy | 5eb7e61 | 2010-01-05 02:00:12 +0000 | [diff] [blame] | 70 | CacheComponentTerminus(void), |
| 71 | *GetPixelCachePixels(Image *,MagickSizeType *,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 72 | |
| 73 | #if defined(__cplusplus) || defined(c_plusplus) |
| 74 | } |
| 75 | #endif |
| 76 | |
| 77 | #endif |