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.
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,
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
MagickExport ClassType GetCacheViewStorageClass(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:523
VirtualPixelMethod
Definition: cache-view.h:27
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict, ExceptionInfo *) magick_hot_spot
MagickExport MagickBooleanType SetCacheViewStorageClass(CacheView *, const ClassType, ExceptionInfo *)
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)
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)
#define magick_hot_spot
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
MagickExport MagickBooleanType GetOneCacheViewAuthenticPixel(const CacheView *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
unsigned short Quantum
Definition: magick-type.h:82
MagickExport CacheView * AcquireVirtualCacheView(const Image *, ExceptionInfo *)
ColorspaceType
Definition: colorspace.h:25
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:252
#define MagickExport
MagickExport void * GetCacheViewAuthenticMetacontent(CacheView *)
Definition: cache-view.c:342
MagickExport const void * GetCacheViewVirtualMetacontent(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:558
MagickExport const Image * GetCacheViewImage(const CacheView *) magick_attribute((__pure__))
Definition: cache-view.c:490