@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
@@ -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
 
@@ -43,19 +43,19 @@ extern "C" {
43
43
  #endif /*__cplusplus*/
44
44
 
45
45
  #define VIPS_TYPE_INTERPOLATE (vips_interpolate_get_type())
46
- #define VIPS_INTERPOLATE( obj ) \
47
- (G_TYPE_CHECK_INSTANCE_CAST( (obj), \
48
- VIPS_TYPE_INTERPOLATE, VipsInterpolate ))
49
- #define VIPS_INTERPOLATE_CLASS( klass ) \
50
- (G_TYPE_CHECK_CLASS_CAST( (klass), \
51
- VIPS_TYPE_INTERPOLATE, VipsInterpolateClass))
52
- #define VIPS_IS_INTERPOLATE( obj ) \
53
- (G_TYPE_CHECK_INSTANCE_TYPE( (obj), VIPS_TYPE_INTERPOLATE ))
54
- #define VIPS_IS_INTERPOLATE_CLASS( klass ) \
55
- (G_TYPE_CHECK_CLASS_TYPE( (klass), VIPS_TYPE_INTERPOLATE ))
56
- #define VIPS_INTERPOLATE_GET_CLASS( obj ) \
57
- (G_TYPE_INSTANCE_GET_CLASS( (obj), \
58
- VIPS_TYPE_INTERPOLATE, VipsInterpolateClass ))
46
+ #define VIPS_INTERPOLATE(obj) \
47
+ (G_TYPE_CHECK_INSTANCE_CAST((obj), \
48
+ VIPS_TYPE_INTERPOLATE, VipsInterpolate))
49
+ #define VIPS_INTERPOLATE_CLASS(klass) \
50
+ (G_TYPE_CHECK_CLASS_CAST((klass), \
51
+ VIPS_TYPE_INTERPOLATE, VipsInterpolateClass))
52
+ #define VIPS_IS_INTERPOLATE(obj) \
53
+ (G_TYPE_CHECK_INSTANCE_TYPE((obj), VIPS_TYPE_INTERPOLATE))
54
+ #define VIPS_IS_INTERPOLATE_CLASS(klass) \
55
+ (G_TYPE_CHECK_CLASS_TYPE((klass), VIPS_TYPE_INTERPOLATE))
56
+ #define VIPS_INTERPOLATE_GET_CLASS(obj) \
57
+ (G_TYPE_INSTANCE_GET_CLASS((obj), \
58
+ VIPS_TYPE_INTERPOLATE, VipsInterpolateClass))
59
59
 
60
60
  typedef struct _VipsInterpolate {
61
61
  VipsObject parent_object;
@@ -66,8 +66,8 @@ typedef struct _VipsInterpolate {
66
66
  * function for it to speed up dispatch. Write to the memory at "out",
67
67
  * interpolate the value at position (x, y) in "in".
68
68
  */
69
- typedef void (*VipsInterpolateMethod)( VipsInterpolate *interpolate,
70
- void *out, VipsRegion *in, double x, double y );
69
+ typedef void (*VipsInterpolateMethod)(VipsInterpolate *interpolate,
70
+ void *out, VipsRegion *in, double x, double y);
71
71
 
72
72
  typedef struct _VipsInterpolateClass {
73
73
  VipsObjectClass parent_class;
@@ -79,7 +79,7 @@ typedef struct _VipsInterpolateClass {
79
79
 
80
80
  /* This interpolator needs a window this many pixels across and down.
81
81
  */
82
- int (*get_window_size)( VipsInterpolate *interpolate );
82
+ int (*get_window_size)(VipsInterpolate *interpolate);
83
83
 
84
84
  /* Or just set this if you want a constant.
85
85
  */
@@ -88,7 +88,7 @@ typedef struct _VipsInterpolateClass {
88
88
  /* Stencils are offset by this much. Default to window_size / 2 - 1
89
89
  * (centering) if get_window_offset is NULL and window_offset is -1.
90
90
  */
91
- int (*get_window_offset)( VipsInterpolate *interpolate );
91
+ int (*get_window_offset)(VipsInterpolate *interpolate);
92
92
  int window_offset;
93
93
  } VipsInterpolateClass;
94
94
 
@@ -97,17 +97,17 @@ typedef struct _VipsInterpolateClass {
97
97
  VIPS_API
98
98
  GType vips_interpolate_get_type(void);
99
99
  VIPS_API
100
- void vips_interpolate( VipsInterpolate *interpolate,
101
- void *out, VipsRegion *in, double x, double y );
100
+ void vips_interpolate(VipsInterpolate *interpolate,
101
+ void *out, VipsRegion *in, double x, double y);
102
102
  VIPS_API
103
- VipsInterpolateMethod vips_interpolate_get_method( VipsInterpolate *interpolate );
103
+ VipsInterpolateMethod vips_interpolate_get_method(VipsInterpolate *interpolate);
104
104
  VIPS_API
105
- int vips_interpolate_get_window_size( VipsInterpolate *interpolate );
105
+ int vips_interpolate_get_window_size(VipsInterpolate *interpolate);
106
106
  VIPS_API
107
- int vips_interpolate_get_window_offset( VipsInterpolate *interpolate );
107
+ int vips_interpolate_get_window_offset(VipsInterpolate *interpolate);
108
108
 
109
109
  /* How many bits of precision we keep for transformations, ie. how many
110
- * pre-computed matricies we have.
110
+ * pre-computed matrices we have.
111
111
  */
112
112
  #define VIPS_TRANSFORM_SHIFT (6)
113
113
  #define VIPS_TRANSFORM_SCALE (1 << VIPS_TRANSFORM_SHIFT)
@@ -123,19 +123,18 @@ int vips_interpolate_get_window_offset( VipsInterpolate *interpolate );
123
123
  /* Convenience: return static interpolators, no need to unref.
124
124
  */
125
125
  VIPS_API
126
- VipsInterpolate *vips_interpolate_nearest_static( void );
126
+ VipsInterpolate *vips_interpolate_nearest_static(void);
127
127
  VIPS_API
128
- VipsInterpolate *vips_interpolate_bilinear_static( void );
128
+ VipsInterpolate *vips_interpolate_bilinear_static(void);
129
129
 
130
130
  /* Convenience: make an interpolator from a nickname. g_object_unref() when
131
131
  * you're done with it.
132
132
  */
133
133
  VIPS_API
134
- VipsInterpolate *vips_interpolate_new( const char *nickname );
134
+ VipsInterpolate *vips_interpolate_new(const char *nickname);
135
135
 
136
136
  #ifdef __cplusplus
137
137
  }
138
138
  #endif /*__cplusplus*/
139
139
 
140
140
  #endif /*VIPS_INTERPOLATE_H*/
141
-
@@ -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,57 +37,66 @@
37
37
  extern "C" {
38
38
  #endif /*__cplusplus*/
39
39
 
40
- #define VIPS_FREEF( F, S ) G_STMT_START { \
41
- if( S ) { \
42
- (void) F( (S) ); \
43
- (S) = 0; \
44
- } \
45
- } G_STMT_END
46
-
47
- #define VIPS_FREE( S ) VIPS_FREEF( g_free, (S) );
48
-
49
- #define VIPS_SETSTR( S, V ) \
50
- G_STMT_START { \
51
- const char *sst = (V); \
52
- \
53
- if( (S) != sst ) { \
54
- if( !(S) || !sst || strcmp( (S), sst ) != 0 ) { \
55
- VIPS_FREE( S ); \
56
- if( sst ) \
57
- (S) = g_strdup( sst ); \
58
- } \
59
- } \
60
- } G_STMT_END
61
-
62
- #define VIPS_MALLOC( OBJ, S ) \
63
- (vips_malloc( VIPS_OBJECT( OBJ ), S))
64
- #define VIPS_NEW( OBJ, T ) \
65
- ((T *) VIPS_MALLOC( OBJ, sizeof( T )))
66
- #define VIPS_ARRAY( OBJ, N, T ) \
67
- ((T *) VIPS_MALLOC( OBJ, (N) * sizeof( T )))
40
+ #define VIPS_FREEF(F, S) \
41
+ G_STMT_START \
42
+ { \
43
+ if (S) { \
44
+ (void) F((S)); \
45
+ (S) = 0; \
46
+ } \
47
+ } \
48
+ G_STMT_END
49
+
50
+ #define VIPS_FREE(S) VIPS_FREEF(g_free, (S));
51
+
52
+ #define VIPS_SETSTR(S, V) \
53
+ G_STMT_START \
54
+ { \
55
+ const char *sst = (V); \
56
+ \
57
+ if ((S) != sst) { \
58
+ if (!(S) || !sst || strcmp((S), sst) != 0) { \
59
+ VIPS_FREE(S); \
60
+ if (sst) \
61
+ (S) = g_strdup(sst); \
62
+ } \
63
+ } \
64
+ } \
65
+ G_STMT_END
66
+
67
+ #define VIPS_MALLOC(OBJ, S) \
68
+ (vips_malloc(VIPS_OBJECT(OBJ), S))
69
+ #define VIPS_NEW(OBJ, T) \
70
+ ((T *) VIPS_MALLOC(OBJ, sizeof(T)))
71
+ #define VIPS_ARRAY(OBJ, N, T) \
72
+ ((T *) VIPS_MALLOC(OBJ, (N) * sizeof(T)))
68
73
 
69
74
  VIPS_API
70
- void *vips_malloc( VipsObject *object, size_t size );
75
+ void *vips_malloc(VipsObject *object, size_t size);
71
76
  VIPS_API
72
- char *vips_strdup( VipsObject *object, const char *str );
77
+ char *vips_strdup(VipsObject *object, const char *str);
73
78
 
74
79
  VIPS_API
75
- void vips_tracked_free( void *s );
80
+ void vips_tracked_free(void *s);
76
81
  VIPS_API
77
- void *vips_tracked_malloc( size_t size );
82
+ void vips_tracked_aligned_free(void *s);
78
83
  VIPS_API
79
- size_t vips_tracked_get_mem( void );
84
+ void *vips_tracked_malloc(size_t size);
80
85
  VIPS_API
81
- size_t vips_tracked_get_mem_highwater( void );
86
+ void *vips_tracked_aligned_alloc(size_t size, size_t align);
82
87
  VIPS_API
83
- int vips_tracked_get_allocs( void );
88
+ size_t vips_tracked_get_mem(void);
89
+ VIPS_API
90
+ size_t vips_tracked_get_mem_highwater(void);
91
+ VIPS_API
92
+ int vips_tracked_get_allocs(void);
84
93
 
85
94
  VIPS_API
86
- int vips_tracked_open( const char *pathname, int flags, int mode );
95
+ int vips_tracked_open(const char *pathname, int flags, int mode);
87
96
  VIPS_API
88
- int vips_tracked_close( int fd );
97
+ int vips_tracked_close(int fd);
89
98
  VIPS_API
90
- int vips_tracked_get_files( void );
99
+ int vips_tracked_get_files(void);
91
100
 
92
101
  #ifdef __cplusplus
93
102
  }
@@ -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.
9
+ This file is part of VIPS.
15
10
 
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.
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.
20
15
 
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
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
 
@@ -45,25 +45,25 @@ typedef enum {
45
45
  } VipsOperationMorphology;
46
46
 
47
47
  VIPS_API
48
- int vips_morph( VipsImage *in, VipsImage **out, VipsImage *mask,
49
- VipsOperationMorphology morph, ... )
48
+ int vips_morph(VipsImage *in, VipsImage **out, VipsImage *mask,
49
+ VipsOperationMorphology morph, ...)
50
50
  G_GNUC_NULL_TERMINATED;
51
51
  VIPS_API
52
- int vips_rank( VipsImage *in, VipsImage **out,
53
- int width, int height, int index, ... )
52
+ int vips_rank(VipsImage *in, VipsImage **out,
53
+ int width, int height, int index, ...)
54
54
  G_GNUC_NULL_TERMINATED;
55
55
  VIPS_API
56
- int vips_median( VipsImage *in, VipsImage **out, int size, ... )
56
+ int vips_median(VipsImage *in, VipsImage **out, int size, ...)
57
57
  G_GNUC_NULL_TERMINATED;
58
58
  VIPS_API
59
- int vips_countlines( VipsImage *in, double *nolines,
60
- VipsDirection direction, ... )
59
+ int vips_countlines(VipsImage *in, double *nolines,
60
+ VipsDirection direction, ...)
61
61
  G_GNUC_NULL_TERMINATED;
62
62
  VIPS_API
63
- int vips_labelregions( VipsImage *in, VipsImage **mask, ... )
63
+ int vips_labelregions(VipsImage *in, VipsImage **mask, ...)
64
64
  G_GNUC_NULL_TERMINATED;
65
65
  VIPS_API
66
- int vips_fill_nearest( VipsImage *in, VipsImage **out, ... )
66
+ int vips_fill_nearest(VipsImage *in, VipsImage **out, ...)
67
67
  G_GNUC_NULL_TERMINATED;
68
68
 
69
69
  #ifdef __cplusplus
@@ -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,40 +39,39 @@ extern "C" {
39
39
  #endif /*__cplusplus*/
40
40
 
41
41
  VIPS_API
42
- int vips_merge( VipsImage *ref, VipsImage *sec, VipsImage **out,
43
- VipsDirection direction, int dx, int dy, ... )
42
+ int vips_merge(VipsImage *ref, VipsImage *sec, VipsImage **out,
43
+ VipsDirection direction, int dx, int dy, ...)
44
44
  G_GNUC_NULL_TERMINATED;
45
45
  VIPS_API
46
- int vips_mosaic( VipsImage *ref, VipsImage *sec, VipsImage **out,
47
- VipsDirection direction, int xref, int yref, int xsec, int ysec, ... )
46
+ int vips_mosaic(VipsImage *ref, VipsImage *sec, VipsImage **out,
47
+ VipsDirection direction, int xref, int yref, int xsec, int ysec, ...)
48
48
  G_GNUC_NULL_TERMINATED;
49
49
 
50
50
  VIPS_API
51
- int vips_mosaic1( VipsImage *ref, VipsImage *sec, VipsImage **out,
52
- VipsDirection direction,
53
- int xr1, int yr1, int xs1, int ys1,
54
- int xr2, int yr2, int xs2, int ys2, ... )
51
+ int vips_mosaic1(VipsImage *ref, VipsImage *sec, VipsImage **out,
52
+ VipsDirection direction,
53
+ int xr1, int yr1, int xs1, int ys1,
54
+ int xr2, int yr2, int xs2, int ys2, ...)
55
55
  G_GNUC_NULL_TERMINATED;
56
56
 
57
57
  VIPS_API
58
- int vips_match( VipsImage *ref, VipsImage *sec, VipsImage **out,
59
- int xr1, int yr1, int xs1, int ys1,
60
- int xr2, int yr2, int xs2, int ys2, ... )
58
+ int vips_match(VipsImage *ref, VipsImage *sec, VipsImage **out,
59
+ int xr1, int yr1, int xs1, int ys1,
60
+ int xr2, int yr2, int xs2, int ys2, ...)
61
61
  G_GNUC_NULL_TERMINATED;
62
62
 
63
63
  VIPS_API
64
- int vips_globalbalance( VipsImage *in, VipsImage **out, ... )
64
+ int vips_globalbalance(VipsImage *in, VipsImage **out, ...)
65
65
  G_GNUC_NULL_TERMINATED;
66
66
  VIPS_API
67
- int vips_remosaic( VipsImage *in, VipsImage **out,
68
- const char *old_str, const char *new_str, ... )
67
+ int vips_remosaic(VipsImage *in, VipsImage **out,
68
+ const char *old_str, const char *new_str, ...)
69
69
  G_GNUC_NULL_TERMINATED;
70
70
 
71
71
  VIPS_API
72
- int vips_matrixinvert( VipsImage *m, VipsImage **out, ... )
72
+ int vips_matrixinvert(VipsImage *m, VipsImage **out, ...)
73
73
  G_GNUC_NULL_TERMINATED;
74
74
 
75
-
76
75
  #ifdef __cplusplus
77
76
  }
78
77
  #endif /*__cplusplus*/