@img/sharp-libvips-dev 0.0.1 → 0.0.3
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 +3 -3
- 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/glib-2.0/glib/gmacros.h +1 -1
- package/include/glib-2.0/glib/gtestutils.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +7 -7
- 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 +461 -384
- 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/libpng16/pnglibconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- 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/include/zlib.h +23 -19
- package/package.json +1 -1
- package/versions.json +9 -9
package/include/vips/dbuf.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
|
|
|
@@ -59,42 +59,40 @@ typedef struct _VipsDbuf {
|
|
|
59
59
|
*/
|
|
60
60
|
size_t write_point;
|
|
61
61
|
|
|
62
|
-
} VipsDbuf;
|
|
62
|
+
} VipsDbuf;
|
|
63
63
|
|
|
64
64
|
VIPS_API
|
|
65
|
-
void
|
|
66
|
-
VIPS_API
|
|
67
|
-
void vips_dbuf_init( VipsDbuf *dbuf );
|
|
65
|
+
void vips_dbuf_init(VipsDbuf *dbuf);
|
|
68
66
|
VIPS_API
|
|
69
|
-
gboolean vips_dbuf_minimum_size(
|
|
67
|
+
gboolean vips_dbuf_minimum_size(VipsDbuf *dbuf, size_t size);
|
|
70
68
|
VIPS_API
|
|
71
|
-
gboolean vips_dbuf_allocate(
|
|
69
|
+
gboolean vips_dbuf_allocate(VipsDbuf *dbuf, size_t size);
|
|
72
70
|
VIPS_API
|
|
73
|
-
size_t vips_dbuf_read(
|
|
71
|
+
size_t vips_dbuf_read(VipsDbuf *dbuf, unsigned char *data, size_t size);
|
|
74
72
|
VIPS_API
|
|
75
|
-
unsigned char *vips_dbuf_get_write(
|
|
73
|
+
unsigned char *vips_dbuf_get_write(VipsDbuf *dbuf, size_t *size);
|
|
76
74
|
VIPS_API
|
|
77
|
-
gboolean vips_dbuf_write(
|
|
78
|
-
const unsigned char *data, size_t size
|
|
75
|
+
gboolean vips_dbuf_write(VipsDbuf *dbuf,
|
|
76
|
+
const unsigned char *data, size_t size);
|
|
79
77
|
VIPS_API
|
|
80
|
-
gboolean vips_dbuf_writef(
|
|
81
|
-
G_GNUC_PRINTF(
|
|
78
|
+
gboolean vips_dbuf_writef(VipsDbuf *dbuf, const char *fmt, ...)
|
|
79
|
+
G_GNUC_PRINTF(2, 3);
|
|
82
80
|
VIPS_API
|
|
83
|
-
gboolean vips_dbuf_write_amp(
|
|
81
|
+
gboolean vips_dbuf_write_amp(VipsDbuf *dbuf, const char *str);
|
|
84
82
|
VIPS_API
|
|
85
|
-
void vips_dbuf_reset(
|
|
83
|
+
void vips_dbuf_reset(VipsDbuf *dbuf);
|
|
86
84
|
VIPS_API
|
|
87
|
-
void vips_dbuf_destroy(
|
|
85
|
+
void vips_dbuf_destroy(VipsDbuf *dbuf);
|
|
88
86
|
VIPS_API
|
|
89
|
-
gboolean vips_dbuf_seek(
|
|
87
|
+
gboolean vips_dbuf_seek(VipsDbuf *dbuf, off_t offset, int whence);
|
|
90
88
|
VIPS_API
|
|
91
|
-
void vips_dbuf_truncate(
|
|
89
|
+
void vips_dbuf_truncate(VipsDbuf *dbuf);
|
|
92
90
|
VIPS_API
|
|
93
|
-
off_t vips_dbuf_tell(
|
|
91
|
+
off_t vips_dbuf_tell(VipsDbuf *dbuf);
|
|
94
92
|
VIPS_API
|
|
95
|
-
unsigned char *vips_dbuf_string(
|
|
93
|
+
unsigned char *vips_dbuf_string(VipsDbuf *dbuf, size_t *size);
|
|
96
94
|
VIPS_API
|
|
97
|
-
unsigned char *vips_dbuf_steal(
|
|
95
|
+
unsigned char *vips_dbuf_steal(VipsDbuf *dbuf, size_t *size);
|
|
98
96
|
|
|
99
97
|
#endif /*VIPS_DBUF_H*/
|
|
100
98
|
|
package/include/vips/debug.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
|
|
|
@@ -36,35 +36,67 @@ extern "C" {
|
|
|
36
36
|
#endif /*__cplusplus*/
|
|
37
37
|
|
|
38
38
|
#ifdef VIPS_DEBUG
|
|
39
|
-
#define VIPS_DEBUG_MSG(
|
|
40
|
-
G_STMT_START
|
|
39
|
+
#define VIPS_DEBUG_MSG(...) \
|
|
40
|
+
G_STMT_START \
|
|
41
|
+
{ \
|
|
42
|
+
printf(__VA_ARGS__); \
|
|
43
|
+
} \
|
|
44
|
+
G_STMT_END
|
|
41
45
|
#else
|
|
42
|
-
#define VIPS_DEBUG_MSG(
|
|
43
|
-
G_STMT_START
|
|
46
|
+
#define VIPS_DEBUG_MSG(...) \
|
|
47
|
+
G_STMT_START \
|
|
48
|
+
{ \
|
|
49
|
+
; \
|
|
50
|
+
} \
|
|
51
|
+
G_STMT_END
|
|
44
52
|
#endif /*VIPS_DEBUG*/
|
|
45
53
|
|
|
46
54
|
#ifdef VIPS_DEBUG_RED
|
|
47
|
-
#define VIPS_DEBUG_MSG_RED(
|
|
48
|
-
G_STMT_START
|
|
55
|
+
#define VIPS_DEBUG_MSG_RED(...) \
|
|
56
|
+
G_STMT_START \
|
|
57
|
+
{ \
|
|
58
|
+
printf("red: " __VA_ARGS__); \
|
|
59
|
+
} \
|
|
60
|
+
G_STMT_END
|
|
49
61
|
#else
|
|
50
|
-
#define VIPS_DEBUG_MSG_RED(
|
|
51
|
-
G_STMT_START
|
|
62
|
+
#define VIPS_DEBUG_MSG_RED(...) \
|
|
63
|
+
G_STMT_START \
|
|
64
|
+
{ \
|
|
65
|
+
; \
|
|
66
|
+
} \
|
|
67
|
+
G_STMT_END
|
|
52
68
|
#endif /*VIPS_DEBUG_RED*/
|
|
53
69
|
|
|
54
70
|
#ifdef VIPS_DEBUG_AMBER
|
|
55
|
-
#define VIPS_DEBUG_MSG_AMBER(
|
|
56
|
-
G_STMT_START
|
|
71
|
+
#define VIPS_DEBUG_MSG_AMBER(...) \
|
|
72
|
+
G_STMT_START \
|
|
73
|
+
{ \
|
|
74
|
+
printf("amber: " __VA_ARGS__); \
|
|
75
|
+
} \
|
|
76
|
+
G_STMT_END
|
|
57
77
|
#else
|
|
58
|
-
#define VIPS_DEBUG_MSG_AMBER(
|
|
59
|
-
G_STMT_START
|
|
78
|
+
#define VIPS_DEBUG_MSG_AMBER(...) \
|
|
79
|
+
G_STMT_START \
|
|
80
|
+
{ \
|
|
81
|
+
; \
|
|
82
|
+
} \
|
|
83
|
+
G_STMT_END
|
|
60
84
|
#endif /*VIPS_DEBUG_AMBER*/
|
|
61
85
|
|
|
62
86
|
#ifdef VIPS_DEBUG_GREEN
|
|
63
|
-
#define VIPS_DEBUG_MSG_GREEN(
|
|
64
|
-
G_STMT_START
|
|
87
|
+
#define VIPS_DEBUG_MSG_GREEN(...) \
|
|
88
|
+
G_STMT_START \
|
|
89
|
+
{ \
|
|
90
|
+
printf("green: " __VA_ARGS__); \
|
|
91
|
+
} \
|
|
92
|
+
G_STMT_END
|
|
65
93
|
#else
|
|
66
|
-
#define VIPS_DEBUG_MSG_GREEN(
|
|
67
|
-
G_STMT_START
|
|
94
|
+
#define VIPS_DEBUG_MSG_GREEN(...) \
|
|
95
|
+
G_STMT_START \
|
|
96
|
+
{ \
|
|
97
|
+
; \
|
|
98
|
+
} \
|
|
99
|
+
G_STMT_END
|
|
68
100
|
#endif /*VIPS_DEBUG_GREEN*/
|
|
69
101
|
|
|
70
102
|
#ifdef __cplusplus
|
package/include/vips/draw.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
|
|
|
@@ -46,64 +46,64 @@ typedef enum {
|
|
|
46
46
|
VIPS_COMBINE_MODE_SET,
|
|
47
47
|
VIPS_COMBINE_MODE_ADD,
|
|
48
48
|
VIPS_COMBINE_MODE_LAST
|
|
49
|
-
} VipsCombineMode;
|
|
49
|
+
} VipsCombineMode;
|
|
50
50
|
|
|
51
51
|
VIPS_API
|
|
52
|
-
int vips_draw_rect(
|
|
53
|
-
double *ink, int n, int left, int top, int width, int height, ...
|
|
52
|
+
int vips_draw_rect(VipsImage *image,
|
|
53
|
+
double *ink, int n, int left, int top, int width, int height, ...)
|
|
54
54
|
G_GNUC_NULL_TERMINATED;
|
|
55
55
|
VIPS_API
|
|
56
|
-
int vips_draw_rect1(
|
|
57
|
-
double ink, int left, int top, int width, int height, ...
|
|
56
|
+
int vips_draw_rect1(VipsImage *image,
|
|
57
|
+
double ink, int left, int top, int width, int height, ...)
|
|
58
58
|
G_GNUC_NULL_TERMINATED;
|
|
59
59
|
VIPS_API
|
|
60
|
-
int vips_draw_point(
|
|
60
|
+
int vips_draw_point(VipsImage *image, double *ink, int n, int x, int y, ...)
|
|
61
61
|
G_GNUC_NULL_TERMINATED;
|
|
62
62
|
VIPS_API
|
|
63
|
-
int vips_draw_point1(
|
|
63
|
+
int vips_draw_point1(VipsImage *image, double ink, int x, int y, ...)
|
|
64
64
|
G_GNUC_NULL_TERMINATED;
|
|
65
65
|
|
|
66
66
|
VIPS_API
|
|
67
|
-
int vips_draw_image(
|
|
67
|
+
int vips_draw_image(VipsImage *image, VipsImage *sub, int x, int y, ...)
|
|
68
68
|
G_GNUC_NULL_TERMINATED;
|
|
69
69
|
|
|
70
70
|
VIPS_API
|
|
71
|
-
int vips_draw_mask(
|
|
72
|
-
double *ink, int n, VipsImage *mask, int x, int y, ...
|
|
71
|
+
int vips_draw_mask(VipsImage *image,
|
|
72
|
+
double *ink, int n, VipsImage *mask, int x, int y, ...)
|
|
73
73
|
G_GNUC_NULL_TERMINATED;
|
|
74
74
|
VIPS_API
|
|
75
|
-
int vips_draw_mask1(
|
|
76
|
-
double ink, VipsImage *mask, int x, int y, ...
|
|
75
|
+
int vips_draw_mask1(VipsImage *image,
|
|
76
|
+
double ink, VipsImage *mask, int x, int y, ...)
|
|
77
77
|
G_GNUC_NULL_TERMINATED;
|
|
78
78
|
|
|
79
79
|
VIPS_API
|
|
80
|
-
int vips_draw_line(
|
|
81
|
-
double *ink, int n, int x1, int y1, int x2, int y2, ...
|
|
80
|
+
int vips_draw_line(VipsImage *image,
|
|
81
|
+
double *ink, int n, int x1, int y1, int x2, int y2, ...)
|
|
82
82
|
G_GNUC_NULL_TERMINATED;
|
|
83
83
|
VIPS_API
|
|
84
|
-
int vips_draw_line1(
|
|
85
|
-
double ink, int x1, int y1, int x2, int y2, ...
|
|
84
|
+
int vips_draw_line1(VipsImage *image,
|
|
85
|
+
double ink, int x1, int y1, int x2, int y2, ...)
|
|
86
86
|
G_GNUC_NULL_TERMINATED;
|
|
87
87
|
|
|
88
88
|
VIPS_API
|
|
89
|
-
int vips_draw_circle(
|
|
90
|
-
double *ink, int n, int cx, int cy, int radius, ...
|
|
89
|
+
int vips_draw_circle(VipsImage *image,
|
|
90
|
+
double *ink, int n, int cx, int cy, int radius, ...)
|
|
91
91
|
G_GNUC_NULL_TERMINATED;
|
|
92
92
|
VIPS_API
|
|
93
|
-
int vips_draw_circle1(
|
|
94
|
-
double ink, int cx, int cy, int radius, ...
|
|
93
|
+
int vips_draw_circle1(VipsImage *image,
|
|
94
|
+
double ink, int cx, int cy, int radius, ...)
|
|
95
95
|
G_GNUC_NULL_TERMINATED;
|
|
96
96
|
|
|
97
97
|
VIPS_API
|
|
98
|
-
int vips_draw_flood(
|
|
98
|
+
int vips_draw_flood(VipsImage *image, double *ink, int n, int x, int y, ...)
|
|
99
99
|
G_GNUC_NULL_TERMINATED;
|
|
100
100
|
VIPS_API
|
|
101
|
-
int vips_draw_flood1(
|
|
101
|
+
int vips_draw_flood1(VipsImage *image, double ink, int x, int y, ...)
|
|
102
102
|
G_GNUC_NULL_TERMINATED;
|
|
103
103
|
|
|
104
104
|
VIPS_API
|
|
105
|
-
int vips_draw_smudge(
|
|
106
|
-
int left, int top, int width, int height, ...
|
|
105
|
+
int vips_draw_smudge(VipsImage *image,
|
|
106
|
+
int left, int top, int width, int height, ...)
|
|
107
107
|
G_GNUC_NULL_TERMINATED;
|
|
108
108
|
|
|
109
109
|
#ifdef __cplusplus
|
package/include/vips/enumtypes.h
CHANGED
|
@@ -7,171 +7,174 @@
|
|
|
7
7
|
G_BEGIN_DECLS
|
|
8
8
|
/* enumerations from "arithmetic.h" */
|
|
9
9
|
VIPS_API
|
|
10
|
-
GType vips_operation_math_get_type
|
|
10
|
+
GType vips_operation_math_get_type(void) G_GNUC_CONST;
|
|
11
11
|
#define VIPS_TYPE_OPERATION_MATH (vips_operation_math_get_type())
|
|
12
12
|
VIPS_API
|
|
13
|
-
GType vips_operation_math2_get_type
|
|
13
|
+
GType vips_operation_math2_get_type(void) G_GNUC_CONST;
|
|
14
14
|
#define VIPS_TYPE_OPERATION_MATH2 (vips_operation_math2_get_type())
|
|
15
15
|
VIPS_API
|
|
16
|
-
GType vips_operation_round_get_type
|
|
16
|
+
GType vips_operation_round_get_type(void) G_GNUC_CONST;
|
|
17
17
|
#define VIPS_TYPE_OPERATION_ROUND (vips_operation_round_get_type())
|
|
18
18
|
VIPS_API
|
|
19
|
-
GType vips_operation_relational_get_type
|
|
19
|
+
GType vips_operation_relational_get_type(void) G_GNUC_CONST;
|
|
20
20
|
#define VIPS_TYPE_OPERATION_RELATIONAL (vips_operation_relational_get_type())
|
|
21
21
|
VIPS_API
|
|
22
|
-
GType vips_operation_boolean_get_type
|
|
22
|
+
GType vips_operation_boolean_get_type(void) G_GNUC_CONST;
|
|
23
23
|
#define VIPS_TYPE_OPERATION_BOOLEAN (vips_operation_boolean_get_type())
|
|
24
24
|
VIPS_API
|
|
25
|
-
GType vips_operation_complex_get_type
|
|
25
|
+
GType vips_operation_complex_get_type(void) G_GNUC_CONST;
|
|
26
26
|
#define VIPS_TYPE_OPERATION_COMPLEX (vips_operation_complex_get_type())
|
|
27
27
|
VIPS_API
|
|
28
|
-
GType vips_operation_complex2_get_type
|
|
28
|
+
GType vips_operation_complex2_get_type(void) G_GNUC_CONST;
|
|
29
29
|
#define VIPS_TYPE_OPERATION_COMPLEX2 (vips_operation_complex2_get_type())
|
|
30
30
|
VIPS_API
|
|
31
|
-
GType vips_operation_complexget_get_type
|
|
31
|
+
GType vips_operation_complexget_get_type(void) G_GNUC_CONST;
|
|
32
32
|
#define VIPS_TYPE_OPERATION_COMPLEXGET (vips_operation_complexget_get_type())
|
|
33
33
|
/* enumerations from "basic.h" */
|
|
34
34
|
VIPS_API
|
|
35
|
-
GType vips_precision_get_type
|
|
35
|
+
GType vips_precision_get_type(void) G_GNUC_CONST;
|
|
36
36
|
#define VIPS_TYPE_PRECISION (vips_precision_get_type())
|
|
37
37
|
/* enumerations from "colour.h" */
|
|
38
38
|
VIPS_API
|
|
39
|
-
GType vips_intent_get_type
|
|
39
|
+
GType vips_intent_get_type(void) G_GNUC_CONST;
|
|
40
40
|
#define VIPS_TYPE_INTENT (vips_intent_get_type())
|
|
41
41
|
VIPS_API
|
|
42
|
-
GType vips_pcs_get_type
|
|
42
|
+
GType vips_pcs_get_type(void) G_GNUC_CONST;
|
|
43
43
|
#define VIPS_TYPE_PCS (vips_pcs_get_type())
|
|
44
44
|
/* enumerations from "conversion.h" */
|
|
45
45
|
VIPS_API
|
|
46
|
-
GType vips_extend_get_type
|
|
46
|
+
GType vips_extend_get_type(void) G_GNUC_CONST;
|
|
47
47
|
#define VIPS_TYPE_EXTEND (vips_extend_get_type())
|
|
48
48
|
VIPS_API
|
|
49
|
-
GType vips_compass_direction_get_type
|
|
49
|
+
GType vips_compass_direction_get_type(void) G_GNUC_CONST;
|
|
50
50
|
#define VIPS_TYPE_COMPASS_DIRECTION (vips_compass_direction_get_type())
|
|
51
51
|
VIPS_API
|
|
52
|
-
GType vips_direction_get_type
|
|
52
|
+
GType vips_direction_get_type(void) G_GNUC_CONST;
|
|
53
53
|
#define VIPS_TYPE_DIRECTION (vips_direction_get_type())
|
|
54
54
|
VIPS_API
|
|
55
|
-
GType vips_align_get_type
|
|
55
|
+
GType vips_align_get_type(void) G_GNUC_CONST;
|
|
56
56
|
#define VIPS_TYPE_ALIGN (vips_align_get_type())
|
|
57
57
|
VIPS_API
|
|
58
|
-
GType vips_angle_get_type
|
|
58
|
+
GType vips_angle_get_type(void) G_GNUC_CONST;
|
|
59
59
|
#define VIPS_TYPE_ANGLE (vips_angle_get_type())
|
|
60
60
|
VIPS_API
|
|
61
|
-
GType vips_angle45_get_type
|
|
61
|
+
GType vips_angle45_get_type(void) G_GNUC_CONST;
|
|
62
62
|
#define VIPS_TYPE_ANGLE45 (vips_angle45_get_type())
|
|
63
63
|
VIPS_API
|
|
64
|
-
GType vips_interesting_get_type
|
|
64
|
+
GType vips_interesting_get_type(void) G_GNUC_CONST;
|
|
65
65
|
#define VIPS_TYPE_INTERESTING (vips_interesting_get_type())
|
|
66
66
|
VIPS_API
|
|
67
|
-
GType vips_blend_mode_get_type
|
|
67
|
+
GType vips_blend_mode_get_type(void) G_GNUC_CONST;
|
|
68
68
|
#define VIPS_TYPE_BLEND_MODE (vips_blend_mode_get_type())
|
|
69
69
|
/* enumerations from "convolution.h" */
|
|
70
70
|
VIPS_API
|
|
71
|
-
GType vips_combine_get_type
|
|
71
|
+
GType vips_combine_get_type(void) G_GNUC_CONST;
|
|
72
72
|
#define VIPS_TYPE_COMBINE (vips_combine_get_type())
|
|
73
73
|
/* enumerations from "create.h" */
|
|
74
74
|
VIPS_API
|
|
75
|
-
GType vips_text_wrap_get_type
|
|
75
|
+
GType vips_text_wrap_get_type(void) G_GNUC_CONST;
|
|
76
76
|
#define VIPS_TYPE_TEXT_WRAP (vips_text_wrap_get_type())
|
|
77
77
|
/* enumerations from "draw.h" */
|
|
78
78
|
VIPS_API
|
|
79
|
-
GType vips_combine_mode_get_type
|
|
79
|
+
GType vips_combine_mode_get_type(void) G_GNUC_CONST;
|
|
80
80
|
#define VIPS_TYPE_COMBINE_MODE (vips_combine_mode_get_type())
|
|
81
81
|
/* enumerations from "foreign.h" */
|
|
82
82
|
VIPS_API
|
|
83
|
-
GType vips_foreign_flags_get_type
|
|
83
|
+
GType vips_foreign_flags_get_type(void) G_GNUC_CONST;
|
|
84
84
|
#define VIPS_TYPE_FOREIGN_FLAGS (vips_foreign_flags_get_type())
|
|
85
85
|
VIPS_API
|
|
86
|
-
GType vips_fail_on_get_type
|
|
86
|
+
GType vips_fail_on_get_type(void) G_GNUC_CONST;
|
|
87
87
|
#define VIPS_TYPE_FAIL_ON (vips_fail_on_get_type())
|
|
88
88
|
VIPS_API
|
|
89
|
-
GType vips_saveable_get_type
|
|
89
|
+
GType vips_saveable_get_type(void) G_GNUC_CONST;
|
|
90
90
|
#define VIPS_TYPE_SAVEABLE (vips_saveable_get_type())
|
|
91
91
|
VIPS_API
|
|
92
|
-
GType
|
|
92
|
+
GType vips_foreign_keep_get_type(void) G_GNUC_CONST;
|
|
93
|
+
#define VIPS_TYPE_FOREIGN_KEEP (vips_foreign_keep_get_type())
|
|
94
|
+
VIPS_API
|
|
95
|
+
GType vips_foreign_subsample_get_type(void) G_GNUC_CONST;
|
|
93
96
|
#define VIPS_TYPE_FOREIGN_SUBSAMPLE (vips_foreign_subsample_get_type())
|
|
94
97
|
VIPS_API
|
|
95
|
-
GType vips_foreign_jpeg_subsample_get_type
|
|
98
|
+
GType vips_foreign_jpeg_subsample_get_type(void) G_GNUC_CONST;
|
|
96
99
|
#define VIPS_TYPE_FOREIGN_JPEG_SUBSAMPLE (vips_foreign_jpeg_subsample_get_type())
|
|
97
100
|
VIPS_API
|
|
98
|
-
GType vips_foreign_webp_preset_get_type
|
|
101
|
+
GType vips_foreign_webp_preset_get_type(void) G_GNUC_CONST;
|
|
99
102
|
#define VIPS_TYPE_FOREIGN_WEBP_PRESET (vips_foreign_webp_preset_get_type())
|
|
100
103
|
VIPS_API
|
|
101
|
-
GType vips_foreign_tiff_compression_get_type
|
|
104
|
+
GType vips_foreign_tiff_compression_get_type(void) G_GNUC_CONST;
|
|
102
105
|
#define VIPS_TYPE_FOREIGN_TIFF_COMPRESSION (vips_foreign_tiff_compression_get_type())
|
|
103
106
|
VIPS_API
|
|
104
|
-
GType vips_foreign_tiff_predictor_get_type
|
|
107
|
+
GType vips_foreign_tiff_predictor_get_type(void) G_GNUC_CONST;
|
|
105
108
|
#define VIPS_TYPE_FOREIGN_TIFF_PREDICTOR (vips_foreign_tiff_predictor_get_type())
|
|
106
109
|
VIPS_API
|
|
107
|
-
GType vips_foreign_tiff_resunit_get_type
|
|
110
|
+
GType vips_foreign_tiff_resunit_get_type(void) G_GNUC_CONST;
|
|
108
111
|
#define VIPS_TYPE_FOREIGN_TIFF_RESUNIT (vips_foreign_tiff_resunit_get_type())
|
|
109
112
|
VIPS_API
|
|
110
|
-
GType vips_foreign_png_filter_get_type
|
|
113
|
+
GType vips_foreign_png_filter_get_type(void) G_GNUC_CONST;
|
|
111
114
|
#define VIPS_TYPE_FOREIGN_PNG_FILTER (vips_foreign_png_filter_get_type())
|
|
112
115
|
VIPS_API
|
|
113
|
-
GType vips_foreign_ppm_format_get_type
|
|
116
|
+
GType vips_foreign_ppm_format_get_type(void) G_GNUC_CONST;
|
|
114
117
|
#define VIPS_TYPE_FOREIGN_PPM_FORMAT (vips_foreign_ppm_format_get_type())
|
|
115
118
|
VIPS_API
|
|
116
|
-
GType vips_foreign_dz_layout_get_type
|
|
119
|
+
GType vips_foreign_dz_layout_get_type(void) G_GNUC_CONST;
|
|
117
120
|
#define VIPS_TYPE_FOREIGN_DZ_LAYOUT (vips_foreign_dz_layout_get_type())
|
|
118
121
|
VIPS_API
|
|
119
|
-
GType vips_foreign_dz_depth_get_type
|
|
122
|
+
GType vips_foreign_dz_depth_get_type(void) G_GNUC_CONST;
|
|
120
123
|
#define VIPS_TYPE_FOREIGN_DZ_DEPTH (vips_foreign_dz_depth_get_type())
|
|
121
124
|
VIPS_API
|
|
122
|
-
GType vips_foreign_dz_container_get_type
|
|
125
|
+
GType vips_foreign_dz_container_get_type(void) G_GNUC_CONST;
|
|
123
126
|
#define VIPS_TYPE_FOREIGN_DZ_CONTAINER (vips_foreign_dz_container_get_type())
|
|
124
127
|
VIPS_API
|
|
125
|
-
GType vips_foreign_heif_compression_get_type
|
|
128
|
+
GType vips_foreign_heif_compression_get_type(void) G_GNUC_CONST;
|
|
126
129
|
#define VIPS_TYPE_FOREIGN_HEIF_COMPRESSION (vips_foreign_heif_compression_get_type())
|
|
127
130
|
VIPS_API
|
|
128
|
-
GType vips_foreign_heif_encoder_get_type
|
|
131
|
+
GType vips_foreign_heif_encoder_get_type(void) G_GNUC_CONST;
|
|
129
132
|
#define VIPS_TYPE_FOREIGN_HEIF_ENCODER (vips_foreign_heif_encoder_get_type())
|
|
130
133
|
/* enumerations from "image.h" */
|
|
131
134
|
VIPS_API
|
|
132
|
-
GType vips_demand_style_get_type
|
|
135
|
+
GType vips_demand_style_get_type(void) G_GNUC_CONST;
|
|
133
136
|
#define VIPS_TYPE_DEMAND_STYLE (vips_demand_style_get_type())
|
|
134
137
|
VIPS_API
|
|
135
|
-
GType vips_image_type_get_type
|
|
138
|
+
GType vips_image_type_get_type(void) G_GNUC_CONST;
|
|
136
139
|
#define VIPS_TYPE_IMAGE_TYPE (vips_image_type_get_type())
|
|
137
140
|
VIPS_API
|
|
138
|
-
GType vips_interpretation_get_type
|
|
141
|
+
GType vips_interpretation_get_type(void) G_GNUC_CONST;
|
|
139
142
|
#define VIPS_TYPE_INTERPRETATION (vips_interpretation_get_type())
|
|
140
143
|
VIPS_API
|
|
141
|
-
GType vips_band_format_get_type
|
|
144
|
+
GType vips_band_format_get_type(void) G_GNUC_CONST;
|
|
142
145
|
#define VIPS_TYPE_BAND_FORMAT (vips_band_format_get_type())
|
|
143
146
|
VIPS_API
|
|
144
|
-
GType vips_coding_get_type
|
|
147
|
+
GType vips_coding_get_type(void) G_GNUC_CONST;
|
|
145
148
|
#define VIPS_TYPE_CODING (vips_coding_get_type())
|
|
146
149
|
VIPS_API
|
|
147
|
-
GType vips_access_get_type
|
|
150
|
+
GType vips_access_get_type(void) G_GNUC_CONST;
|
|
148
151
|
#define VIPS_TYPE_ACCESS (vips_access_get_type())
|
|
149
152
|
/* enumerations from "morphology.h" */
|
|
150
153
|
VIPS_API
|
|
151
|
-
GType vips_operation_morphology_get_type
|
|
154
|
+
GType vips_operation_morphology_get_type(void) G_GNUC_CONST;
|
|
152
155
|
#define VIPS_TYPE_OPERATION_MORPHOLOGY (vips_operation_morphology_get_type())
|
|
153
156
|
/* enumerations from "object.h" */
|
|
154
157
|
VIPS_API
|
|
155
|
-
GType vips_argument_flags_get_type
|
|
158
|
+
GType vips_argument_flags_get_type(void) G_GNUC_CONST;
|
|
156
159
|
#define VIPS_TYPE_ARGUMENT_FLAGS (vips_argument_flags_get_type())
|
|
157
160
|
/* enumerations from "operation.h" */
|
|
158
161
|
VIPS_API
|
|
159
|
-
GType vips_operation_flags_get_type
|
|
162
|
+
GType vips_operation_flags_get_type(void) G_GNUC_CONST;
|
|
160
163
|
#define VIPS_TYPE_OPERATION_FLAGS (vips_operation_flags_get_type())
|
|
161
164
|
/* enumerations from "region.h" */
|
|
162
165
|
VIPS_API
|
|
163
|
-
GType vips_region_shrink_get_type
|
|
166
|
+
GType vips_region_shrink_get_type(void) G_GNUC_CONST;
|
|
164
167
|
#define VIPS_TYPE_REGION_SHRINK (vips_region_shrink_get_type())
|
|
165
168
|
/* enumerations from "resample.h" */
|
|
166
169
|
VIPS_API
|
|
167
|
-
GType vips_kernel_get_type
|
|
170
|
+
GType vips_kernel_get_type(void) G_GNUC_CONST;
|
|
168
171
|
#define VIPS_TYPE_KERNEL (vips_kernel_get_type())
|
|
169
172
|
VIPS_API
|
|
170
|
-
GType vips_size_get_type
|
|
173
|
+
GType vips_size_get_type(void) G_GNUC_CONST;
|
|
171
174
|
#define VIPS_TYPE_SIZE (vips_size_get_type())
|
|
172
175
|
/* enumerations from "util.h" */
|
|
173
176
|
VIPS_API
|
|
174
|
-
GType vips_token_get_type
|
|
177
|
+
GType vips_token_get_type(void) G_GNUC_CONST;
|
|
175
178
|
#define VIPS_TYPE_TOKEN (vips_token_get_type())
|
|
176
179
|
G_END_DECLS
|
|
177
180
|
|