MagickCore  7.0.8
Convert, Edit, Or Compose Bitmap Images
cache-view.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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 "MagickCore/pixel.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
47 
48 typedef struct _CacheView
49  CacheView;
50 
54  *CloneCacheView(const CacheView *),
56 
59 
62 
63 extern MagickExport const Image
64  *GetCacheViewImage(const CacheView *) magick_attribute((__pure__));
65 
66 extern MagickExport const Quantum
67  *GetCacheViewVirtualPixels(const CacheView *,const ssize_t,const ssize_t,
68  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
70 
71 extern MagickExport const void
73  magick_attribute((__pure__));
74 
76  GetOneCacheViewAuthenticPixel(const CacheView *,const ssize_t,const ssize_t,
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,
82  GetOneCacheViewVirtualPixelInfo(const CacheView *,const ssize_t,const ssize_t,
86  const VirtualPixelMethod),
89 
91  GetCacheViewExtent(const CacheView *) magick_attribute((__pure__));
92 
93 extern MagickExport Quantum
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;
99 
100 extern MagickExport void
102 
103 #if defined(__cplusplus) || defined(c_plusplus)
104 }
105 #endif
106 
107 #endif
#define magick_restrict
Definition: MagickCore.h:41
MagickExport const Quantum * GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot
Definition: cache-view.c:601
Definition: cache-view.h:43
Definition: cache-view.h:40
MagickExport ClassType GetCacheViewStorageClass(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:523
Definition: exception.h:101
Definition: cache-view.h:32
VirtualPixelMethod
Definition: cache-view.h:27
Definition: cache-view.h:45
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *, const ClassType, ExceptionInfo *)
Definition: cache-view.c:65
MagickExport Quantum * GetCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
MagickExport const Quantum * GetCacheViewVirtualPixels(const CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
MagickExport MagickBooleanType GetOneCacheViewVirtualPixelInfo(const CacheView *, const ssize_t, const ssize_t, PixelInfo *, ExceptionInfo *)
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:448
MagickExport Quantum * GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot
MagickExport MagickBooleanType GetOneCacheViewVirtualMethodPixel(const CacheView *, const VirtualPixelMethod, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
MagickExport CacheView * CloneCacheView(const CacheView *)
Definition: image.h:151
#define magick_attribute(x)
Definition: method-attribute.h:104
Definition: cache-view.h:33
MagickExport CacheView * AcquireAuthenticCacheView(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
MagickBooleanType
Definition: magick-type.h:158
ClassType
Definition: magick-type.h:151
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict, const VirtualPixelMethod)
Definition: cache-view.h:29
#define magick_hot_spot
Definition: method-attribute.h:122
size_t MagickSizeType
Definition: magick-type.h:130
MagickExport Quantum * QueueCacheViewAuthenticPixels(CacheView *, const ssize_t, const ssize_t, const size_t, const size_t, ExceptionInfo *) magick_hot_spot
Definition: cache-view.c:977
MagickExport ColorspaceType GetCacheViewColorspace(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:414
Definition: cache-view.h:42
Definition: cache-view.h:35
Definition: cache-view.h:39
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
Definition: cache-view.h:44
unsigned short Quantum
Definition: magick-type.h:82
MagickExport CacheView * AcquireVirtualCacheView(const Image *, ExceptionInfo *)
Definition: cache-view.h:31
ColorspaceType
Definition: colorspace.h:25
Definition: cache-view.h:36
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:252
Definition: cache-view.h:37
#define MagickExport
Definition: method-attribute.h:80
Definition: pixel.h:170
Definition: cache-view.h:41
Definition: cache-view.h:34
MagickExport void * GetCacheViewAuthenticMetacontent(CacheView *)
Definition: cache-view.c:342
Definition: cache-view.h:30
MagickExport const void * GetCacheViewVirtualMetacontent(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:558
Definition: cache-view.h:38
MagickExport const Image * GetCacheViewImage(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:490