@img/sharp-libvips-dev 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/cplusplus/VConnection.cpp +54 -54
- package/cplusplus/VError.cpp +20 -18
- package/cplusplus/VImage.cpp +636 -589
- package/cplusplus/VInterpolate.cpp +22 -22
- package/cplusplus/VRegion.cpp +4 -4
- package/cplusplus/vips-operators.cpp +2326 -2301
- package/include/aom/aom_codec.h +10 -6
- package/include/aom/aom_decoder.h +1 -1
- package/include/aom/aom_encoder.h +9 -2
- package/include/aom/aomcx.h +72 -3
- package/include/cairo/cairo-ft.h +1 -1
- package/include/cairo/cairo-gobject.h +8 -0
- package/include/cairo/cairo-svg.h +3 -3
- package/include/cairo/cairo-version.h +2 -2
- package/include/cairo/cairo.h +91 -24
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/hwy/aligned_allocator.h +211 -0
- package/include/hwy/base.h +1517 -0
- package/include/hwy/cache_control.h +108 -0
- package/include/hwy/detect_compiler_arch.h +281 -0
- package/include/hwy/detect_targets.h +644 -0
- package/include/hwy/foreach_target.h +340 -0
- package/include/hwy/highway.h +435 -0
- package/include/hwy/highway_export.h +74 -0
- package/include/hwy/nanobenchmark.h +171 -0
- package/include/hwy/ops/arm_neon-inl.h +8913 -0
- package/include/hwy/ops/arm_sve-inl.h +5105 -0
- package/include/hwy/ops/emu128-inl.h +2811 -0
- package/include/hwy/ops/generic_ops-inl.h +4745 -0
- package/include/hwy/ops/ppc_vsx-inl.h +5716 -0
- package/include/hwy/ops/rvv-inl.h +5070 -0
- package/include/hwy/ops/scalar-inl.h +1995 -0
- package/include/hwy/ops/set_macros-inl.h +578 -0
- package/include/hwy/ops/shared-inl.h +539 -0
- package/include/hwy/ops/tuple-inl.h +125 -0
- package/include/hwy/ops/wasm_128-inl.h +5917 -0
- package/include/hwy/ops/x86_128-inl.h +11173 -0
- package/include/hwy/ops/x86_256-inl.h +7529 -0
- package/include/hwy/ops/x86_512-inl.h +6849 -0
- package/include/hwy/per_target.h +44 -0
- package/include/hwy/print-inl.h +62 -0
- package/include/hwy/print.h +75 -0
- package/include/hwy/robust_statistics.h +148 -0
- package/include/hwy/targets.h +338 -0
- package/include/hwy/timer-inl.h +200 -0
- package/include/hwy/timer.h +55 -0
- package/include/jconfig.h +2 -2
- package/include/jpeglib.h +3 -2
- package/include/libheif/heif.h +443 -377
- package/include/libheif/heif_cxx.h +4 -1
- package/include/libheif/heif_plugin.h +1 -1
- package/include/libheif/heif_properties.h +138 -0
- package/include/libheif/heif_regions.h +866 -0
- package/include/libheif/heif_version.h +3 -3
- package/include/vips/VConnection8.h +43 -49
- package/include/vips/VError8.h +27 -24
- package/include/vips/VImage8.h +4861 -4597
- package/include/vips/VInterpolate8.h +24 -27
- package/include/vips/VRegion8.h +32 -33
- package/include/vips/arithmetic.h +169 -169
- package/include/vips/basic.h +33 -33
- package/include/vips/buf.h +56 -54
- package/include/vips/colour.h +95 -95
- package/include/vips/connection.h +190 -193
- package/include/vips/conversion.h +91 -91
- package/include/vips/convolution.h +36 -30
- package/include/vips/create.h +63 -63
- package/include/vips/dbuf.h +35 -37
- package/include/vips/debug.h +65 -33
- package/include/vips/draw.h +41 -41
- package/include/vips/enumtypes.h +54 -51
- package/include/vips/error.h +63 -63
- package/include/vips/foreign.h +263 -223
- package/include/vips/format.h +48 -48
- package/include/vips/freqfilt.h +22 -22
- package/include/vips/gate.h +55 -47
- package/include/vips/generate.h +34 -34
- package/include/vips/header.h +111 -101
- package/include/vips/histogram.h +28 -28
- package/include/vips/image.h +213 -213
- package/include/vips/interpolate.h +40 -41
- package/include/vips/memory.h +61 -52
- package/include/vips/morphology.h +24 -24
- package/include/vips/mosaicing.h +32 -33
- package/include/vips/object.h +371 -357
- package/include/vips/operation.h +68 -67
- package/include/vips/private.h +76 -76
- package/include/vips/rect.h +26 -26
- package/include/vips/region.h +92 -92
- package/include/vips/resample.h +38 -38
- package/include/vips/sbuf.h +53 -54
- package/include/vips/semaphore.h +24 -24
- package/include/vips/thread.h +30 -27
- package/include/vips/threadpool.h +48 -49
- package/include/vips/transform.h +39 -39
- package/include/vips/type.h +90 -85
- package/include/vips/util.h +274 -229
- package/include/vips/vector.h +24 -144
- package/include/vips/version.h +9 -9
- package/include/vips/vips.h +41 -40
- package/package.json +1 -1
- package/versions.json +7 -7
package/include/vips/format.h
CHANGED
|
@@ -4,28 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
This file is part of VIPS.
|
|
8
|
+
|
|
9
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
10
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
11
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
12
|
+
(at your option) any later version.
|
|
13
|
+
|
|
14
|
+
This program is distributed in the hope that it will be useful,
|
|
15
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
GNU Lesser General Public License for more details.
|
|
18
|
+
|
|
19
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
20
|
+
along with this program; if not, write to the Free Software
|
|
21
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
22
|
+
02110-1301 USA
|
|
23
23
|
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
29
29
|
|
|
30
30
|
*/
|
|
31
31
|
|
|
@@ -37,26 +37,26 @@ extern "C" {
|
|
|
37
37
|
#endif /*__cplusplus*/
|
|
38
38
|
|
|
39
39
|
#define VIPS_TYPE_FORMAT (vips_format_get_type())
|
|
40
|
-
#define VIPS_FORMAT(
|
|
41
|
-
(G_TYPE_CHECK_INSTANCE_CAST(
|
|
42
|
-
|
|
43
|
-
#define VIPS_FORMAT_CLASS(
|
|
44
|
-
(G_TYPE_CHECK_CLASS_CAST(
|
|
45
|
-
|
|
46
|
-
#define VIPS_IS_FORMAT(
|
|
47
|
-
(G_TYPE_CHECK_INSTANCE_TYPE(
|
|
48
|
-
#define VIPS_IS_FORMAT_CLASS(
|
|
49
|
-
(G_TYPE_CHECK_CLASS_TYPE(
|
|
50
|
-
#define VIPS_FORMAT_GET_CLASS(
|
|
51
|
-
(G_TYPE_INSTANCE_GET_CLASS(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
/* Image file properties.
|
|
40
|
+
#define VIPS_FORMAT(obj) \
|
|
41
|
+
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
|
|
42
|
+
VIPS_TYPE_FORMAT, VipsFormat))
|
|
43
|
+
#define VIPS_FORMAT_CLASS(klass) \
|
|
44
|
+
(G_TYPE_CHECK_CLASS_CAST((klass), \
|
|
45
|
+
VIPS_TYPE_FORMAT, VipsFormatClass))
|
|
46
|
+
#define VIPS_IS_FORMAT(obj) \
|
|
47
|
+
(G_TYPE_CHECK_INSTANCE_TYPE((obj), VIPS_TYPE_FORMAT))
|
|
48
|
+
#define VIPS_IS_FORMAT_CLASS(klass) \
|
|
49
|
+
(G_TYPE_CHECK_CLASS_TYPE((klass), VIPS_TYPE_FORMAT))
|
|
50
|
+
#define VIPS_FORMAT_GET_CLASS(obj) \
|
|
51
|
+
(G_TYPE_INSTANCE_GET_CLASS((obj), \
|
|
52
|
+
VIPS_TYPE_FORMAT, VipsFormatClass))
|
|
53
|
+
|
|
54
|
+
/* Image file properties.
|
|
55
55
|
*/
|
|
56
56
|
typedef enum {
|
|
57
|
-
VIPS_FORMAT_NONE = 0,
|
|
58
|
-
VIPS_FORMAT_PARTIAL = 1,
|
|
59
|
-
VIPS_FORMAT_BIGENDIAN = 2
|
|
57
|
+
VIPS_FORMAT_NONE = 0, /* No flags set */
|
|
58
|
+
VIPS_FORMAT_PARTIAL = 1, /* Lazy read OK (eg. tiled tiff) */
|
|
59
|
+
VIPS_FORMAT_BIGENDIAN = 2 /* Most-significant byte first */
|
|
60
60
|
} VipsFormatFlags;
|
|
61
61
|
|
|
62
62
|
/* Don't instantiate these things, just use the class stuff.
|
|
@@ -74,23 +74,23 @@ typedef struct _VipsFormatClass {
|
|
|
74
74
|
/*< public >*/
|
|
75
75
|
/* Is a file in this format.
|
|
76
76
|
*/
|
|
77
|
-
gboolean (*is_a)(
|
|
77
|
+
gboolean (*is_a)(const char *);
|
|
78
78
|
|
|
79
79
|
/* Read just the header into the VipsImage.
|
|
80
80
|
*/
|
|
81
|
-
int (*header)(
|
|
81
|
+
int (*header)(const char *, VipsImage *);
|
|
82
82
|
|
|
83
83
|
/* Load the whole image.
|
|
84
84
|
*/
|
|
85
|
-
int (*load)(
|
|
85
|
+
int (*load)(const char *, VipsImage *);
|
|
86
86
|
|
|
87
87
|
/* Write the VipsImage to the file in this format.
|
|
88
88
|
*/
|
|
89
|
-
int (*save)(
|
|
89
|
+
int (*save)(VipsImage *, const char *);
|
|
90
90
|
|
|
91
91
|
/* Get the flags for this file in this format.
|
|
92
92
|
*/
|
|
93
|
-
VipsFormatFlags (*get_flags)(
|
|
93
|
+
VipsFormatFlags (*get_flags)(const char *);
|
|
94
94
|
|
|
95
95
|
/* Loop over formats in this order, default 0. We need this because
|
|
96
96
|
* some formats can be read by several loaders (eg. tiff can be read
|
|
@@ -105,28 +105,28 @@ typedef struct _VipsFormatClass {
|
|
|
105
105
|
} VipsFormatClass;
|
|
106
106
|
|
|
107
107
|
VIPS_API
|
|
108
|
-
GType vips_format_get_type(
|
|
108
|
+
GType vips_format_get_type(void);
|
|
109
109
|
|
|
110
110
|
/* Map over and find formats. This uses type introspection to loop over
|
|
111
111
|
* subclasses of VipsFormat.
|
|
112
112
|
*/
|
|
113
113
|
VIPS_API
|
|
114
|
-
void *vips_format_map(
|
|
114
|
+
void *vips_format_map(VipsSListMap2Fn fn, void *a, void *b);
|
|
115
115
|
VIPS_API
|
|
116
|
-
VipsFormatClass *vips_format_for_file(
|
|
116
|
+
VipsFormatClass *vips_format_for_file(const char *filename);
|
|
117
117
|
VIPS_API
|
|
118
|
-
VipsFormatClass *vips_format_for_name(
|
|
118
|
+
VipsFormatClass *vips_format_for_name(const char *filename);
|
|
119
119
|
|
|
120
120
|
VIPS_API
|
|
121
|
-
VipsFormatFlags vips_format_get_flags(
|
|
122
|
-
const char *filename
|
|
121
|
+
VipsFormatFlags vips_format_get_flags(VipsFormatClass *format,
|
|
122
|
+
const char *filename);
|
|
123
123
|
|
|
124
124
|
/* Read/write an image convenience functions.
|
|
125
125
|
*/
|
|
126
126
|
VIPS_API
|
|
127
|
-
int vips_format_read(
|
|
127
|
+
int vips_format_read(const char *filename, VipsImage *out);
|
|
128
128
|
VIPS_API
|
|
129
|
-
int vips_format_write(
|
|
129
|
+
int vips_format_write(VipsImage *in, const char *filename);
|
|
130
130
|
|
|
131
131
|
#ifdef __cplusplus
|
|
132
132
|
}
|
package/include/vips/freqfilt.h
CHANGED
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
This file is part of VIPS.
|
|
10
|
+
|
|
11
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
12
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
14
|
+
(at your option) any later version.
|
|
15
|
+
|
|
16
|
+
This program is distributed in the hope that it will be useful,
|
|
17
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
GNU Lesser General Public License for more details.
|
|
20
|
+
|
|
21
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
along with this program; if not, write to the Free Software
|
|
23
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
24
|
+
02110-1301 USA
|
|
25
25
|
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
/*
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
31
31
|
|
|
32
32
|
*/
|
|
33
33
|
|
|
@@ -39,22 +39,22 @@ extern "C" {
|
|
|
39
39
|
#endif /*__cplusplus*/
|
|
40
40
|
|
|
41
41
|
VIPS_API
|
|
42
|
-
int vips_fwfft(
|
|
42
|
+
int vips_fwfft(VipsImage *in, VipsImage **out, ...)
|
|
43
43
|
G_GNUC_NULL_TERMINATED;
|
|
44
44
|
VIPS_API
|
|
45
|
-
int vips_invfft(
|
|
45
|
+
int vips_invfft(VipsImage *in, VipsImage **out, ...)
|
|
46
46
|
G_GNUC_NULL_TERMINATED;
|
|
47
47
|
|
|
48
48
|
VIPS_API
|
|
49
|
-
int vips_freqmult(
|
|
49
|
+
int vips_freqmult(VipsImage *in, VipsImage *mask, VipsImage **out, ...)
|
|
50
50
|
G_GNUC_NULL_TERMINATED;
|
|
51
51
|
|
|
52
52
|
VIPS_API
|
|
53
|
-
int vips_spectrum(
|
|
53
|
+
int vips_spectrum(VipsImage *in, VipsImage **out, ...)
|
|
54
54
|
G_GNUC_NULL_TERMINATED;
|
|
55
55
|
|
|
56
56
|
VIPS_API
|
|
57
|
-
int vips_phasecor(
|
|
57
|
+
int vips_phasecor(VipsImage *in1, VipsImage *in2, VipsImage **out, ...)
|
|
58
58
|
G_GNUC_NULL_TERMINATED;
|
|
59
59
|
|
|
60
60
|
#ifdef __cplusplus
|
package/include/vips/gate.h
CHANGED
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
This file is part of VIPS.
|
|
7
|
+
|
|
8
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
9
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
10
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
11
|
+
(at your option) any later version.
|
|
12
|
+
|
|
13
|
+
This program is distributed in the hope that it will be useful,
|
|
14
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
GNU Lesser General Public License for more details.
|
|
17
|
+
|
|
18
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
19
|
+
along with this program; if not, write to the Free Software
|
|
20
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
21
|
+
02110-1301 USA
|
|
22
22
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
/*
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
28
28
|
|
|
29
29
|
*/
|
|
30
30
|
|
|
@@ -37,43 +37,51 @@ extern "C" {
|
|
|
37
37
|
|
|
38
38
|
#include <vips/vips.h>
|
|
39
39
|
|
|
40
|
-
#define VIPS_GATE_START(
|
|
41
|
-
G_STMT_START
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
40
|
+
#define VIPS_GATE_START(NAME) \
|
|
41
|
+
G_STMT_START \
|
|
42
|
+
{ \
|
|
43
|
+
if (vips__thread_profile) \
|
|
44
|
+
vips__thread_gate_start(NAME); \
|
|
45
|
+
} \
|
|
46
|
+
G_STMT_END
|
|
47
|
+
|
|
48
|
+
#define VIPS_GATE_STOP(NAME) \
|
|
49
|
+
G_STMT_START \
|
|
50
|
+
{ \
|
|
51
|
+
if (vips__thread_profile) \
|
|
52
|
+
vips__thread_gate_stop(NAME); \
|
|
53
|
+
} \
|
|
54
|
+
G_STMT_END
|
|
55
|
+
|
|
56
|
+
#define VIPS_GATE_MALLOC(SIZE) \
|
|
57
|
+
G_STMT_START \
|
|
58
|
+
{ \
|
|
59
|
+
if (vips__thread_profile) \
|
|
60
|
+
vips__thread_malloc_free((gint64) (SIZE)); \
|
|
61
|
+
} \
|
|
62
|
+
G_STMT_END
|
|
63
|
+
|
|
64
|
+
#define VIPS_GATE_FREE(SIZE) \
|
|
65
|
+
G_STMT_START \
|
|
66
|
+
{ \
|
|
67
|
+
if (vips__thread_profile) \
|
|
68
|
+
vips__thread_malloc_free(-((gint64) (SIZE))); \
|
|
69
|
+
} \
|
|
70
|
+
G_STMT_END
|
|
63
71
|
|
|
64
72
|
extern gboolean vips__thread_profile;
|
|
65
73
|
|
|
66
74
|
VIPS_API
|
|
67
|
-
void vips_profile_set(
|
|
75
|
+
void vips_profile_set(gboolean profile);
|
|
68
76
|
|
|
69
|
-
void vips__thread_profile_attach(
|
|
70
|
-
void vips__thread_profile_detach(
|
|
71
|
-
void vips__thread_profile_stop(
|
|
77
|
+
void vips__thread_profile_attach(const char *thread_name);
|
|
78
|
+
void vips__thread_profile_detach(void);
|
|
79
|
+
void vips__thread_profile_stop(void);
|
|
72
80
|
|
|
73
|
-
void vips__thread_gate_start(
|
|
74
|
-
void vips__thread_gate_stop(
|
|
81
|
+
void vips__thread_gate_start(const char *gate_name);
|
|
82
|
+
void vips__thread_gate_stop(const char *gate_name);
|
|
75
83
|
|
|
76
|
-
void vips__thread_malloc_free(
|
|
84
|
+
void vips__thread_malloc_free(gint64 size);
|
|
77
85
|
|
|
78
86
|
#endif /*VIPS_GATE_H*/
|
|
79
87
|
|
package/include/vips/generate.h
CHANGED
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
This file is part of VIPS.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
11
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
12
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
13
|
+
(at your option) any later version.
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
This program is distributed in the hope that it will be useful,
|
|
16
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
GNU Lesser General Public License for more details.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
21
|
+
along with this program; if not, write to the Free Software
|
|
22
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
23
|
+
02110-1301 USA
|
|
24
24
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
/*
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
30
30
|
|
|
31
31
|
*/
|
|
32
32
|
|
|
@@ -37,52 +37,52 @@
|
|
|
37
37
|
extern "C" {
|
|
38
38
|
#endif /*__cplusplus*/
|
|
39
39
|
|
|
40
|
-
typedef int (*VipsRegionWrite)(
|
|
40
|
+
typedef int (*VipsRegionWrite)(VipsRegion *region, VipsRect *area, void *a);
|
|
41
41
|
VIPS_API
|
|
42
|
-
int vips_sink_disc(
|
|
42
|
+
int vips_sink_disc(VipsImage *im, VipsRegionWrite write_fn, void *a);
|
|
43
43
|
|
|
44
44
|
VIPS_API
|
|
45
|
-
int vips_sink(
|
|
45
|
+
int vips_sink(VipsImage *im,
|
|
46
46
|
VipsStartFn start_fn, VipsGenerateFn generate_fn, VipsStopFn stop_fn,
|
|
47
|
-
void *a, void *b
|
|
47
|
+
void *a, void *b);
|
|
48
48
|
VIPS_API
|
|
49
|
-
int vips_sink_tile(
|
|
49
|
+
int vips_sink_tile(VipsImage *im,
|
|
50
50
|
int tile_width, int tile_height,
|
|
51
51
|
VipsStartFn start_fn, VipsGenerateFn generate_fn, VipsStopFn stop_fn,
|
|
52
|
-
void *a, void *b
|
|
52
|
+
void *a, void *b);
|
|
53
53
|
|
|
54
|
-
typedef void (*VipsSinkNotify)(
|
|
54
|
+
typedef void (*VipsSinkNotify)(VipsImage *im, VipsRect *rect, void *a);
|
|
55
55
|
VIPS_API
|
|
56
|
-
int vips_sink_screen(
|
|
56
|
+
int vips_sink_screen(VipsImage *in, VipsImage *out, VipsImage *mask,
|
|
57
57
|
int tile_width, int tile_height, int max_tiles,
|
|
58
58
|
int priority,
|
|
59
|
-
VipsSinkNotify notify_fn, void *a
|
|
59
|
+
VipsSinkNotify notify_fn, void *a);
|
|
60
60
|
|
|
61
61
|
VIPS_API
|
|
62
|
-
int vips_sink_memory(
|
|
62
|
+
int vips_sink_memory(VipsImage *im);
|
|
63
63
|
|
|
64
64
|
VIPS_API
|
|
65
|
-
void *vips_start_one(
|
|
65
|
+
void *vips_start_one(VipsImage *out, void *a, void *b);
|
|
66
66
|
VIPS_API
|
|
67
|
-
int vips_stop_one(
|
|
67
|
+
int vips_stop_one(void *seq, void *a, void *b);
|
|
68
68
|
VIPS_API
|
|
69
|
-
void *vips_start_many(
|
|
69
|
+
void *vips_start_many(VipsImage *out, void *a, void *b);
|
|
70
70
|
VIPS_API
|
|
71
|
-
int vips_stop_many(
|
|
71
|
+
int vips_stop_many(void *seq, void *a, void *b);
|
|
72
72
|
VIPS_API
|
|
73
|
-
VipsImage **vips_allocate_input_array(
|
|
73
|
+
VipsImage **vips_allocate_input_array(VipsImage *out, ...)
|
|
74
74
|
G_GNUC_NULL_TERMINATED;
|
|
75
75
|
|
|
76
76
|
VIPS_API
|
|
77
|
-
int vips_image_generate(
|
|
77
|
+
int vips_image_generate(VipsImage *image,
|
|
78
78
|
VipsStartFn start_fn, VipsGenerateFn generate_fn, VipsStopFn stop_fn,
|
|
79
|
-
void *a, void *b
|
|
79
|
+
void *a, void *b);
|
|
80
80
|
|
|
81
81
|
VIPS_API
|
|
82
|
-
int vips_image_pipeline_array(
|
|
83
|
-
VipsDemandStyle hint, VipsImage **in
|
|
82
|
+
int vips_image_pipeline_array(VipsImage *image,
|
|
83
|
+
VipsDemandStyle hint, VipsImage **in);
|
|
84
84
|
VIPS_API
|
|
85
|
-
int vips_image_pipelinev(
|
|
85
|
+
int vips_image_pipelinev(VipsImage *image, VipsDemandStyle hint, ...)
|
|
86
86
|
G_GNUC_NULL_TERMINATED;
|
|
87
87
|
|
|
88
88
|
#ifdef __cplusplus
|