cache.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore cache methods.
00017 */
00018 #ifndef _MAGICKCORE_CACHE_H
00019 #define _MAGICKCORE_CACHE_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 #include "magick/blob.h"
00026 
00027 extern MagickExport const IndexPacket
00028   *GetVirtualIndexQueue(const Image *);
00029 
00030 extern MagickExport const PixelPacket
00031   *GetVirtualPixels(const Image *,const long,const long,const unsigned long,
00032     const unsigned long,ExceptionInfo *),
00033   *GetVirtualPixelQueue(const Image *);
00034 
00035 extern MagickExport IndexPacket
00036   *GetAuthenticIndexQueue(const Image *);
00037 
00038 extern MagickExport MagickBooleanType
00039   GetOneVirtualMagickPixel(const Image *,const long,const long,
00040     MagickPixelPacket *,ExceptionInfo *),
00041   GetOneVirtualPixel(const Image *,const long,const long,PixelPacket *,
00042     ExceptionInfo *),
00043   GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const long,
00044     const long,PixelPacket *,ExceptionInfo *),
00045   GetOneAuthenticPixel(Image *,const long,const long,PixelPacket *,
00046     ExceptionInfo *),
00047   PersistPixelCache(Image *,const char *,const MagickBooleanType,
00048     MagickOffsetType *,ExceptionInfo *),
00049   SyncAuthenticPixels(Image *,ExceptionInfo *);
00050 
00051 extern MagickExport MagickSizeType
00052   GetImageExtent(const Image *);
00053 
00054 extern MagickExport PixelPacket
00055   *GetAuthenticPixels(Image *,const long,const long,const unsigned long,
00056     const unsigned long,ExceptionInfo *),
00057   *GetAuthenticPixelQueue(const Image *),
00058   *QueueAuthenticPixels(Image *,const long,const long,const unsigned long,
00059     const unsigned long,ExceptionInfo *);
00060 
00061 extern MagickExport VirtualPixelMethod
00062   GetPixelCacheVirtualMethod(const Image *),
00063   SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod);
00064 
00065 extern MagickExport void
00066   DestroyPixelCacheResources(void);
00067 
00068 #if defined(__cplusplus) || defined(c_plusplus)
00069 }
00070 #endif
00071 
00072 #endif

Generated on Thu Jul 2 12:03:13 2009 for MagickCore by  doxygen 1.5.8