MagickCore  7.0.7
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 "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 *);
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 
75  GetOneCacheViewAuthenticPixel(const CacheView *,const ssize_t,const ssize_t,
77  GetOneCacheViewVirtualMethodPixel(const CacheView *,const VirtualPixelMethod,
78  const ssize_t,const ssize_t,Quantum *,ExceptionInfo *),
79  GetOneCacheViewVirtualPixel(const CacheView *,const ssize_t,const ssize_t,
81  GetOneCacheViewVirtualPixelInfo(const CacheView *,const ssize_t,const ssize_t,
85  const VirtualPixelMethod),
88 
91 
92 extern MagickExport Quantum
94  *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
95  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
96  *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
97  const size_t,const size_t,ExceptionInfo *) magick_hot_spot;
98 
99 extern MagickExport void
101 
102 #if defined(__cplusplus) || defined(c_plusplus)
103 }
104 #endif
105 
106 #endif
#define magick_restrict
Definition: MagickCore.h:41
MagickExport const Quantum * GetCacheViewVirtualPixelQueue(const CacheView *) magick_hot_spot
Definition: cache-view.c:601
MagickExport const void * GetCacheViewVirtualMetacontent(const CacheView *)
Definition: cache-view.c:558
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 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
MagickExport CacheView * AcquireAuthenticCacheView(const Image *, ExceptionInfo *)
MagickExport MagickBooleanType GetOneCacheViewVirtualPixel(const CacheView *, const ssize_t, const ssize_t, Quantum *, ExceptionInfo *)
MagickBooleanType
Definition: magick-type.h:156
ClassType
Definition: magick-type.h:149
MagickExport MagickBooleanType SetCacheViewVirtualPixelMethod(CacheView *magick_restrict, const VirtualPixelMethod)
#define magick_hot_spot
size_t MagickSizeType
Definition: magick-type.h:128
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 *)
Definition: cache-view.c:414
MagickExport MagickSizeType GetCacheViewExtent(const CacheView *)
Definition: cache-view.c:448
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 ClassType GetCacheViewStorageClass(const CacheView *)
Definition: cache-view.c:523
MagickExport const Image * GetCacheViewImage(const CacheView *)
Definition: cache-view.c:490
MagickExport CacheView * DestroyCacheView(CacheView *)
Definition: cache-view.c:252
#define MagickExport
MagickExport void * GetCacheViewAuthenticMetacontent(CacheView *)
Definition: cache-view.c:342