@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.
Files changed (109) hide show
  1. package/README.md +3 -3
  2. package/cplusplus/VConnection.cpp +54 -54
  3. package/cplusplus/VError.cpp +20 -18
  4. package/cplusplus/VImage.cpp +636 -589
  5. package/cplusplus/VInterpolate.cpp +22 -22
  6. package/cplusplus/VRegion.cpp +4 -4
  7. package/cplusplus/vips-operators.cpp +2326 -2301
  8. package/include/aom/aom_codec.h +10 -6
  9. package/include/aom/aom_decoder.h +1 -1
  10. package/include/aom/aom_encoder.h +9 -2
  11. package/include/aom/aomcx.h +72 -3
  12. package/include/cairo/cairo-ft.h +1 -1
  13. package/include/cairo/cairo-gobject.h +8 -0
  14. package/include/cairo/cairo-svg.h +3 -3
  15. package/include/cairo/cairo-version.h +2 -2
  16. package/include/cairo/cairo.h +91 -24
  17. package/include/glib-2.0/glib/gmacros.h +1 -1
  18. package/include/glib-2.0/glib/gtestutils.h +1 -1
  19. package/include/glib-2.0/gobject/gtype.h +7 -7
  20. package/include/harfbuzz/hb-version.h +2 -2
  21. package/include/hwy/aligned_allocator.h +211 -0
  22. package/include/hwy/base.h +1517 -0
  23. package/include/hwy/cache_control.h +108 -0
  24. package/include/hwy/detect_compiler_arch.h +281 -0
  25. package/include/hwy/detect_targets.h +644 -0
  26. package/include/hwy/foreach_target.h +340 -0
  27. package/include/hwy/highway.h +435 -0
  28. package/include/hwy/highway_export.h +74 -0
  29. package/include/hwy/nanobenchmark.h +171 -0
  30. package/include/hwy/ops/arm_neon-inl.h +8913 -0
  31. package/include/hwy/ops/arm_sve-inl.h +5105 -0
  32. package/include/hwy/ops/emu128-inl.h +2811 -0
  33. package/include/hwy/ops/generic_ops-inl.h +4745 -0
  34. package/include/hwy/ops/ppc_vsx-inl.h +5716 -0
  35. package/include/hwy/ops/rvv-inl.h +5070 -0
  36. package/include/hwy/ops/scalar-inl.h +1995 -0
  37. package/include/hwy/ops/set_macros-inl.h +578 -0
  38. package/include/hwy/ops/shared-inl.h +539 -0
  39. package/include/hwy/ops/tuple-inl.h +125 -0
  40. package/include/hwy/ops/wasm_128-inl.h +5917 -0
  41. package/include/hwy/ops/x86_128-inl.h +11173 -0
  42. package/include/hwy/ops/x86_256-inl.h +7529 -0
  43. package/include/hwy/ops/x86_512-inl.h +6849 -0
  44. package/include/hwy/per_target.h +44 -0
  45. package/include/hwy/print-inl.h +62 -0
  46. package/include/hwy/print.h +75 -0
  47. package/include/hwy/robust_statistics.h +148 -0
  48. package/include/hwy/targets.h +338 -0
  49. package/include/hwy/timer-inl.h +200 -0
  50. package/include/hwy/timer.h +55 -0
  51. package/include/jconfig.h +2 -2
  52. package/include/jpeglib.h +3 -2
  53. package/include/libheif/heif.h +461 -384
  54. package/include/libheif/heif_cxx.h +4 -1
  55. package/include/libheif/heif_plugin.h +1 -1
  56. package/include/libheif/heif_properties.h +138 -0
  57. package/include/libheif/heif_regions.h +866 -0
  58. package/include/libheif/heif_version.h +3 -3
  59. package/include/libpng16/pnglibconf.h +1 -1
  60. package/include/pnglibconf.h +1 -1
  61. package/include/vips/VConnection8.h +43 -49
  62. package/include/vips/VError8.h +27 -24
  63. package/include/vips/VImage8.h +4861 -4597
  64. package/include/vips/VInterpolate8.h +24 -27
  65. package/include/vips/VRegion8.h +32 -33
  66. package/include/vips/arithmetic.h +169 -169
  67. package/include/vips/basic.h +33 -33
  68. package/include/vips/buf.h +56 -54
  69. package/include/vips/colour.h +95 -95
  70. package/include/vips/connection.h +190 -193
  71. package/include/vips/conversion.h +91 -91
  72. package/include/vips/convolution.h +36 -30
  73. package/include/vips/create.h +63 -63
  74. package/include/vips/dbuf.h +35 -37
  75. package/include/vips/debug.h +65 -33
  76. package/include/vips/draw.h +41 -41
  77. package/include/vips/enumtypes.h +54 -51
  78. package/include/vips/error.h +63 -63
  79. package/include/vips/foreign.h +263 -223
  80. package/include/vips/format.h +48 -48
  81. package/include/vips/freqfilt.h +22 -22
  82. package/include/vips/gate.h +55 -47
  83. package/include/vips/generate.h +34 -34
  84. package/include/vips/header.h +111 -101
  85. package/include/vips/histogram.h +28 -28
  86. package/include/vips/image.h +213 -213
  87. package/include/vips/interpolate.h +40 -41
  88. package/include/vips/memory.h +61 -52
  89. package/include/vips/morphology.h +24 -24
  90. package/include/vips/mosaicing.h +32 -33
  91. package/include/vips/object.h +371 -357
  92. package/include/vips/operation.h +68 -67
  93. package/include/vips/private.h +76 -76
  94. package/include/vips/rect.h +26 -26
  95. package/include/vips/region.h +92 -92
  96. package/include/vips/resample.h +38 -38
  97. package/include/vips/sbuf.h +53 -54
  98. package/include/vips/semaphore.h +24 -24
  99. package/include/vips/thread.h +30 -27
  100. package/include/vips/threadpool.h +48 -49
  101. package/include/vips/transform.h +39 -39
  102. package/include/vips/type.h +90 -85
  103. package/include/vips/util.h +274 -229
  104. package/include/vips/vector.h +24 -144
  105. package/include/vips/version.h +9 -9
  106. package/include/vips/vips.h +41 -40
  107. package/include/zlib.h +23 -19
  108. package/package.json +1 -1
  109. package/versions.json +9 -9
@@ -4,28 +4,28 @@
4
4
 
5
5
  /*
6
6
 
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
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
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
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( 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.
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, /* No flags set */
58
- VIPS_FORMAT_PARTIAL = 1, /* Lazy read OK (eg. tiled tiff) */
59
- VIPS_FORMAT_BIGENDIAN = 2 /* Most-significant byte first */
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)( const char * );
77
+ gboolean (*is_a)(const char *);
78
78
 
79
79
  /* Read just the header into the VipsImage.
80
80
  */
81
- int (*header)( const char *, VipsImage * );
81
+ int (*header)(const char *, VipsImage *);
82
82
 
83
83
  /* Load the whole image.
84
84
  */
85
- int (*load)( const char *, VipsImage * );
85
+ int (*load)(const char *, VipsImage *);
86
86
 
87
87
  /* Write the VipsImage to the file in this format.
88
88
  */
89
- int (*save)( VipsImage *, const char * );
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)( const char * );
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( void );
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( VipsSListMap2Fn fn, void *a, void *b );
114
+ void *vips_format_map(VipsSListMap2Fn fn, void *a, void *b);
115
115
  VIPS_API
116
- VipsFormatClass *vips_format_for_file( const char *filename );
116
+ VipsFormatClass *vips_format_for_file(const char *filename);
117
117
  VIPS_API
118
- VipsFormatClass *vips_format_for_name( const char *filename );
118
+ VipsFormatClass *vips_format_for_name(const char *filename);
119
119
 
120
120
  VIPS_API
121
- VipsFormatFlags vips_format_get_flags( VipsFormatClass *format,
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( const char *filename, VipsImage *out );
127
+ int vips_format_read(const char *filename, VipsImage *out);
128
128
  VIPS_API
129
- int vips_format_write( VipsImage *in, const char *filename );
129
+ int vips_format_write(VipsImage *in, const char *filename);
130
130
 
131
131
  #ifdef __cplusplus
132
132
  }
@@ -6,28 +6,28 @@
6
6
 
7
7
  /*
8
8
 
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
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
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
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( VipsImage *in, VipsImage **out, ... )
42
+ int vips_fwfft(VipsImage *in, VipsImage **out, ...)
43
43
  G_GNUC_NULL_TERMINATED;
44
44
  VIPS_API
45
- int vips_invfft( VipsImage *in, VipsImage **out, ... )
45
+ int vips_invfft(VipsImage *in, VipsImage **out, ...)
46
46
  G_GNUC_NULL_TERMINATED;
47
47
 
48
48
  VIPS_API
49
- int vips_freqmult( VipsImage *in, VipsImage *mask, VipsImage **out, ... )
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( VipsImage *in, VipsImage **out, ... )
53
+ int vips_spectrum(VipsImage *in, VipsImage **out, ...)
54
54
  G_GNUC_NULL_TERMINATED;
55
55
 
56
56
  VIPS_API
57
- int vips_phasecor( VipsImage *in1, VipsImage *in2, VipsImage **out, ... )
57
+ int vips_phasecor(VipsImage *in1, VipsImage *in2, VipsImage **out, ...)
58
58
  G_GNUC_NULL_TERMINATED;
59
59
 
60
60
  #ifdef __cplusplus
@@ -3,28 +3,28 @@
3
3
 
4
4
  /*
5
5
 
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
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
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
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( NAME ) \
41
- G_STMT_START { \
42
- if( vips__thread_profile ) \
43
- vips__thread_gate_start( NAME ); \
44
- } G_STMT_END
45
-
46
- #define VIPS_GATE_STOP( NAME ) \
47
- G_STMT_START { \
48
- if( vips__thread_profile ) \
49
- vips__thread_gate_stop( NAME ); \
50
- } G_STMT_END
51
-
52
- #define VIPS_GATE_MALLOC( SIZE ) \
53
- G_STMT_START { \
54
- if( vips__thread_profile ) \
55
- vips__thread_malloc_free( (gint64) (SIZE) ); \
56
- } G_STMT_END
57
-
58
- #define VIPS_GATE_FREE( SIZE ) \
59
- G_STMT_START { \
60
- if( vips__thread_profile ) \
61
- vips__thread_malloc_free( -((gint64) (SIZE)) ); \
62
- } G_STMT_END
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( gboolean profile );
75
+ void vips_profile_set(gboolean profile);
68
76
 
69
- void vips__thread_profile_attach( const char *thread_name );
70
- void vips__thread_profile_detach( void );
71
- void vips__thread_profile_stop( void );
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( const char *gate_name );
74
- void vips__thread_gate_stop( const char *gate_name );
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( gint64 size );
84
+ void vips__thread_malloc_free(gint64 size);
77
85
 
78
86
  #endif /*VIPS_GATE_H*/
79
87
 
@@ -5,28 +5,28 @@
5
5
 
6
6
  /*
7
7
 
8
- This file is part of VIPS.
8
+ This file is part of VIPS.
9
9
 
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.
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
- 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.
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
- 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
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
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
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)( VipsRegion *region, VipsRect *area, void *a );
40
+ typedef int (*VipsRegionWrite)(VipsRegion *region, VipsRect *area, void *a);
41
41
  VIPS_API
42
- int vips_sink_disc( VipsImage *im, VipsRegionWrite write_fn, void *a );
42
+ int vips_sink_disc(VipsImage *im, VipsRegionWrite write_fn, void *a);
43
43
 
44
44
  VIPS_API
45
- int vips_sink( VipsImage *im,
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( VipsImage *im,
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)( VipsImage *im, VipsRect *rect, void *a );
54
+ typedef void (*VipsSinkNotify)(VipsImage *im, VipsRect *rect, void *a);
55
55
  VIPS_API
56
- int vips_sink_screen( VipsImage *in, VipsImage *out, VipsImage *mask,
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( VipsImage *im );
62
+ int vips_sink_memory(VipsImage *im);
63
63
 
64
64
  VIPS_API
65
- void *vips_start_one( VipsImage *out, void *a, void *b );
65
+ void *vips_start_one(VipsImage *out, void *a, void *b);
66
66
  VIPS_API
67
- int vips_stop_one( void *seq, void *a, void *b );
67
+ int vips_stop_one(void *seq, void *a, void *b);
68
68
  VIPS_API
69
- void *vips_start_many( VipsImage *out, void *a, void *b );
69
+ void *vips_start_many(VipsImage *out, void *a, void *b);
70
70
  VIPS_API
71
- int vips_stop_many( void *seq, void *a, void *b );
71
+ int vips_stop_many(void *seq, void *a, void *b);
72
72
  VIPS_API
73
- VipsImage **vips_allocate_input_array( VipsImage *out, ... )
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( VipsImage *image,
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( VipsImage *image,
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( VipsImage *image, VipsDemandStyle hint, ... )
85
+ int vips_image_pipelinev(VipsImage *image, VipsDemandStyle hint, ...)
86
86
  G_GNUC_NULL_TERMINATED;
87
87
 
88
88
  #ifdef __cplusplus