cache.inc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
  3. dedicated to making software imaging solutions freely available.
  4. You may not use this file except in compliance with the License.
  5. obtain a copy of the License at
  6. http://www.imagemagick.org/script/license.php
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. MagickCore cache methods.
  13. }
  14. {
  15. Based on ImageMagick 6.5.7
  16. }
  17. //#include "magick/blob.h"
  18. {extern MagickExport const IndexPacket
  19. *GetVirtualIndexQueue(const Image *);
  20. extern MagickExport const PixelPacket
  21. *GetVirtualPixels(const Image *,const long,const long,const unsigned long,
  22. const unsigned long,ExceptionInfo *),
  23. *GetVirtualPixelQueue(const Image *);
  24. extern MagickExport IndexPacket
  25. *GetAuthenticIndexQueue(const Image *);
  26. extern MagickExport MagickBooleanType
  27. GetOneVirtualMagickPixel(const Image *,const long,const long,
  28. MagickPixelPacket *,ExceptionInfo *),
  29. GetOneVirtualPixel(const Image *,const long,const long,PixelPacket *,
  30. ExceptionInfo *),
  31. GetOneVirtualMethodPixel(const Image *,const VirtualPixelMethod,const long,
  32. const long,PixelPacket *,ExceptionInfo *),
  33. GetOneAuthenticPixel(Image *,const long,const long,PixelPacket *,
  34. ExceptionInfo *),
  35. InstantiateCacheComponent(void),
  36. PersistPixelCache(Image *,const AnsiChar *,const MagickBooleanType,
  37. MagickOffsetType *,ExceptionInfo *),
  38. SyncAuthenticPixels(Image *,ExceptionInfo *);
  39. extern MagickExport MagickSizeType
  40. GetImageExtent(const Image *);}
  41. //extern MagickExport PixelPacket
  42. function GetAuthenticPixels(_image: PImage; const x, y: clong;
  43. const columns, rows: culong; exception: PExceptionInfo
  44. ): PPixelPacket; cdecl; external MagickExport;
  45. // *GetAuthenticPixelQueue(const Image *),
  46. // *QueueAuthenticPixels(Image *,const long,const long,const unsigned long,
  47. // const unsigned long,ExceptionInfo *);
  48. {extern MagickExport VirtualPixelMethod
  49. GetPixelCacheVirtualMethod(const Image *),
  50. SetPixelCacheVirtualMethod(const Image *,const VirtualPixelMethod);
  51. extern MagickExport void
  52. DestroyCacheFaclity(void);}