cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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) |
| 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 |
| 31 | *GetVirtualPixels(const Image *,const long,const long,const unsigned long, |
| 32 | const unsigned long,ExceptionInfo *), |
| 33 | *GetVirtualPixelQueue(const Image *); |
| 34 | |
| 35 | extern MagickExport IndexPacket |
| 36 | *GetAuthenticIndexQueue(const Image *); |
| 37 | |
| 38 | extern MagickExport MagickBooleanType |
| 39 | GetOneVirtualMagickPixel(const Image *,const long,const long, |
| 40 | MagickPixelPacket *,ExceptionInfo *), |
| 41 | GetOneVirtualPixel(const Image *,const long,const long,PixelPacket *, |
| 42 | ExceptionInfo *), |
| 43 | GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const long, |
| 44 | const long,PixelPacket *,ExceptionInfo *), |
| 45 | GetOneAuthenticPixel(Image *,const long,const long,PixelPacket *, |
| 46 | ExceptionInfo *), |
| 47 | PersistPixelCache(Image *,const char *,const MagickBooleanType, |
| 48 | MagickOffsetType *,ExceptionInfo *), |
| 49 | SyncAuthenticPixels(Image *,ExceptionInfo *); |
| 50 | |
| 51 | extern MagickExport MagickSizeType |
| 52 | GetImageExtent(const Image *); |
| 53 | |
| 54 | extern MagickExport PixelPacket |
| 55 | *GetAuthenticPixels(Image *,const long,const long,const unsigned long, |
| 56 | const unsigned long,ExceptionInfo *), |
| 57 | *GetAuthenticPixelQueue(const Image *), |
| 58 | *QueueAuthenticPixels(Image *,const long,const long,const unsigned long, |
| 59 | const unsigned long,ExceptionInfo *); |
| 60 | |
| 61 | extern MagickExport VirtualPixelMethod |
| 62 | GetPixelCacheVirtualMethod(const Image *), |
| 63 | SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod); |
| 64 | |
| 65 | extern MagickExport void |
| 66 | DestroyPixelCacheResources(void); |
| 67 | |
| 68 | #if defined(__cplusplus) || defined(c_plusplus) |
| 69 | } |
| 70 | #endif |
| 71 | |
| 72 | #endif |