18#ifndef MAGICKCORE_CACHE_VIEW_H
19#define MAGICKCORE_CACHE_VIEW_H
21#include "MagickCore/pixel.h"
23#if defined(__cplusplus) || defined(c_plusplus)
29 UndefinedVirtualPixelMethod,
30 BackgroundVirtualPixelMethod,
31 DitherVirtualPixelMethod,
32 EdgeVirtualPixelMethod,
33 MirrorVirtualPixelMethod,
34 RandomVirtualPixelMethod,
35 TileVirtualPixelMethod,
36 TransparentVirtualPixelMethod,
37 MaskVirtualPixelMethod,
38 BlackVirtualPixelMethod,
39 GrayVirtualPixelMethod,
40 WhiteVirtualPixelMethod,
41 HorizontalTileVirtualPixelMethod,
42 VerticalTileVirtualPixelMethod,
43 HorizontalTileEdgeVirtualPixelMethod,
44 VerticalTileEdgeVirtualPixelMethod,
45 CheckerTileVirtualPixelMethod
51extern MagickExport CacheView
52 *AcquireAuthenticCacheView(
const Image *,ExceptionInfo *),
53 *AcquireVirtualCacheView(
const Image *,ExceptionInfo *),
54 *CloneCacheView(
const CacheView *),
55 *DestroyCacheView(CacheView *);
57extern MagickExport ClassType
58 GetCacheViewStorageClass(
const CacheView *) magick_attribute((__pure__));
60extern MagickExport ColorspaceType
61 GetCacheViewColorspace(
const CacheView *) magick_attribute((__pure__));
63extern MagickExport
const Image
64 *GetCacheViewImage(
const CacheView *) magick_attribute((__pure__));
66extern MagickExport
const Quantum
67 *GetCacheViewVirtualPixels(
const CacheView *,
const ssize_t,
const ssize_t,
68 const size_t,
const size_t,ExceptionInfo *) magick_hot_spot,
69 *GetCacheViewVirtualPixelQueue(
const CacheView *) magick_hot_spot;
71extern MagickExport
const void
72 *GetCacheViewVirtualMetacontent(
const CacheView *)
73 magick_attribute((__pure__));
75extern MagickExport MagickBooleanType
76 GetOneCacheViewAuthenticPixel(
const CacheView *,
const ssize_t,
const ssize_t,
77 Quantum *,ExceptionInfo *),
78 GetOneCacheViewVirtualMethodPixel(
const CacheView *,
const VirtualPixelMethod,
79 const ssize_t,
const ssize_t,Quantum *,ExceptionInfo *),
80 GetOneCacheViewVirtualPixel(
const CacheView *,
const ssize_t,
const ssize_t,
81 Quantum *,ExceptionInfo *),
82 GetOneCacheViewVirtualPixelInfo(
const CacheView *,
const ssize_t,
const ssize_t,
83 PixelInfo *,ExceptionInfo *),
84 SetCacheViewStorageClass(CacheView *,
const ClassType,ExceptionInfo *),
85 SetCacheViewVirtualPixelMethod(CacheView *magick_restrict,
86 const VirtualPixelMethod),
87 SyncCacheViewAuthenticPixels(CacheView *magick_restrict,ExceptionInfo *)
90extern MagickExport MagickSizeType
91 GetCacheViewExtent(
const CacheView *) magick_attribute((__pure__));
93extern MagickExport Quantum
94 *GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot,
95 *GetCacheViewAuthenticPixels(CacheView *,
const ssize_t,
const ssize_t,
96 const size_t,
const size_t,ExceptionInfo *) magick_hot_spot,
97 *QueueCacheViewAuthenticPixels(CacheView *,
const ssize_t,
const ssize_t,
98 const size_t,
const size_t,ExceptionInfo *) magick_hot_spot;
100extern MagickExport
void
101 *GetCacheViewAuthenticMetacontent(CacheView *);
103#if defined(__cplusplus) || defined(c_plusplus)