MagickCore  6.8.5
cache-view.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2013 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  http://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 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 #include "magick/pixel.h"
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 
77  *GetCacheViewAuthenticIndexQueue(CacheView *);
78 
80  GetOneCacheViewVirtualPixel(const CacheView *,const ssize_t,const ssize_t,
82  GetOneCacheViewVirtualMethodPixel(const CacheView *,
83  const VirtualPixelMethod,const ssize_t,const ssize_t,PixelPacket *,
84  ExceptionInfo *),
85  GetOneCacheViewAuthenticPixel(const CacheView *,const ssize_t,const ssize_t,
86  PixelPacket *,ExceptionInfo *),
87  SetCacheViewStorageClass(CacheView *,const ClassType),
88  SetCacheViewVirtualPixelMethod(CacheView *,const VirtualPixelMethod),
89  SyncCacheViewAuthenticPixels(CacheView *,ExceptionInfo *) magick_hot_spot;
90 
92  GetCacheViewExtent(const CacheView *);
93 
94 extern MagickExport size_t
95  GetCacheViewChannels(const CacheView *);
96 
97 extern MagickExport PixelPacket
98  *GetCacheViewAuthenticPixelQueue(CacheView *) magick_hot_spot,
99  *GetCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
100  const size_t,const size_t,ExceptionInfo *) magick_hot_spot,
101  *QueueCacheViewAuthenticPixels(CacheView *,const ssize_t,const ssize_t,
102  const size_t,const size_t,ExceptionInfo *) magick_hot_spot;
103 
104 #if defined(__cplusplus) || defined(c_plusplus)
105 }
106 #endif
107 
108 #endif