@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/vector.h
CHANGED
|
@@ -1,180 +1,60 @@
|
|
|
1
|
-
/* helper stuff for
|
|
1
|
+
/* helper stuff for Highway
|
|
2
2
|
*
|
|
3
|
-
*
|
|
4
|
-
* - from
|
|
3
|
+
* 16/03/21 kleisauke
|
|
4
|
+
* - from vector.h
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
8
|
|
|
9
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
|
34
34
|
#ifndef VIPS_VECTOR_H
|
|
35
35
|
#define VIPS_VECTOR_H
|
|
36
36
|
|
|
37
|
-
/* If we are building with -fcf-protection (run-time checking of
|
|
38
|
-
* indirect jumps) then Orc won't work. Make sure it's off.
|
|
39
|
-
*
|
|
40
|
-
* https://gcc.gnu.org/onlinedocs/gcc/\
|
|
41
|
-
* Instrumentation-Options.html#index-fcf-protection
|
|
42
|
-
* https://gitlab.freedesktop.org/gstreamer/orc/issues/17
|
|
43
|
-
*
|
|
44
|
-
* orc 0.4.30 and later work with cf-protection.
|
|
45
|
-
*/
|
|
46
|
-
#ifdef __CET__
|
|
47
|
-
#ifndef HAVE_ORC_CF_PROTECTION
|
|
48
|
-
#undef HAVE_ORC
|
|
49
|
-
#endif
|
|
50
|
-
#endif
|
|
51
|
-
|
|
52
|
-
#ifdef HAVE_ORC
|
|
53
|
-
#include <orc/orc.h>
|
|
54
|
-
#endif /*HAVE_ORC*/
|
|
55
|
-
|
|
56
37
|
#ifdef __cplusplus
|
|
57
38
|
extern "C" {
|
|
58
39
|
#endif /*__cplusplus*/
|
|
59
40
|
|
|
60
|
-
#define VIPS_VECTOR_SOURCE_MAX (10)
|
|
61
|
-
|
|
62
|
-
/* An Orc program.
|
|
63
|
-
*/
|
|
64
|
-
typedef struct {
|
|
65
|
-
/* Handy for debugging.
|
|
66
|
-
*/
|
|
67
|
-
const char *name;
|
|
68
|
-
char *unique_name;
|
|
69
|
-
|
|
70
|
-
/* How many resources we've used so far in this codegen.
|
|
71
|
-
*/
|
|
72
|
-
int n_temp;
|
|
73
|
-
int n_scanline;
|
|
74
|
-
int n_source;
|
|
75
|
-
int n_destination;
|
|
76
|
-
int n_constant;
|
|
77
|
-
int n_parameter;
|
|
78
|
-
int n_instruction;
|
|
79
|
-
|
|
80
|
-
/* The scanline sources, and for each variable, the associated line.
|
|
81
|
-
* "sl0" onwards.
|
|
82
|
-
*/
|
|
83
|
-
int sl[VIPS_VECTOR_SOURCE_MAX];
|
|
84
|
-
int line[VIPS_VECTOR_SOURCE_MAX];
|
|
85
|
-
|
|
86
|
-
/* Non-scanline sources, "s1" etc. s[0] is the var for "s1".
|
|
87
|
-
*/
|
|
88
|
-
int s[VIPS_VECTOR_SOURCE_MAX];
|
|
89
|
-
|
|
90
|
-
/* The destination var.
|
|
91
|
-
*/
|
|
92
|
-
int d1;
|
|
93
|
-
|
|
94
|
-
#ifdef HAVE_ORC
|
|
95
|
-
/* The code we have generated.
|
|
96
|
-
*/
|
|
97
|
-
OrcProgram *program;
|
|
98
|
-
#endif /*HAVE_ORC*/
|
|
99
|
-
|
|
100
|
-
/* Compiled successfully.
|
|
101
|
-
*/
|
|
102
|
-
gboolean compiled;
|
|
103
|
-
} VipsVector;
|
|
104
|
-
|
|
105
|
-
/* An executor.
|
|
106
|
-
*/
|
|
107
|
-
typedef struct {
|
|
108
|
-
#ifdef HAVE_ORC
|
|
109
|
-
OrcExecutor executor;
|
|
110
|
-
#endif /*HAVE_ORC*/
|
|
111
|
-
|
|
112
|
-
VipsVector *vector;
|
|
113
|
-
} VipsExecutor;
|
|
114
|
-
|
|
115
41
|
/* Set from the command-line.
|
|
116
42
|
*/
|
|
117
43
|
extern gboolean vips__vector_enabled;
|
|
118
44
|
|
|
119
45
|
VIPS_API
|
|
120
|
-
|
|
121
|
-
VIPS_API
|
|
122
|
-
gboolean vips_vector_isenabled( void );
|
|
123
|
-
VIPS_API
|
|
124
|
-
void vips_vector_set_enabled( gboolean enabled );
|
|
125
|
-
|
|
126
|
-
VIPS_API
|
|
127
|
-
void vips_vector_free( VipsVector *vector );
|
|
128
|
-
VIPS_API
|
|
129
|
-
VipsVector *vips_vector_new( const char *name, int dsize );
|
|
130
|
-
|
|
131
|
-
VIPS_API
|
|
132
|
-
void vips_vector_constant( VipsVector *vector,
|
|
133
|
-
char *name, int value, int size );
|
|
134
|
-
VIPS_API
|
|
135
|
-
void vips_vector_source_scanline( VipsVector *vector,
|
|
136
|
-
char *name, int line, int size );
|
|
137
|
-
VIPS_API
|
|
138
|
-
int vips_vector_source_name( VipsVector *vector, const char *name, int size );
|
|
139
|
-
VIPS_API
|
|
140
|
-
void vips_vector_temporary( VipsVector *vector, const char *name, int size );
|
|
141
|
-
VIPS_API
|
|
142
|
-
int vips_vector_parameter( VipsVector *vector, const char *name, int size );
|
|
46
|
+
gboolean vips_vector_isenabled(void);
|
|
143
47
|
VIPS_API
|
|
144
|
-
|
|
145
|
-
VIPS_API
|
|
146
|
-
void vips_vector_asm2( VipsVector *vector,
|
|
147
|
-
const char *op, const char *a, const char *b );
|
|
148
|
-
VIPS_API
|
|
149
|
-
void vips_vector_asm3( VipsVector *vector,
|
|
150
|
-
const char *op, const char *a, const char *b, const char *c );
|
|
151
|
-
VIPS_API
|
|
152
|
-
gboolean vips_vector_full( VipsVector *vector );
|
|
48
|
+
void vips_vector_set_enabled(gboolean enabled);
|
|
153
49
|
|
|
154
50
|
VIPS_API
|
|
155
|
-
|
|
156
|
-
|
|
51
|
+
gint64 vips_vector_get_builtin_targets(void);
|
|
157
52
|
VIPS_API
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
VIPS_API
|
|
161
|
-
void vips_executor_set_program( VipsExecutor *executor,
|
|
162
|
-
VipsVector *vector, int n );
|
|
163
|
-
VIPS_API
|
|
164
|
-
void vips_executor_set_scanline( VipsExecutor *executor,
|
|
165
|
-
VipsRegion *ir, int x, int y );
|
|
166
|
-
VIPS_API
|
|
167
|
-
void vips_executor_set_destination( VipsExecutor *executor, void *value );
|
|
53
|
+
gint64 vips_vector_get_supported_targets(void);
|
|
168
54
|
VIPS_API
|
|
169
|
-
|
|
170
|
-
VIPS_API
|
|
171
|
-
void vips_executor_set_array( VipsExecutor *executor, int var, void *value );
|
|
172
|
-
|
|
173
|
-
VIPS_API
|
|
174
|
-
void vips_executor_run( VipsExecutor *executor );
|
|
175
|
-
|
|
55
|
+
const char *vips_vector_target_name(gint64 target);
|
|
176
56
|
VIPS_API
|
|
177
|
-
void
|
|
57
|
+
void vips_vector_disable_targets(gint64 disabled_targets);
|
|
178
58
|
|
|
179
59
|
#ifdef __cplusplus
|
|
180
60
|
}
|
package/include/vips/version.h
CHANGED
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
#ifndef VIPS_VERSION_H
|
|
5
5
|
#define VIPS_VERSION_H
|
|
6
6
|
|
|
7
|
-
#define VIPS_VERSION
|
|
8
|
-
#define VIPS_VERSION_STRING
|
|
9
|
-
#define VIPS_MAJOR_VERSION
|
|
10
|
-
#define VIPS_MINOR_VERSION
|
|
11
|
-
#define VIPS_MICRO_VERSION
|
|
7
|
+
#define VIPS_VERSION "8.15.0"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.15.0"
|
|
9
|
+
#define VIPS_MAJOR_VERSION (8)
|
|
10
|
+
#define VIPS_MINOR_VERSION (15)
|
|
11
|
+
#define VIPS_MICRO_VERSION (0)
|
|
12
12
|
|
|
13
13
|
/* The ABI version, as used for library versioning.
|
|
14
14
|
*/
|
|
15
|
-
#define VIPS_LIBRARY_CURRENT
|
|
16
|
-
#define VIPS_LIBRARY_REVISION
|
|
17
|
-
#define VIPS_LIBRARY_AGE
|
|
15
|
+
#define VIPS_LIBRARY_CURRENT (59)
|
|
16
|
+
#define VIPS_LIBRARY_REVISION (0)
|
|
17
|
+
#define VIPS_LIBRARY_AGE (17)
|
|
18
18
|
|
|
19
|
-
#define VIPS_CONFIG
|
|
19
|
+
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: false\nenable Analyze7 load/save: false\nenable PPM load/save: false\nenable GIF load: true\nuse fftw for FFTs: false\nSIMD support with highway: true\naccelerate loops with ORC: false\nICC profile support with lcms: true\nzlib: true\ntext rendering with pangocairo: true\nfont file support with fontconfig: true\nEXIF metadata support with libexif: true\nJPEG load/save with libjpeg: true\nJXL load/save with libjxl: false (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with libspng: true\nPNG load/save with libpng: false\nselected quantisation package: imagequant\nTIFF load/save with libtiff: true\nimage pyramid save with libarchive: true\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium: false\nPDF load with poppler-glib: false (dynamic module: false)\nSVG load with librsvg: true\nEXR load with OpenEXR: false\nOpenSlide load: false (dynamic module: false)\nMatlab load with libmatio: false\nNIfTI load/save with niftiio: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nselected Magick package: none (dynamic module: false)\nMagick API version: none\nMagick load: false\nMagick save: false"
|
|
20
20
|
|
|
21
21
|
/* Not really anything to do with versions, but this is a handy place to put
|
|
22
22
|
* it.
|
package/include/vips/vips.h
CHANGED
|
@@ -52,28 +52,28 @@
|
|
|
52
52
|
|
|
53
53
|
/*
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
55
|
+
This file is part of VIPS.
|
|
56
|
+
|
|
57
|
+
VIPS is free software; you can redistribute it and/or modify
|
|
58
|
+
it under the terms of the GNU Lesser General Public License as published by
|
|
59
|
+
the Free Software Foundation; either version 2 of the License, or
|
|
60
|
+
(at your option) any later version.
|
|
61
|
+
|
|
62
|
+
This program is distributed in the hope that it will be useful,
|
|
63
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
64
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
65
|
+
GNU Lesser General Public License for more details.
|
|
66
|
+
|
|
67
|
+
You should have received a copy of the GNU Lesser General Public License
|
|
68
|
+
along with this program; if not, write to the Free Software
|
|
69
|
+
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
70
|
+
02110-1301 USA
|
|
71
71
|
|
|
72
72
|
*/
|
|
73
73
|
|
|
74
74
|
/*
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
These files are distributed with VIPS - http://www.vips.ecs.soton.ac.uk
|
|
77
77
|
|
|
78
78
|
*/
|
|
79
79
|
|
|
@@ -145,47 +145,48 @@ extern "C" {
|
|
|
145
145
|
/* We can't use _ here since this will be compiled by our clients and they may
|
|
146
146
|
* not have _().
|
|
147
147
|
*/
|
|
148
|
-
#define VIPS_INIT(
|
|
149
|
-
(vips_version(
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
148
|
+
#define VIPS_INIT(ARGV0) \
|
|
149
|
+
(vips_version(3) - vips_version(5) != \
|
|
150
|
+
VIPS_LIBRARY_CURRENT - VIPS_LIBRARY_AGE \
|
|
151
|
+
? ( \
|
|
152
|
+
g_warning("ABI mismatch"), \
|
|
153
|
+
g_warning("library has ABI version %d", \
|
|
154
|
+
vips_version(3) - vips_version(5)), \
|
|
155
|
+
g_warning("application needs ABI version %d", \
|
|
156
|
+
VIPS_LIBRARY_CURRENT - VIPS_LIBRARY_AGE), \
|
|
157
|
+
vips_error("vips_init", "ABI mismatch"), \
|
|
158
|
+
-1) \
|
|
159
|
+
: vips_init(ARGV0))
|
|
159
160
|
|
|
160
161
|
VIPS_API
|
|
161
|
-
int vips_init(
|
|
162
|
+
int vips_init(const char *argv0);
|
|
162
163
|
VIPS_API
|
|
163
|
-
const char *vips_get_argv0(
|
|
164
|
+
const char *vips_get_argv0(void);
|
|
164
165
|
VIPS_API
|
|
165
|
-
const char *vips_get_prgname(
|
|
166
|
+
const char *vips_get_prgname(void);
|
|
166
167
|
VIPS_API
|
|
167
|
-
void vips_shutdown(
|
|
168
|
+
void vips_shutdown(void);
|
|
168
169
|
VIPS_API
|
|
169
|
-
void vips_thread_shutdown(
|
|
170
|
+
void vips_thread_shutdown(void);
|
|
170
171
|
|
|
171
172
|
VIPS_API
|
|
172
|
-
void vips_add_option_entries(
|
|
173
|
+
void vips_add_option_entries(GOptionGroup *option_group);
|
|
173
174
|
|
|
174
175
|
VIPS_API
|
|
175
|
-
void vips_leak_set(
|
|
176
|
+
void vips_leak_set(gboolean leak);
|
|
176
177
|
|
|
177
178
|
VIPS_API
|
|
178
|
-
void vips_block_untrusted_set(
|
|
179
|
+
void vips_block_untrusted_set(gboolean state);
|
|
179
180
|
|
|
180
181
|
VIPS_API
|
|
181
|
-
const char *vips_version_string(
|
|
182
|
+
const char *vips_version_string(void);
|
|
182
183
|
VIPS_API
|
|
183
|
-
int vips_version(
|
|
184
|
+
int vips_version(int flag);
|
|
184
185
|
|
|
185
186
|
VIPS_API
|
|
186
|
-
const char *vips_guess_prefix(
|
|
187
|
+
const char *vips_guess_prefix(const char *argv0, const char *env_name);
|
|
187
188
|
VIPS_API
|
|
188
|
-
const char *vips_guess_libdir(
|
|
189
|
+
const char *vips_guess_libdir(const char *argv0, const char *env_name);
|
|
189
190
|
|
|
190
191
|
#ifdef __cplusplus
|
|
191
192
|
}
|
package/include/zlib.h
CHANGED
|
@@ -49,19 +49,20 @@
|
|
|
49
49
|
extern "C" {
|
|
50
50
|
#endif
|
|
51
51
|
|
|
52
|
-
#define ZLIBNG_VERSION "2.1.
|
|
53
|
-
#define ZLIBNG_VERNUM
|
|
52
|
+
#define ZLIBNG_VERSION "2.1.4"
|
|
53
|
+
#define ZLIBNG_VERNUM 0x020104F0L /* MMNNRRSM: major minor revision status modified */
|
|
54
54
|
#define ZLIBNG_VER_MAJOR 2
|
|
55
55
|
#define ZLIBNG_VER_MINOR 1
|
|
56
|
-
#define ZLIBNG_VER_REVISION
|
|
57
|
-
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release */
|
|
56
|
+
#define ZLIBNG_VER_REVISION 4
|
|
57
|
+
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
|
|
58
|
+
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
|
|
58
59
|
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
|
|
59
60
|
|
|
60
|
-
#define ZLIB_VERSION "1.
|
|
61
|
-
#define ZLIB_VERNUM
|
|
61
|
+
#define ZLIB_VERSION "1.3.0.zlib-ng"
|
|
62
|
+
#define ZLIB_VERNUM 0x130f
|
|
62
63
|
#define ZLIB_VER_MAJOR 1
|
|
63
|
-
#define ZLIB_VER_MINOR
|
|
64
|
-
#define ZLIB_VER_REVISION
|
|
64
|
+
#define ZLIB_VER_MINOR 3
|
|
65
|
+
#define ZLIB_VER_REVISION 0
|
|
65
66
|
#define ZLIB_VER_SUBREVISION 15 /* 15=fork (0xf) */
|
|
66
67
|
|
|
67
68
|
/*
|
|
@@ -239,8 +240,8 @@ Z_EXTERN int Z_EXPORT deflateInit (z_stream *strm, int level);
|
|
|
239
240
|
|
|
240
241
|
Initializes the internal stream state for compression. The fields
|
|
241
242
|
zalloc, zfree and opaque must be initialized before by the caller. If
|
|
242
|
-
zalloc and zfree are set to
|
|
243
|
-
allocation functions.
|
|
243
|
+
zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
|
|
244
|
+
allocation functions. total_in, total_out, adler, and msg are initialized.
|
|
244
245
|
|
|
245
246
|
The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
|
|
246
247
|
1 gives best speed, 9 gives best compression, 0 gives no compression at all
|
|
@@ -330,8 +331,8 @@ Z_EXTERN int Z_EXPORT deflate(z_stream *strm, int flush);
|
|
|
330
331
|
with the same value of the flush parameter and more output space (updated
|
|
331
332
|
avail_out), until the flush is complete (deflate returns with non-zero
|
|
332
333
|
avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
|
|
333
|
-
avail_out is greater than six
|
|
334
|
-
avail_out == 0
|
|
334
|
+
avail_out is greater than six when the flush marker begins, in order to avoid
|
|
335
|
+
repeated flush markers upon calling deflate() again when avail_out == 0.
|
|
335
336
|
|
|
336
337
|
If the parameter flush is set to Z_FINISH, pending input is processed,
|
|
337
338
|
pending output is flushed and deflate returns with Z_STREAM_END if there was
|
|
@@ -392,8 +393,9 @@ Z_EXTERN int Z_EXPORT inflateInit (z_stream *strm);
|
|
|
392
393
|
the caller. In the current version of inflate, the provided input is not
|
|
393
394
|
read or consumed. The allocation of a sliding window will be deferred to
|
|
394
395
|
the first call of inflate (if the decompression does not complete on the
|
|
395
|
-
first call). If zalloc and zfree are set to
|
|
396
|
-
them to use default allocation functions.
|
|
396
|
+
first call). If zalloc and zfree are set to Z_NULL, inflateInit updates
|
|
397
|
+
them to use default allocation functions. total_in, total_out, adler, and
|
|
398
|
+
msg are initialized.
|
|
397
399
|
|
|
398
400
|
inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
|
399
401
|
memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
|
|
@@ -703,7 +705,7 @@ Z_EXTERN int Z_EXPORT deflateReset(z_stream *strm);
|
|
|
703
705
|
This function is equivalent to deflateEnd followed by deflateInit, but
|
|
704
706
|
does not free and reallocate the internal compression state. The stream
|
|
705
707
|
will leave the compression level and any other attributes that may have been
|
|
706
|
-
set unchanged.
|
|
708
|
+
set unchanged. total_in, total_out, adler, and msg are initialized.
|
|
707
709
|
|
|
708
710
|
deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
709
711
|
stream state was inconsistent (such as zalloc or state being NULL).
|
|
@@ -734,7 +736,7 @@ Z_EXTERN int Z_EXPORT deflateParams(z_stream *strm, int level, int strategy);
|
|
|
734
736
|
Then no more input data should be provided before the deflateParams() call.
|
|
735
737
|
If this is done, the old level and strategy will be applied to the data
|
|
736
738
|
compressed before deflateParams(), and the new level and strategy will be
|
|
737
|
-
applied to the
|
|
739
|
+
applied to the data compressed after deflateParams().
|
|
738
740
|
|
|
739
741
|
deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
|
|
740
742
|
state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
|
|
@@ -816,8 +818,9 @@ Z_EXTERN int Z_EXPORT deflateSetHeader(z_stream *strm, gz_headerp head);
|
|
|
816
818
|
gzip file" and give up.
|
|
817
819
|
|
|
818
820
|
If deflateSetHeader is not used, the default gzip header has text false,
|
|
819
|
-
the time set to zero, and os set to
|
|
820
|
-
fields. The gzip header is returned to the default
|
|
821
|
+
the time set to zero, and os set to the current operating system, with no
|
|
822
|
+
extra, name, or comment fields. The gzip header is returned to the default
|
|
823
|
+
state by deflateReset().
|
|
821
824
|
|
|
822
825
|
deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
823
826
|
stream state was inconsistent.
|
|
@@ -924,7 +927,7 @@ Z_EXTERN int Z_EXPORT inflateSync(z_stream *strm);
|
|
|
924
927
|
inflateSync returns Z_OK if a possible full flush point has been found,
|
|
925
928
|
Z_BUF_ERROR if no more input was provided, Z_DATA_ERROR if no flush point
|
|
926
929
|
has been found, or Z_STREAM_ERROR if the stream structure was inconsistent.
|
|
927
|
-
In the success case, the application may save the current
|
|
930
|
+
In the success case, the application may save the current value of
|
|
928
931
|
total_in which indicates where valid compressed data was found. In the
|
|
929
932
|
error case, the application may repeatedly call inflateSync, providing more
|
|
930
933
|
input each time, until success or end of the input data.
|
|
@@ -950,6 +953,7 @@ Z_EXTERN int Z_EXPORT inflateReset(z_stream *strm);
|
|
|
950
953
|
This function is equivalent to inflateEnd followed by inflateInit,
|
|
951
954
|
but does not free and reallocate the internal decompression state. The
|
|
952
955
|
stream will keep attributes that may have been set by inflateInit2.
|
|
956
|
+
total_in, total_out, adler, and msg are initialized.
|
|
953
957
|
|
|
954
958
|
inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
955
959
|
stream state was inconsistent (such as zalloc or state being NULL).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"aom": "3.
|
|
2
|
+
"aom": "3.7.0",
|
|
3
3
|
"archive": "3.7.2",
|
|
4
|
-
"cairo": "1.
|
|
4
|
+
"cairo": "1.18.0",
|
|
5
5
|
"cgif": "0.3.2",
|
|
6
6
|
"exif": "0.6.24",
|
|
7
7
|
"expat": "2.5.0",
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
"freetype": "2.13.2",
|
|
11
11
|
"fribidi": "1.0.13",
|
|
12
12
|
"gdkpixbuf": "2.42.10",
|
|
13
|
-
"glib": "2.78.
|
|
14
|
-
"harfbuzz": "8.2.
|
|
15
|
-
"heif": "1.
|
|
13
|
+
"glib": "2.78.1",
|
|
14
|
+
"harfbuzz": "8.2.2",
|
|
15
|
+
"heif": "1.17.3",
|
|
16
|
+
"highway": "1.0.7",
|
|
16
17
|
"imagequant": "2.4.1",
|
|
17
18
|
"lcms": "2.15",
|
|
18
|
-
"mozjpeg": "4.1.
|
|
19
|
-
"orc": "0.4.34",
|
|
19
|
+
"mozjpeg": "4.1.5",
|
|
20
20
|
"pango": "1.51.0",
|
|
21
21
|
"pixman": "0.42.2",
|
|
22
22
|
"png": "1.6.40",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"rsvg": "2.57.0",
|
|
25
25
|
"spng": "0.7.4",
|
|
26
26
|
"tiff": "4.6.0",
|
|
27
|
-
"vips": "8.
|
|
27
|
+
"vips": "8.15.0-rc2",
|
|
28
28
|
"webp": "1.3.2",
|
|
29
29
|
"xml": "2.11.5",
|
|
30
|
-
"zlib-ng": "2.1.
|
|
30
|
+
"zlib-ng": "2.1.4"
|
|
31
31
|
}
|