MagickCore  6.9.11-60
Convert, Edit, Or Compose Bitmap Images
cache-view.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2021 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. You may
6  obtain a copy of the License at
7 
8  https://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 view methods.
17 */
18 #ifndef MAGICKCORE_CACHE_VIEW_H
19 #define MAGICKCORE_CACHE_VIEW_H
20 
21 #include "magick/pixel.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
31  ConstantVirtualPixelMethod, /* deprecated */
48 
49 typedef struct _CacheView
50  CacheView;
51 
58 
61 
64 
65 extern MagickExport const IndexPacket
67  magick_attribute((__pure__));
68 
69 extern MagickExport const PixelPacket
70  *GetCacheViewVirtualPixels(const CacheView *,const ssize_t,const ssize_t,
71  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
73 
75  *GetCacheViewException(const CacheView *) magick_attribute((__pure__));
76 
79 
82  const ssize_t,PixelPacket *magick_restrict,ExceptionInfo *),
84  const VirtualPixelMethod,const ssize_t,const ssize_t,PixelPacket *,
85  ExceptionInfo *),
87  const ssize_t,PixelPacket *magick_restrict,ExceptionInfo *),
90  const VirtualPixelMethod),
93 
96 
97 extern MagickExport size_t
99 
102  *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
103  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
104  *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
105  const size_t,const size_t,ExceptionInfo *) magick_hot_spot;
106 
107 #if defined(__cplusplus) || defined(c_plusplus)
108 }
109 #endif
110 
111 #endif
#define magick_restrict
Definition: MagickCore.h:41
MagickExport ExceptionInfo * GetCacheViewException(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:361
MagickExport CacheView * AcquireAuthenticCacheView(const Image *, ExceptionInfo *)
MagickExport CacheView * AcquireCacheView(const Image *)
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *)
Definition: cache-view.c:395
MagickExport PixelPacket * GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot
MagickExport const IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:638
MagickExport ColorspaceType GetCacheViewColorspace(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:328
MagickExport ClassType GetCacheViewStorageClass(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:434
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
VirtualPixelMethod
Definition: cache-view.h:28
@ CheckerTileVirtualPixelMethod
Definition: cache-view.h:46
@ WhiteVirtualPixelMethod
Definition: cache-view.h:41
@ TransparentVirtualPixelMethod
Definition: cache-view.h:37
@ DitherVirtualPixelMethod
Definition: cache-view.h:32
@ HorizontalTileEdgeVirtualPixelMethod
Definition: cache-view.h:44
@ HorizontalTileVirtualPixelMethod
Definition: cache-view.h:42
@ VerticalTileVirtualPixelMethod
Definition: cache-view.h:43
@ BackgroundVirtualPixelMethod
Definition: cache-view.h:30
@ RandomVirtualPixelMethod
Definition: cache-view.h:35
@ BlackVirtualPixelMethod
Definition: cache-view.h:39
@ GrayVirtualPixelMethod
Definition: cache-view.h:40
@ UndefinedVirtualPixelMethod
Definition: cache-view.h:29
@ ConstantVirtualPixelMethod
Definition: cache-view.h:31
@ EdgeVirtualPixelMethod
Definition: cache-view.h:33
@ MirrorVirtualPixelMethod
Definition: cache-view.h:34
@ TileVirtualPixelMethod
Definition: cache-view.h:36
@ VerticalTileEdgeVirtualPixelMethod
Definition: cache-view.h:45
@ MaskVirtualPixelMethod
Definition: cache-view.h:38
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:256
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
MagickExport const PixelPacket * GetCacheViewVirtualPixels(const CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:564
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
MagickExport CacheView * AcquireVirtualCacheView(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *, const ClassType)
MagickExport CacheView * CloneCacheView(const CacheView *)
MagickExport size_t GetCacheViewChannels(const CacheView *)
Definition: cache-view.c:295
MagickExport PixelPacket * QueueCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache-view.c:883
MagickExport const PixelPacket * GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot
Definition: cache-view.c:677
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict, const VirtualPixelMethod)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
ColorspaceType
Definition: colorspace.h:26
MagickExport MagickBooleanType magick_attribute((deprecated))
ClassType
Definition: magick-type.h:196
size_t MagickSizeType
Definition: magick-type.h:140
MagickBooleanType
Definition: magick-type.h:203
#define MagickExport
Definition: method-attribute.h:80
#define magick_hot_spot
Definition: method-attribute.h:122
Quantum IndexPacket
Definition: pixel.h:129
Definition: cache-view.c:66
Definition: exception.h:103
Definition: image.h:153
Definition: pixel.h:132