MagickCore
6.8.5
cache.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 methods.
17
*/
18
#ifndef _MAGICKCORE_CACHE_H
19
#define _MAGICKCORE_CACHE_H
20
21
#if defined(__cplusplus) || defined(c_plusplus)
22
extern
"C"
{
23
#endif
24
25
#include "
magick/blob.h
"
26
27
typedef
enum
28
{
29
UndefinedCache
,
30
MemoryCache
,
31
MapCache
,
32
DiskCache
,
33
PingCache
,
34
DistributedCache
35
}
CacheType
;
36
37
extern
MagickExport
CacheType
38
GetImagePixelCacheType
(
const
Image
*);
39
40
extern
MagickExport
const
IndexPacket
41
*
GetVirtualIndexQueue
(
const
Image
*);
42
43
extern
MagickExport
const
PixelPacket
44
*
GetVirtualPixels
(
const
Image
*,
const
ssize_t,
const
ssize_t,
const
size_t
,
45
const
size_t
,
ExceptionInfo
*),
46
*
GetVirtualPixelQueue
(
const
Image
*);
47
48
extern
MagickExport
const
void
49
*
AcquirePixelCachePixels
(
const
Image
*,
MagickSizeType
*,
ExceptionInfo
*);
50
51
extern
MagickExport
IndexPacket
52
*
GetAuthenticIndexQueue
(
const
Image
*);
53
54
extern
MagickExport
MagickBooleanType
55
CacheComponentGenesis
(
void
),
56
GetOneVirtualMagickPixel
(
const
Image
*,
const
ssize_t,
const
ssize_t,
57
MagickPixelPacket
*,
ExceptionInfo
*),
58
GetOneVirtualPixel
(
const
Image
*,
const
ssize_t,
const
ssize_t,
PixelPacket
*,
59
ExceptionInfo
*),
60
GetOneVirtualMethodPixel
(
const
Image
*,
const
VirtualPixelMethod
,
const
ssize_t,
61
const
ssize_t,
PixelPacket
*,
ExceptionInfo
*),
62
GetOneAuthenticPixel
(
Image
*,
const
ssize_t,
const
ssize_t,
PixelPacket
*,
63
ExceptionInfo
*),
64
PersistPixelCache
(
Image
*,
const
char
*,
const
MagickBooleanType
,
65
MagickOffsetType
*,
ExceptionInfo
*),
66
SyncAuthenticPixels
(
Image
*,
ExceptionInfo
*);
67
68
extern
MagickExport
MagickSizeType
69
GetImageExtent
(
const
Image
*);
70
71
extern
MagickExport
PixelPacket
72
*
GetAuthenticPixels
(
Image
*,
const
ssize_t,
const
ssize_t,
const
size_t
,
73
const
size_t
,
ExceptionInfo
*),
74
*
GetAuthenticPixelQueue
(
const
Image
*),
75
*
QueueAuthenticPixels
(
Image
*,
const
ssize_t,
const
ssize_t,
const
size_t
,
76
const
size_t
,
ExceptionInfo
*);
77
78
extern
MagickExport
VirtualPixelMethod
79
GetPixelCacheVirtualMethod
(
const
Image
*),
80
SetPixelCacheVirtualMethod
(
const
Image
*,
const
VirtualPixelMethod
);
81
82
extern
MagickExport
void
83
CacheComponentTerminus
(
void
),
84
*
GetPixelCachePixels
(
Image
*,
MagickSizeType
*,
ExceptionInfo
*);
85
86
#if defined(__cplusplus) || defined(c_plusplus)
87
}
88
#endif
89
90
#endif
magick
cache.h
Generated by
1.8.1.2