| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifndef _MAGICKCORE_CACHE_VIEW_H |
|---|
| 19 | #define _MAGICKCORE_CACHE_VIEW_H |
|---|
| 20 | |
|---|
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | #include "magick/pixel.h" |
|---|
| 26 | |
|---|
| 27 | typedef enum |
|---|
| 28 | { |
|---|
| 29 | UndefinedVirtualPixelMethod, |
|---|
| 30 | BackgroundVirtualPixelMethod, |
|---|
| 31 | ConstantVirtualPixelMethod, |
|---|
| 32 | DitherVirtualPixelMethod, |
|---|
| 33 | EdgeVirtualPixelMethod, |
|---|
| 34 | MirrorVirtualPixelMethod, |
|---|
| 35 | RandomVirtualPixelMethod, |
|---|
| 36 | TileVirtualPixelMethod, |
|---|
| 37 | TransparentVirtualPixelMethod, |
|---|
| 38 | MaskVirtualPixelMethod, |
|---|
| 39 | BlackVirtualPixelMethod, |
|---|
| 40 | GrayVirtualPixelMethod, |
|---|
| 41 | WhiteVirtualPixelMethod, |
|---|
| 42 | HorizontalTileVirtualPixelMethod, |
|---|
| 43 | VerticalTileVirtualPixelMethod, |
|---|
| 44 | HorizontalTileEdgeVirtualPixelMethod, |
|---|
| 45 | VerticalTileEdgeVirtualPixelMethod, |
|---|
| 46 | CheckerTileVirtualPixelMethod |
|---|
| 47 | } VirtualPixelMethod; |
|---|
| 48 | |
|---|
| 49 | typedef struct _CacheView |
|---|
| 50 | CacheView; |
|---|
| 51 | |
|---|
| 52 | extern MagickExport ClassType |
|---|
| 53 | GetCacheViewStorageClass(const CacheView *); |
|---|
| 54 | |
|---|
| 55 | extern MagickExport ColorspaceType |
|---|
| 56 | GetCacheViewColorspace(const CacheView *); |
|---|
| 57 | |
|---|
| 58 | extern MagickExport const IndexPacket |
|---|
| 59 | *GetCacheViewVirtualIndexQueue(const CacheView *); |
|---|
| 60 | |
|---|
| 61 | extern MagickExport const PixelPacket |
|---|
| 62 | *GetCacheViewVirtualPixels(const CacheView *,const long,const long, |
|---|
| 63 | const unsigned long,const unsigned long,ExceptionInfo *), |
|---|
| 64 | *GetCacheViewVirtualPixelQueue(const CacheView *); |
|---|
| 65 | |
|---|
| 66 | extern MagickExport ExceptionInfo |
|---|
| 67 | *GetCacheViewException(const CacheView *); |
|---|
| 68 | |
|---|
| 69 | extern MagickExport IndexPacket |
|---|
| 70 | *GetCacheViewAuthenticIndexQueue(CacheView *); |
|---|
| 71 | |
|---|
| 72 | extern MagickExport MagickBooleanType |
|---|
| 73 | GetOneCacheViewVirtualPixel(const CacheView *,const long,const long, |
|---|
| 74 | PixelPacket *,ExceptionInfo *), |
|---|
| 75 | GetOneCacheViewVirtualMethodPixel(const CacheView *, |
|---|
| 76 | const VirtualPixelMethod,const long,const long,PixelPacket *, |
|---|
| 77 | ExceptionInfo *), |
|---|
| 78 | GetOneCacheViewAuthenticPixel(const CacheView *,const long,const long, |
|---|
| 79 | PixelPacket *,ExceptionInfo *), |
|---|
| 80 | SetCacheViewStorageClass(CacheView *,const ClassType), |
|---|
| 81 | SetCacheViewVirtualPixelMethod(CacheView *,const VirtualPixelMethod), |
|---|
| 82 | SyncCacheViewAuthenticPixels(CacheView *,ExceptionInfo *); |
|---|
| 83 | |
|---|
| 84 | extern MagickExport MagickSizeType |
|---|
| 85 | GetCacheViewExtent(const CacheView *); |
|---|
| 86 | |
|---|
| 87 | extern MagickExport PixelPacket |
|---|
| 88 | *GetCacheViewAuthenticPixelQueue(CacheView *), |
|---|
| 89 | *GetCacheViewAuthenticPixels(CacheView *,const long,const long, |
|---|
| 90 | const unsigned long,const unsigned long,ExceptionInfo *), |
|---|
| 91 | *QueueCacheViewAuthenticPixels(CacheView *,const long,const long, |
|---|
| 92 | const unsigned long,const unsigned long,ExceptionInfo *); |
|---|
| 93 | |
|---|
| 94 | extern MagickExport CacheView |
|---|
| 95 | *AcquireCacheView(const Image *), |
|---|
| 96 | *CloneCacheView(const CacheView *), |
|---|
| 97 | *DestroyCacheView(CacheView *); |
|---|
| 98 | |
|---|
| 99 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 100 | } |
|---|
| 101 | #endif |
|---|
| 102 | |
|---|
| 103 | #endif |
|---|