@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
@@ -6,28 +6,28 @@
6
6
 
7
7
  /*
8
8
 
9
- This file is part of VIPS.
9
+ This file is part of VIPS.
10
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.
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
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.
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
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
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
 
@@ -37,9 +37,9 @@
37
37
  /* Defined in config.h
38
38
  */
39
39
  #ifdef _VIPS_PUBLIC
40
- # define VIPS_API _VIPS_PUBLIC extern
40
+ #define VIPS_API _VIPS_PUBLIC extern
41
41
  #else
42
- # define VIPS_API extern
42
+ #define VIPS_API extern
43
43
  #endif
44
44
 
45
45
  /* VIPS_DISABLE_DEPRECATION_WARNINGS:
@@ -49,11 +49,11 @@
49
49
  * Must be defined before including `vips/vips.h`.
50
50
  */
51
51
  #ifdef VIPS_DISABLE_DEPRECATION_WARNINGS
52
- # define VIPS_DEPRECATED VIPS_API
53
- # define VIPS_DEPRECATED_FOR(f) VIPS_API
52
+ #define VIPS_DEPRECATED VIPS_API
53
+ #define VIPS_DEPRECATED_FOR(f) VIPS_API
54
54
  #else
55
- # define VIPS_DEPRECATED G_DEPRECATED VIPS_API
56
- # define VIPS_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) VIPS_API
55
+ #define VIPS_DEPRECATED G_DEPRECATED VIPS_API
56
+ #define VIPS_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) VIPS_API
57
57
  #endif
58
58
 
59
59
  #ifdef __cplusplus
@@ -70,16 +70,16 @@ typedef unsigned char VipsPel;
70
70
 
71
71
  /* Also used for eg. vips_local() and friends.
72
72
  */
73
- typedef int (*VipsCallbackFn)( void *a, void *b );
73
+ typedef int (*VipsCallbackFn)(void *a, void *b);
74
74
 
75
75
  /* Like GFunc, but return a value.
76
76
  */
77
- typedef void *(*VipsSListMap2Fn)( void *item,
78
- void *a, void *b );
79
- typedef void *(*VipsSListMap4Fn)( void *item,
80
- void *a, void *b, void *c, void *d );
81
- typedef void *(*VipsSListFold2Fn)( void *item,
82
- void *a, void *b, void *c );
77
+ typedef void *(*VipsSListMap2Fn)(void *item,
78
+ void *a, void *b);
79
+ typedef void *(*VipsSListMap4Fn)(void *item,
80
+ void *a, void *b, void *c, void *d);
81
+ typedef void *(*VipsSListFold2Fn)(void *item,
82
+ void *a, void *b, void *c);
83
83
 
84
84
  typedef enum {
85
85
  VIPS_PRECISION_INTEGER,
@@ -91,19 +91,19 @@ typedef enum {
91
91
  /* Just for testing.
92
92
  */
93
93
  VIPS_API
94
- char *vips_path_filename7( const char *path );
94
+ char *vips_path_filename7(const char *path);
95
95
  VIPS_API
96
- char *vips_path_mode7( const char *path );
96
+ char *vips_path_mode7(const char *path);
97
97
 
98
- struct _VipsImage;
98
+ struct _VipsImage;
99
99
  typedef struct _VipsImage VipsImage;
100
- struct _VipsRegion;
100
+ struct _VipsRegion;
101
101
  typedef struct _VipsRegion VipsRegion;
102
102
  struct _VipsBuf;
103
103
  typedef struct _VipsBuf VipsBuf;
104
- struct _VipsSource;
104
+ struct _VipsSource;
105
105
  typedef struct _VipsSource VipsSource;
106
- struct _VipsTarget;
106
+ struct _VipsTarget;
107
107
  typedef struct _VipsTarget VipsTarget;
108
108
 
109
109
  #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
 
@@ -39,8 +39,8 @@
39
39
  extern "C" {
40
40
  #endif /*__cplusplus*/
41
41
 
42
- /* A string in the process of being written to ... multiple calls to
43
- * vips_buf_append add to it. On overflow append "..." and block further
42
+ /* A string in the process of being written to ... multiple calls to
43
+ * vips_buf_append add to it. On overflow append "..." and block further
44
44
  * writes.
45
45
  */
46
46
 
@@ -48,68 +48,70 @@ struct _VipsBuf {
48
48
  /* All fields are private.
49
49
  */
50
50
  /*< private >*/
51
- char *base; /* String base */
52
- int mx; /* Maximum length */
53
- int i; /* Current write point */
54
- gboolean full; /* String has filled, block writes */
55
- int lasti; /* For read-recent */
56
- gboolean dynamic; /* We own the string with malloc() */
57
- };
58
-
59
- #define VIPS_BUF_STATIC( TEXT ) \
60
- { &TEXT[0], sizeof( TEXT ), 0, FALSE, 0, FALSE }
51
+ char *base; /* String base */
52
+ int mx; /* Maximum length */
53
+ int i; /* Current write point */
54
+ gboolean full; /* String has filled, block writes */
55
+ int lasti; /* For read-recent */
56
+ gboolean dynamic; /* We own the string with malloc() */
57
+ };
58
+
59
+ #define VIPS_BUF_STATIC(TEXT) \
60
+ { \
61
+ &TEXT[0], sizeof(TEXT), 0, FALSE, 0, FALSE \
62
+ }
61
63
 
62
64
  /* Init and append to one of the above.
63
65
  */
64
66
  VIPS_API
65
- void vips_buf_rewind( VipsBuf *buf );
67
+ void vips_buf_rewind(VipsBuf *buf);
66
68
  VIPS_API
67
- void vips_buf_destroy( VipsBuf *buf );
69
+ void vips_buf_destroy(VipsBuf *buf);
68
70
  VIPS_API
69
- void vips_buf_init( VipsBuf *buf );
71
+ void vips_buf_init(VipsBuf *buf);
70
72
  VIPS_API
71
- void vips_buf_set_static( VipsBuf *buf, char *base, int mx );
73
+ void vips_buf_set_static(VipsBuf *buf, char *base, int mx);
72
74
  VIPS_API
73
- void vips_buf_set_dynamic( VipsBuf *buf, int mx );
75
+ void vips_buf_set_dynamic(VipsBuf *buf, int mx);
74
76
  VIPS_API
75
- void vips_buf_init_static( VipsBuf *buf, char *base, int mx );
77
+ void vips_buf_init_static(VipsBuf *buf, char *base, int mx);
76
78
  VIPS_API
77
- void vips_buf_init_dynamic( VipsBuf *buf, int mx );
79
+ void vips_buf_init_dynamic(VipsBuf *buf, int mx);
78
80
  VIPS_API
79
- gboolean vips_buf_appendns( VipsBuf *buf, const char *str, int sz );
81
+ gboolean vips_buf_appendns(VipsBuf *buf, const char *str, int sz);
80
82
  VIPS_API
81
- gboolean vips_buf_appends( VipsBuf *buf, const char *str );
83
+ gboolean vips_buf_appends(VipsBuf *buf, const char *str);
82
84
  VIPS_API
83
- gboolean vips_buf_appendf( VipsBuf *buf, const char *fmt, ... )
84
- G_GNUC_PRINTF( 2, 3 );
85
+ gboolean vips_buf_appendf(VipsBuf *buf, const char *fmt, ...)
86
+ G_GNUC_PRINTF(2, 3);
85
87
  VIPS_API
86
- gboolean vips_buf_vappendf( VipsBuf *buf, const char *fmt, va_list ap );
88
+ gboolean vips_buf_vappendf(VipsBuf *buf, const char *fmt, va_list ap);
87
89
  VIPS_API
88
- gboolean vips_buf_appendc( VipsBuf *buf, char ch );
90
+ gboolean vips_buf_appendc(VipsBuf *buf, char ch);
89
91
  VIPS_API
90
- gboolean vips_buf_appendsc( VipsBuf *buf, gboolean quote, const char *str );
92
+ gboolean vips_buf_appendsc(VipsBuf *buf, gboolean quote, const char *str);
91
93
  VIPS_API
92
- gboolean vips_buf_appendgv( VipsBuf *buf, GValue *value );
94
+ gboolean vips_buf_appendgv(VipsBuf *buf, GValue *value);
93
95
  VIPS_API
94
- gboolean vips_buf_append_size( VipsBuf *buf, size_t n );
96
+ gboolean vips_buf_append_size(VipsBuf *buf, size_t n);
95
97
  VIPS_API
96
- gboolean vips_buf_removec( VipsBuf *buf, char ch );
98
+ gboolean vips_buf_removec(VipsBuf *buf, char ch);
97
99
  VIPS_API
98
- gboolean vips_buf_change( VipsBuf *buf, const char *o, const char *n );
100
+ gboolean vips_buf_change(VipsBuf *buf, const char *o, const char *n);
99
101
  VIPS_API
100
- gboolean vips_buf_is_empty( VipsBuf *buf );
102
+ gboolean vips_buf_is_empty(VipsBuf *buf);
101
103
  VIPS_API
102
- gboolean vips_buf_is_full( VipsBuf *buf );
104
+ gboolean vips_buf_is_full(VipsBuf *buf);
103
105
  VIPS_API
104
- const char *vips_buf_all( VipsBuf *buf );
106
+ const char *vips_buf_all(VipsBuf *buf);
105
107
  VIPS_API
106
- const char *vips_buf_firstline( VipsBuf *buf );
108
+ const char *vips_buf_firstline(VipsBuf *buf);
107
109
  VIPS_API
108
- gboolean vips_buf_appendg( VipsBuf *buf, double g );
110
+ gboolean vips_buf_appendg(VipsBuf *buf, double g);
109
111
  VIPS_API
110
- gboolean vips_buf_appendd( VipsBuf *buf, int d );
112
+ gboolean vips_buf_appendd(VipsBuf *buf, int d);
111
113
  VIPS_API
112
- int vips_buf_len( VipsBuf *buf );
114
+ int vips_buf_len(VipsBuf *buf);
113
115
 
114
116
  #ifdef __cplusplus
115
117
  }
@@ -11,28 +11,28 @@
11
11
 
12
12
  /*
13
13
 
14
- This file is part of VIPS.
15
-
16
- VIPS is free software; you can redistribute it and/or modify
17
- it under the terms of the GNU Lesser General Public License as published by
18
- the Free Software Foundation; either version 2 of the License, or
19
- (at your option) any later version.
20
-
21
- This program is distributed in the hope that it will be useful,
22
- but WITHOUT ANY WARRANTY; without even the implied warranty of
23
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
- GNU Lesser General Public License for more details.
25
-
26
- You should have received a copy of the GNU Lesser General Public License
27
- along with this program; if not, write to the Free Software
28
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
29
- 02110-1301 USA
14
+ This file is part of VIPS.
15
+
16
+ VIPS is free software; you can redistribute it and/or modify
17
+ it under the terms of the GNU Lesser General Public License as published by
18
+ the Free Software Foundation; either version 2 of the License, or
19
+ (at your option) any later version.
20
+
21
+ This program is distributed in the hope that it will be useful,
22
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
+ GNU Lesser General Public License for more details.
25
+
26
+ You should have received a copy of the GNU Lesser General Public License
27
+ along with this program; if not, write to the Free Software
28
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
29
+ 02110-1301 USA
30
30
 
31
31
  */
32
32
 
33
33
  /*
34
34
 
35
- These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
35
+ These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
36
36
 
37
37
  */
38
38
 
@@ -108,196 +108,196 @@ typedef enum {
108
108
  } VipsPCS;
109
109
 
110
110
  VIPS_API
111
- gboolean vips_colourspace_issupported( const VipsImage *image );
111
+ gboolean vips_colourspace_issupported(const VipsImage *image);
112
112
  VIPS_API
113
- int vips_colourspace( VipsImage *in, VipsImage **out,
114
- VipsInterpretation space, ... )
113
+ int vips_colourspace(VipsImage *in, VipsImage **out,
114
+ VipsInterpretation space, ...)
115
115
  G_GNUC_NULL_TERMINATED;
116
116
 
117
117
  VIPS_API
118
- int vips_LabQ2sRGB( VipsImage *in, VipsImage **out, ... )
118
+ int vips_LabQ2sRGB(VipsImage *in, VipsImage **out, ...)
119
119
  G_GNUC_NULL_TERMINATED;
120
120
  VIPS_API
121
- int vips_rad2float( VipsImage *in, VipsImage **out, ... )
121
+ int vips_rad2float(VipsImage *in, VipsImage **out, ...)
122
122
  G_GNUC_NULL_TERMINATED;
123
123
  VIPS_API
124
- int vips_float2rad( VipsImage *in, VipsImage **out, ... )
124
+ int vips_float2rad(VipsImage *in, VipsImage **out, ...)
125
125
  G_GNUC_NULL_TERMINATED;
126
126
  VIPS_API
127
- int vips_LabS2LabQ( VipsImage *in, VipsImage **out, ... )
127
+ int vips_LabS2LabQ(VipsImage *in, VipsImage **out, ...)
128
128
  G_GNUC_NULL_TERMINATED;
129
129
  VIPS_API
130
- int vips_LabQ2LabS( VipsImage *in, VipsImage **out, ... )
130
+ int vips_LabQ2LabS(VipsImage *in, VipsImage **out, ...)
131
131
  G_GNUC_NULL_TERMINATED;
132
132
  VIPS_API
133
- int vips_LabQ2Lab( VipsImage *in, VipsImage **out, ... )
133
+ int vips_LabQ2Lab(VipsImage *in, VipsImage **out, ...)
134
134
  G_GNUC_NULL_TERMINATED;
135
135
  VIPS_API
136
- int vips_Lab2LabQ( VipsImage *in, VipsImage **out, ... )
136
+ int vips_Lab2LabQ(VipsImage *in, VipsImage **out, ...)
137
137
  G_GNUC_NULL_TERMINATED;
138
138
  VIPS_API
139
- int vips_LCh2Lab( VipsImage *in, VipsImage **out, ... )
139
+ int vips_LCh2Lab(VipsImage *in, VipsImage **out, ...)
140
140
  G_GNUC_NULL_TERMINATED;
141
141
  VIPS_API
142
- int vips_Lab2LCh( VipsImage *in, VipsImage **out, ... )
142
+ int vips_Lab2LCh(VipsImage *in, VipsImage **out, ...)
143
143
  G_GNUC_NULL_TERMINATED;
144
144
  VIPS_API
145
- int vips_Yxy2Lab( VipsImage *in, VipsImage **out, ... )
145
+ int vips_Yxy2Lab(VipsImage *in, VipsImage **out, ...)
146
146
  G_GNUC_NULL_TERMINATED;
147
147
  VIPS_API
148
- int vips_CMC2XYZ( VipsImage *in, VipsImage **out, ... )
148
+ int vips_CMC2XYZ(VipsImage *in, VipsImage **out, ...)
149
149
  G_GNUC_NULL_TERMINATED;
150
150
  VIPS_API
151
- int vips_Lab2XYZ( VipsImage *in, VipsImage **out, ... )
151
+ int vips_Lab2XYZ(VipsImage *in, VipsImage **out, ...)
152
152
  G_GNUC_NULL_TERMINATED;
153
153
  VIPS_API
154
- int vips_XYZ2Lab( VipsImage *in, VipsImage **out, ... )
154
+ int vips_XYZ2Lab(VipsImage *in, VipsImage **out, ...)
155
155
  G_GNUC_NULL_TERMINATED;
156
156
 
157
157
  VIPS_API
158
- int vips_XYZ2scRGB( VipsImage *in, VipsImage **out, ... )
158
+ int vips_XYZ2scRGB(VipsImage *in, VipsImage **out, ...)
159
159
  G_GNUC_NULL_TERMINATED;
160
160
  VIPS_API
161
- int vips_scRGB2sRGB( VipsImage *in, VipsImage **out, ... )
161
+ int vips_scRGB2sRGB(VipsImage *in, VipsImage **out, ...)
162
162
  G_GNUC_NULL_TERMINATED;
163
163
  VIPS_API
164
- int vips_scRGB2BW( VipsImage *in, VipsImage **out, ... )
164
+ int vips_scRGB2BW(VipsImage *in, VipsImage **out, ...)
165
165
  G_GNUC_NULL_TERMINATED;
166
166
  VIPS_API
167
- int vips_sRGB2scRGB( VipsImage *in, VipsImage **out, ... )
167
+ int vips_sRGB2scRGB(VipsImage *in, VipsImage **out, ...)
168
168
  G_GNUC_NULL_TERMINATED;
169
169
  VIPS_API
170
- int vips_scRGB2XYZ( VipsImage *in, VipsImage **out, ... )
170
+ int vips_scRGB2XYZ(VipsImage *in, VipsImage **out, ...)
171
171
  G_GNUC_NULL_TERMINATED;
172
172
  VIPS_API
173
- int vips_HSV2sRGB( VipsImage *in, VipsImage **out, ... )
173
+ int vips_HSV2sRGB(VipsImage *in, VipsImage **out, ...)
174
174
  G_GNUC_NULL_TERMINATED;
175
175
  VIPS_API
176
- int vips_sRGB2HSV( VipsImage *in, VipsImage **out, ... )
176
+ int vips_sRGB2HSV(VipsImage *in, VipsImage **out, ...)
177
177
  G_GNUC_NULL_TERMINATED;
178
178
 
179
179
  VIPS_API
180
- int vips_LCh2CMC( VipsImage *in, VipsImage **out, ... )
180
+ int vips_LCh2CMC(VipsImage *in, VipsImage **out, ...)
181
181
  G_GNUC_NULL_TERMINATED;
182
182
  VIPS_API
183
- int vips_CMC2LCh( VipsImage *in, VipsImage **out, ... )
183
+ int vips_CMC2LCh(VipsImage *in, VipsImage **out, ...)
184
184
  G_GNUC_NULL_TERMINATED;
185
185
  VIPS_API
186
- int vips_XYZ2Yxy( VipsImage *in, VipsImage **out, ... )
186
+ int vips_XYZ2Yxy(VipsImage *in, VipsImage **out, ...)
187
187
  G_GNUC_NULL_TERMINATED;
188
188
  VIPS_API
189
- int vips_Yxy2XYZ( VipsImage *in, VipsImage **out, ... )
189
+ int vips_Yxy2XYZ(VipsImage *in, VipsImage **out, ...)
190
190
  G_GNUC_NULL_TERMINATED;
191
191
  VIPS_API
192
- int vips_LabS2Lab( VipsImage *in, VipsImage **out, ... )
192
+ int vips_LabS2Lab(VipsImage *in, VipsImage **out, ...)
193
193
  G_GNUC_NULL_TERMINATED;
194
194
  VIPS_API
195
- int vips_Lab2LabS( VipsImage *in, VipsImage **out, ... )
195
+ int vips_Lab2LabS(VipsImage *in, VipsImage **out, ...)
196
196
  G_GNUC_NULL_TERMINATED;
197
197
 
198
198
  VIPS_API
199
- int vips_CMYK2XYZ( VipsImage *in, VipsImage **out, ... )
199
+ int vips_CMYK2XYZ(VipsImage *in, VipsImage **out, ...)
200
200
  G_GNUC_NULL_TERMINATED;
201
201
  VIPS_API
202
- int vips_XYZ2CMYK( VipsImage *in, VipsImage **out, ... )
202
+ int vips_XYZ2CMYK(VipsImage *in, VipsImage **out, ...)
203
203
  G_GNUC_NULL_TERMINATED;
204
204
 
205
205
  VIPS_API
206
- int vips_profile_load( const char *name, VipsBlob **profile, ... )
206
+ int vips_profile_load(const char *name, VipsBlob **profile, ...)
207
207
  G_GNUC_NULL_TERMINATED;
208
208
  VIPS_API
209
- int vips_icc_present( void );
209
+ int vips_icc_present(void);
210
210
  VIPS_API
211
- int vips_icc_transform( VipsImage *in, VipsImage **out,
212
- const char *output_profile, ... )
211
+ int vips_icc_transform(VipsImage *in, VipsImage **out,
212
+ const char *output_profile, ...)
213
213
  G_GNUC_NULL_TERMINATED;
214
214
  VIPS_API
215
- int vips_icc_import( VipsImage *in, VipsImage **out, ... )
215
+ int vips_icc_import(VipsImage *in, VipsImage **out, ...)
216
216
  G_GNUC_NULL_TERMINATED;
217
217
  VIPS_API
218
- int vips_icc_export( VipsImage *in, VipsImage **out, ... )
218
+ int vips_icc_export(VipsImage *in, VipsImage **out, ...)
219
219
  G_GNUC_NULL_TERMINATED;
220
220
  VIPS_API
221
- int vips_icc_ac2rc( VipsImage *in, VipsImage **out,
222
- const char *profile_filename );
221
+ int vips_icc_ac2rc(VipsImage *in, VipsImage **out,
222
+ const char *profile_filename);
223
223
  VIPS_API
224
- gboolean vips_icc_is_compatible_profile( VipsImage *image,
225
- const void *data, size_t data_length );
224
+ gboolean vips_icc_is_compatible_profile(VipsImage *image,
225
+ const void *data, size_t data_length);
226
226
 
227
227
  VIPS_API
228
- int vips_dE76( VipsImage *left, VipsImage *right, VipsImage **out, ... )
228
+ int vips_dE76(VipsImage *left, VipsImage *right, VipsImage **out, ...)
229
229
  G_GNUC_NULL_TERMINATED;
230
230
  VIPS_API
231
- int vips_dE00( VipsImage *left, VipsImage *right, VipsImage **out, ... )
231
+ int vips_dE00(VipsImage *left, VipsImage *right, VipsImage **out, ...)
232
232
  G_GNUC_NULL_TERMINATED;
233
233
  VIPS_API
234
- int vips_dECMC( VipsImage *left, VipsImage *right, VipsImage **out, ... )
234
+ int vips_dECMC(VipsImage *left, VipsImage *right, VipsImage **out, ...)
235
235
  G_GNUC_NULL_TERMINATED;
236
236
 
237
237
  VIPS_API
238
- void vips_col_Lab2XYZ( float L, float a, float b,
239
- float *X, float *Y, float *Z );
238
+ void vips_col_Lab2XYZ(float L, float a, float b,
239
+ float *X, float *Y, float *Z);
240
240
  VIPS_API
241
- void vips_col_XYZ2Lab( float X, float Y, float Z,
242
- float *L, float *a, float *b );
241
+ void vips_col_XYZ2Lab(float X, float Y, float Z,
242
+ float *L, float *a, float *b);
243
243
  VIPS_API
244
- double vips_col_ab2h( double a, double b );
244
+ double vips_col_ab2h(double a, double b);
245
245
  VIPS_API
246
- void vips_col_ab2Ch( float a, float b, float *C, float *h );
246
+ void vips_col_ab2Ch(float a, float b, float *C, float *h);
247
247
  VIPS_API
248
- void vips_col_Ch2ab( float C, float h, float *a, float *b );
248
+ void vips_col_Ch2ab(float C, float h, float *a, float *b);
249
249
 
250
250
  VIPS_API
251
- float vips_col_L2Lcmc( float L );
251
+ float vips_col_L2Lcmc(float L);
252
252
  VIPS_API
253
- float vips_col_C2Ccmc( float C );
253
+ float vips_col_C2Ccmc(float C);
254
254
  VIPS_API
255
- float vips_col_Ch2hcmc( float C, float h );
255
+ float vips_col_Ch2hcmc(float C, float h);
256
256
 
257
257
  VIPS_API
258
- void vips_col_make_tables_CMC( void );
258
+ void vips_col_make_tables_CMC(void);
259
259
  VIPS_API
260
- float vips_col_Lcmc2L( float Lcmc );
260
+ float vips_col_Lcmc2L(float Lcmc);
261
261
  VIPS_API
262
- float vips_col_Ccmc2C( float Ccmc );
262
+ float vips_col_Ccmc2C(float Ccmc);
263
263
  VIPS_API
264
- float vips_col_Chcmc2h( float C, float hcmc );
264
+ float vips_col_Chcmc2h(float C, float hcmc);
265
265
 
266
266
  VIPS_API
267
- int vips_col_sRGB2scRGB_8( int r, int g, int b, float *R, float *G, float *B );
267
+ int vips_col_sRGB2scRGB_8(int r, int g, int b, float *R, float *G, float *B);
268
268
  VIPS_API
269
- int vips_col_sRGB2scRGB_16( int r, int g, int b, float *R, float *G, float *B );
269
+ int vips_col_sRGB2scRGB_16(int r, int g, int b, float *R, float *G, float *B);
270
270
  VIPS_API
271
- int vips_col_sRGB2scRGB_8_noclip( int r, int g, int b,
272
- float *R, float *G, float *B );
271
+ int vips_col_sRGB2scRGB_8_noclip(int r, int g, int b,
272
+ float *R, float *G, float *B);
273
273
  VIPS_API
274
- int vips_col_sRGB2scRGB_16_noclip( int r, int g, int b,
275
- float *R, float *G, float *B );
274
+ int vips_col_sRGB2scRGB_16_noclip(int r, int g, int b,
275
+ float *R, float *G, float *B);
276
276
 
277
277
  VIPS_API
278
- int vips_col_scRGB2XYZ( float R, float G, float B,
279
- float *X, float *Y, float *Z );
278
+ int vips_col_scRGB2XYZ(float R, float G, float B,
279
+ float *X, float *Y, float *Z);
280
280
  VIPS_API
281
- int vips_col_XYZ2scRGB( float X, float Y, float Z,
282
- float *R, float *G, float *B );
281
+ int vips_col_XYZ2scRGB(float X, float Y, float Z,
282
+ float *R, float *G, float *B);
283
283
 
284
284
  VIPS_API
285
- int vips_col_scRGB2sRGB_8( float R, float G, float B,
286
- int *r, int *g, int *b, int *og );
285
+ int vips_col_scRGB2sRGB_8(float R, float G, float B,
286
+ int *r, int *g, int *b, int *og);
287
287
  VIPS_API
288
- int vips_col_scRGB2sRGB_16( float R, float G, float B,
289
- int *r, int *g, int *b, int *og );
288
+ int vips_col_scRGB2sRGB_16(float R, float G, float B,
289
+ int *r, int *g, int *b, int *og);
290
290
  VIPS_API
291
- int vips_col_scRGB2BW_16( float R, float G, float B, int *g, int *og );
291
+ int vips_col_scRGB2BW_16(float R, float G, float B, int *g, int *og);
292
292
  VIPS_API
293
- int vips_col_scRGB2BW_8( float R, float G, float B, int *g, int *og );
293
+ int vips_col_scRGB2BW_8(float R, float G, float B, int *g, int *og);
294
294
 
295
295
  VIPS_API
296
- float vips_pythagoras( float L1, float a1, float b1,
297
- float L2, float a2, float b2 );
296
+ float vips_pythagoras(float L1, float a1, float b1,
297
+ float L2, float a2, float b2);
298
298
  VIPS_API
299
- float vips_col_dE00(
300
- float L1, float a1, float b1, float L2, float a2, float b2 );
299
+ float vips_col_dE00(
300
+ float L1, float a1, float b1, float L2, float a2, float b2);
301
301
 
302
302
  #ifdef __cplusplus
303
303
  }