MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
cache-view.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2018 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.
6  obtain a copy of the License at
7 
8  https://www.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 
54  *AcquireCacheView(const Image *),
56  *CloneCacheView(const CacheView *),
58 
61 
64 
65 extern MagickExport const IndexPacket
67 
68 extern MagickExport const PixelPacket
69  *GetCacheViewVirtualPixels(const CacheView *,const ssize_t,const ssize_t,
70  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
72 
75 
78 
81  const ssize_t,PixelPacket *magick_restrict,ExceptionInfo *),
83  const VirtualPixelMethod,const ssize_t,const ssize_t,PixelPacket *,
84  ExceptionInfo *),
86  const ssize_t,PixelPacket *magick_restrict,ExceptionInfo *),
89  const VirtualPixelMethod),
92 
95 
96 extern MagickExport size_t
98 
101  *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
102  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
103  *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
104  const size_t,const size_t,ExceptionInfo *) magick_hot_spot;
105 
106 #if defined(__cplusplus) || defined(c_plusplus)
107 }
108 #endif
109 
110 #endif
#define magick_restrict
Definition: MagickCore.h:41
Definition: cache-view.h:44
MagickExport ExceptionInfo * GetCacheViewException(const CacheView *)
Definition: cache-view.c:361
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *)
Definition: cache-view.c:564
Definition: cache-view.h:41
Definition: exception.h:102
MagickExport CacheView * AcquireCacheView(const Image *)
Definition: cache-view.h:33
VirtualPixelMethod
Definition: cache-view.h:27
MagickExport const PixelPacket * GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot
Definition: cache-view.c:677
Definition: cache-view.h:31
Definition: cache-view.h:46
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
Definition: cache-view.c:65
Definition: pixel.h:131
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
MagickExport PixelPacket * GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot
MagickExport CacheView * CloneCacheView(const CacheView *)
Definition: image.h:152
Definition: cache-view.h:34
MagickExport CacheView * AcquireAuthenticCacheView(const Image *, ExceptionInfo *)
MagickBooleanType
Definition: magick-type.h:189
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *magick_restrict, const ssize_t, const ssize_t, PixelPacket *magick_restrict, ExceptionInfo *)
ClassType
Definition: magick-type.h:182
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict, const VirtualPixelMethod)
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView *, const VirtualPixelMethod, const ssize_t, const ssize_t, PixelPacket *, ExceptionInfo *)
Definition: cache-view.h:29
#define magick_hot_spot
Definition: method-attribute.h:140
size_t MagickSizeType
Definition: magick-type.h:134
MagickExport ColorspaceType GetCacheViewColorspace(const CacheView *)
Definition: cache-view.c:328
Definition: cache-view.h:43
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *)
Definition: cache-view.c:395
Definition: cache-view.h:36
Definition: cache-view.h:40
MagickExport const IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *)
Definition: cache-view.c:638
Definition: cache-view.h:45
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *, const ClassType)
MagickExport CacheView * AcquireVirtualCacheView(const Image *, ExceptionInfo *)
Definition: cache-view.h:32
ColorspaceType
Definition: colorspace.h:25
MagickExport ClassType GetCacheViewStorageClass(const CacheView *)
Definition: cache-view.c:434
MagickExport const PixelPacket * GetCacheViewVirtualPixels(const CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache-view.h:37
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:256
Definition: cache-view.h:38
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
#define MagickExport
Definition: method-attribute.h:98
MagickExport size_t GetCacheViewChannels(const CacheView *)
Definition: cache-view.c:295
Quantum IndexPacket
Definition: pixel.h:129
Definition: cache-view.h:42
Definition: cache-view.h:35
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
Definition: cache-view.h:30
Definition: cache-view.h:39