@img/sharp-libvips-dev-wasm32 1.2.0 → 1.2.2-rc.1
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/include/ffi.h +3 -3
- package/include/ffitarget.h +17 -0
- package/include/glib-2.0/gio/gdbuserror.h +9 -8
- package/include/glib-2.0/gio/ginetaddress.h +12 -0
- package/include/glib-2.0/gio/gioenums.h +9 -2
- package/include/glib-2.0/glib/gstring.h +2 -2
- package/include/glib-2.0/gobject/gvalue.h +78 -35
- package/include/hwy/abort.h +2 -19
- package/include/hwy/aligned_allocator.h +11 -7
- package/include/hwy/auto_tune.h +504 -0
- package/include/hwy/base.h +425 -104
- package/include/hwy/cache_control.h +16 -0
- package/include/hwy/detect_compiler_arch.h +32 -1
- package/include/hwy/detect_targets.h +251 -67
- package/include/hwy/foreach_target.h +35 -0
- package/include/hwy/highway.h +185 -76
- package/include/hwy/nanobenchmark.h +1 -19
- package/include/hwy/ops/arm_neon-inl.h +969 -458
- package/include/hwy/ops/arm_sve-inl.h +1137 -359
- package/include/hwy/ops/emu128-inl.h +97 -11
- package/include/hwy/ops/generic_ops-inl.h +1222 -34
- package/include/hwy/ops/loongarch_lasx-inl.h +4664 -0
- package/include/hwy/ops/loongarch_lsx-inl.h +5933 -0
- package/include/hwy/ops/ppc_vsx-inl.h +306 -126
- package/include/hwy/ops/rvv-inl.h +546 -51
- package/include/hwy/ops/scalar-inl.h +77 -22
- package/include/hwy/ops/set_macros-inl.h +133 -17
- package/include/hwy/ops/shared-inl.h +50 -10
- package/include/hwy/ops/wasm_128-inl.h +137 -92
- package/include/hwy/ops/x86_128-inl.h +773 -214
- package/include/hwy/ops/x86_256-inl.h +712 -255
- package/include/hwy/ops/x86_512-inl.h +429 -753
- package/include/hwy/ops/x86_avx3-inl.h +501 -0
- package/include/hwy/per_target.h +2 -1
- package/include/hwy/profiler.h +622 -486
- package/include/hwy/targets.h +62 -20
- package/include/hwy/timer-inl.h +8 -160
- package/include/hwy/timer.h +170 -3
- package/include/hwy/x86_cpuid.h +81 -0
- package/include/libheif/heif_cxx.h +25 -5
- package/include/libheif/heif_regions.h +5 -5
- package/include/libheif/heif_version.h +2 -2
- package/include/webp/decode.h +11 -2
- package/include/webp/demux.h +2 -0
- package/include/webp/encode.h +2 -0
- package/include/webp/mux_types.h +1 -0
- package/include/webp/sharpyuv/sharpyuv.h +1 -1
- package/include/webp/types.h +2 -2
- package/include/zlib.h +3 -3
- package/lib/glib-2.0/include/glibconfig.h +1 -1
- package/lib/libaom.a +0 -0
- package/lib/libcgif.a +0 -0
- package/lib/libexif.a +0 -0
- package/lib/libexpat.a +0 -0
- package/lib/libffi.a +0 -0
- package/lib/libgio-2.0.a +0 -0
- package/lib/libglib-2.0.a +0 -0
- package/lib/libgmodule-2.0.a +0 -0
- package/lib/libgobject-2.0.a +0 -0
- package/lib/libgthread-2.0.a +0 -0
- package/lib/libheif.a +0 -0
- package/lib/libhwy.a +0 -0
- package/lib/libimagequant.a +0 -0
- package/lib/libjpeg.a +0 -0
- package/lib/liblcms2.a +0 -0
- package/lib/libresvg.a +0 -0
- package/lib/libsharpyuv.a +0 -0
- package/lib/libsharpyuv.la +2 -2
- package/lib/libspng.a +0 -0
- package/lib/libtiff.a +0 -0
- package/lib/libvips-cpp.a +0 -0
- package/lib/libvips.a +0 -0
- package/lib/libwebp.a +0 -0
- package/lib/libwebp.la +4 -4
- package/lib/libwebpdemux.a +0 -0
- package/lib/libwebpdemux.la +2 -2
- package/lib/libwebpmux.a +0 -0
- package/lib/libwebpmux.la +2 -2
- package/lib/libz.a +0 -0
- package/lib/pkgconfig/gio-2.0.pc +1 -1
- package/lib/pkgconfig/glib-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
- package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- package/lib/pkgconfig/gobject-2.0.pc +1 -1
- package/lib/pkgconfig/gthread-2.0.pc +1 -1
- package/lib/pkgconfig/libffi.pc +1 -1
- package/lib/pkgconfig/libheif.pc +1 -1
- package/lib/pkgconfig/libhwy.pc +1 -1
- package/lib/pkgconfig/libsharpyuv.pc +1 -1
- package/lib/pkgconfig/libwebp.pc +1 -1
- package/lib/pkgconfig/libwebpdemux.pc +1 -1
- package/lib/pkgconfig/libwebpmux.pc +1 -1
- package/lib/pkgconfig/zlib.pc +1 -0
- package/package.json +1 -1
- package/versions.json +7 -7
|
@@ -43,7 +43,7 @@ typedef struct heif_region_item heif_region_item;
|
|
|
43
43
|
enum heif_region_type
|
|
44
44
|
{
|
|
45
45
|
/**
|
|
46
|
-
* Point
|
|
46
|
+
* Point geometry.
|
|
47
47
|
*
|
|
48
48
|
* The region is represented by a single point.
|
|
49
49
|
*/
|
|
@@ -174,7 +174,7 @@ heif_error heif_context_get_region_item(const heif_context* context,
|
|
|
174
174
|
* Get the item identifier for a region item.
|
|
175
175
|
*
|
|
176
176
|
* @param region_item the region item to query
|
|
177
|
-
* @return the region item identifier (or
|
|
177
|
+
* @return the region item identifier (or 0 if the region_item is null)
|
|
178
178
|
*/
|
|
179
179
|
LIBHEIF_API
|
|
180
180
|
heif_item_id heif_region_item_get_id(heif_region_item* region_item);
|
|
@@ -420,7 +420,7 @@ int heif_region_get_polygon_num_points(const heif_region* region);
|
|
|
420
420
|
* The points are returned as pairs of X,Y coordinates, in the order X<sub>1</sub>,
|
|
421
421
|
* Y<sub>1</sub>, X<sub>2</sub>, Y<sub>2</sub>, ..., X<sub>n</sub>, Y<sub>n</sub>.
|
|
422
422
|
*
|
|
423
|
-
* @param region the region to
|
|
423
|
+
* @param region the region to query, which must be of type #heif_region_type_polygon
|
|
424
424
|
* @param out_pts_array the array to return the points in, which must have twice as many entries as there are points
|
|
425
425
|
* in the polygon.
|
|
426
426
|
* @return heif_error_ok on success, or an error value indicating the problem on failure
|
|
@@ -442,7 +442,7 @@ heif_error heif_region_get_polygon_points(const heif_region* region,
|
|
|
442
442
|
* The points are returned as pairs of X,Y coordinates, in the order X<sub>1</sub>,
|
|
443
443
|
* Y<sub>1</sub>, X<sub>2</sub>, Y<sub>2</sub>, ..., X<sub>n</sub>, Y<sub>n</sub>.
|
|
444
444
|
*
|
|
445
|
-
* @param region the region to
|
|
445
|
+
* @param region the region to query, which must be of type #heif_region_type_polygon
|
|
446
446
|
* @param image_id the identifier for the image to transform / scale the region to
|
|
447
447
|
* @param out_pts_array the array to return the points in, which must have twice as many entries as there are points
|
|
448
448
|
* in the polygon.
|
|
@@ -484,7 +484,7 @@ int heif_region_get_polyline_num_points(const heif_region* region);
|
|
|
484
484
|
* }
|
|
485
485
|
* @endcode
|
|
486
486
|
*
|
|
487
|
-
* @param region the region to
|
|
487
|
+
* @param region the region to query, which must be of type #heif_region_type_polyline
|
|
488
488
|
* @param out_pts_array the array to return the points in, which must have twice as many entries as there are points
|
|
489
489
|
* in the polyline.
|
|
490
490
|
* @return heif_error_ok on success, or an error value indicating the problem on failure
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
#define LIBHEIF_HEIF_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (20<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (20<<16) | (2<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.20.
|
|
34
|
+
#define LIBHEIF_VERSION "1.20.2"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/src/build/target/lib/libheif"
|
|
37
37
|
|
package/include/webp/decode.h
CHANGED
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
#ifndef WEBP_WEBP_DECODE_H_
|
|
15
15
|
#define WEBP_WEBP_DECODE_H_
|
|
16
16
|
|
|
17
|
+
#include <stddef.h>
|
|
18
|
+
|
|
17
19
|
#include "./types.h"
|
|
18
20
|
|
|
19
21
|
#ifdef __cplusplus
|
|
20
22
|
extern "C" {
|
|
21
23
|
#endif
|
|
22
24
|
|
|
23
|
-
#define WEBP_DECODER_ABI_VERSION
|
|
25
|
+
#define WEBP_DECODER_ABI_VERSION 0x0210 // MAJOR(8b) + MINOR(8b)
|
|
24
26
|
|
|
25
27
|
// Note: forward declaring enumerations is not allowed in (strict) C and C++,
|
|
26
28
|
// the types are left here for reference.
|
|
@@ -451,7 +453,9 @@ struct WebPDecoderOptions {
|
|
|
451
453
|
// Will be snapped to even values.
|
|
452
454
|
int crop_width, crop_height; // dimension of the cropping area
|
|
453
455
|
int use_scaling; // if true, scaling is applied _afterward_
|
|
454
|
-
int scaled_width, scaled_height; // final resolution
|
|
456
|
+
int scaled_width, scaled_height; // final resolution. if one is 0, it is
|
|
457
|
+
// guessed from the other one to keep the
|
|
458
|
+
// original ratio.
|
|
455
459
|
int use_threads; // if true, use multi-threaded decoding
|
|
456
460
|
int dithering_strength; // dithering strength (0=Off, 100=full)
|
|
457
461
|
int flip; // if true, flip output vertically
|
|
@@ -479,6 +483,11 @@ WEBP_NODISCARD static WEBP_INLINE int WebPInitDecoderConfig(
|
|
|
479
483
|
return WebPInitDecoderConfigInternal(config, WEBP_DECODER_ABI_VERSION);
|
|
480
484
|
}
|
|
481
485
|
|
|
486
|
+
// Returns true if 'config' is non-NULL and all configuration parameters are
|
|
487
|
+
// within their valid ranges.
|
|
488
|
+
WEBP_NODISCARD WEBP_EXTERN int WebPValidateDecoderConfig(
|
|
489
|
+
const WebPDecoderConfig* config);
|
|
490
|
+
|
|
482
491
|
// Instantiate a new incremental decoder object with the requested
|
|
483
492
|
// configuration. The bitstream can be passed using 'data' and 'data_size'
|
|
484
493
|
// parameter, in which case the features will be parsed and stored into
|
package/include/webp/demux.h
CHANGED
package/include/webp/encode.h
CHANGED
package/include/webp/mux_types.h
CHANGED
|
@@ -52,7 +52,7 @@ extern "C" {
|
|
|
52
52
|
// SharpYUV API version following the convention from semver.org
|
|
53
53
|
#define SHARPYUV_VERSION_MAJOR 0
|
|
54
54
|
#define SHARPYUV_VERSION_MINOR 4
|
|
55
|
-
#define SHARPYUV_VERSION_PATCH
|
|
55
|
+
#define SHARPYUV_VERSION_PATCH 2
|
|
56
56
|
// Version as a uint32_t. The major number is the high 8 bits.
|
|
57
57
|
// The minor number is the middle 8 bits. The patch number is the low 16 bits.
|
|
58
58
|
#define SHARPYUV_MAKE_VERSION(MAJOR, MINOR, PATCH) \
|
package/include/webp/types.h
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
#ifndef WEBP_WEBP_TYPES_H_
|
|
15
15
|
#define WEBP_WEBP_TYPES_H_
|
|
16
16
|
|
|
17
|
-
#include <stddef.h> // for size_t
|
|
17
|
+
#include <stddef.h> // IWYU pragma: export for size_t
|
|
18
18
|
|
|
19
19
|
#ifndef _MSC_VER
|
|
20
|
-
#include <inttypes.h>
|
|
20
|
+
#include <inttypes.h> // IWYU pragma: export
|
|
21
21
|
#if defined(__cplusplus) || !defined(__STRICT_ANSI__) || \
|
|
22
22
|
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
|
|
23
23
|
#define WEBP_INLINE inline
|
package/include/zlib.h
CHANGED
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
extern "C" {
|
|
50
50
|
#endif
|
|
51
51
|
|
|
52
|
-
#define ZLIBNG_VERSION "2.2.
|
|
53
|
-
#define ZLIBNG_VERNUM
|
|
52
|
+
#define ZLIBNG_VERSION "2.2.5"
|
|
53
|
+
#define ZLIBNG_VERNUM 0x020205F0L /* MMNNRRSM: major minor revision status modified */
|
|
54
54
|
#define ZLIBNG_VER_MAJOR 2
|
|
55
55
|
#define ZLIBNG_VER_MINOR 2
|
|
56
|
-
#define ZLIBNG_VER_REVISION
|
|
56
|
+
#define ZLIBNG_VER_REVISION 5
|
|
57
57
|
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
|
|
58
58
|
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
|
|
59
59
|
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
|
package/lib/libaom.a
CHANGED
|
Binary file
|
package/lib/libcgif.a
CHANGED
|
Binary file
|
package/lib/libexif.a
CHANGED
|
Binary file
|
package/lib/libexpat.a
CHANGED
|
Binary file
|
package/lib/libffi.a
CHANGED
|
Binary file
|
package/lib/libgio-2.0.a
CHANGED
|
Binary file
|
package/lib/libglib-2.0.a
CHANGED
|
Binary file
|
package/lib/libgmodule-2.0.a
CHANGED
|
Binary file
|
package/lib/libgobject-2.0.a
CHANGED
|
Binary file
|
package/lib/libgthread-2.0.a
CHANGED
|
Binary file
|
package/lib/libheif.a
CHANGED
|
Binary file
|
package/lib/libhwy.a
CHANGED
|
Binary file
|
package/lib/libimagequant.a
CHANGED
|
Binary file
|
package/lib/libjpeg.a
CHANGED
|
Binary file
|
package/lib/liblcms2.a
CHANGED
|
Binary file
|
package/lib/libresvg.a
CHANGED
|
Binary file
|
package/lib/libsharpyuv.a
CHANGED
|
Binary file
|
package/lib/libsharpyuv.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libsharpyuv.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libsharpyuv.
|
|
26
26
|
current=1
|
|
27
27
|
age=1
|
|
28
|
-
revision=
|
|
28
|
+
revision=2
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libspng.a
CHANGED
|
Binary file
|
package/lib/libtiff.a
CHANGED
|
Binary file
|
package/lib/libvips-cpp.a
CHANGED
|
Binary file
|
package/lib/libvips.a
CHANGED
|
Binary file
|
package/lib/libwebp.a
CHANGED
|
Binary file
|
package/lib/libwebp.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebp.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -23,9 +23,9 @@ dependency_libs=' -L/src/build/target/lib /src/build/target/lib/libsharpyuv.la -
|
|
|
23
23
|
weak_library_names=''
|
|
24
24
|
|
|
25
25
|
# Version information for libwebp.
|
|
26
|
-
current=
|
|
27
|
-
age=
|
|
28
|
-
revision=
|
|
26
|
+
current=9
|
|
27
|
+
age=2
|
|
28
|
+
revision=0
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libwebpdemux.a
CHANGED
|
Binary file
|
package/lib/libwebpdemux.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebpdemux.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libwebpdemux.
|
|
26
26
|
current=2
|
|
27
27
|
age=0
|
|
28
|
-
revision=
|
|
28
|
+
revision=17
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libwebpmux.a
CHANGED
|
Binary file
|
package/lib/libwebpmux.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libwebpmux.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.4
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.4 Debian-2.5.4-4
|
|
3
3
|
#
|
|
4
4
|
# Please DO NOT delete this file!
|
|
5
5
|
# It is necessary for linking the library.
|
|
@@ -25,7 +25,7 @@ weak_library_names=''
|
|
|
25
25
|
# Version information for libwebpmux.
|
|
26
26
|
current=4
|
|
27
27
|
age=1
|
|
28
|
-
revision=
|
|
28
|
+
revision=2
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
package/lib/libz.a
CHANGED
|
Binary file
|
package/lib/pkgconfig/gio-2.0.pc
CHANGED
|
@@ -11,6 +11,6 @@ glib_valgrind_suppressions=${datadir}/glib-2.0/valgrind/glib.supp
|
|
|
11
11
|
|
|
12
12
|
Name: GLib
|
|
13
13
|
Description: C Utility Library
|
|
14
|
-
Version: 2.85.
|
|
14
|
+
Version: 2.85.3
|
|
15
15
|
Libs: -L${libdir} -lglib-2.0 -lm -pthread
|
|
16
16
|
Cflags: -I${includedir}/glib-2.0 -pthread -I${libdir}/glib-2.0/include
|
package/lib/pkgconfig/libffi.pc
CHANGED
package/lib/pkgconfig/libheif.pc
CHANGED
package/lib/pkgconfig/libhwy.pc
CHANGED
package/lib/pkgconfig/libwebp.pc
CHANGED
package/lib/pkgconfig/zlib.pc
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev-wasm32",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2-rc.1",
|
|
4
4
|
"description": "Header files and static wasm32 libraries for libvips and dependencies to build sharp as wasm32",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aom": "3.12.1",
|
|
3
3
|
"cgif": "0.5.0",
|
|
4
|
-
"emscripten": "4.0.
|
|
4
|
+
"emscripten": "4.0.13",
|
|
5
5
|
"exif": "0.6.25",
|
|
6
6
|
"expat": "2.7.1",
|
|
7
|
-
"ffi": "3.5.
|
|
8
|
-
"glib": "2.85.
|
|
9
|
-
"heif": "1.20.
|
|
10
|
-
"highway": "1.
|
|
7
|
+
"ffi": "3.5.2",
|
|
8
|
+
"glib": "2.85.3",
|
|
9
|
+
"heif": "1.20.2",
|
|
10
|
+
"highway": "1.3.0",
|
|
11
11
|
"imagequant": "2.4.1",
|
|
12
12
|
"lcms": "2.17",
|
|
13
13
|
"mozjpeg": "4.1.5",
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"spng": "0.7.4",
|
|
16
16
|
"tiff": "4.7.0",
|
|
17
17
|
"vips": "8.17.1",
|
|
18
|
-
"webp": "1.
|
|
19
|
-
"zlib-ng": "2.2.
|
|
18
|
+
"webp": "1.6.0",
|
|
19
|
+
"zlib-ng": "2.2.5"
|
|
20
20
|
}
|