@img/sharp-libvips-dev-wasm32 1.3.0-rc.1 → 1.3.0-rc.10
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 +23 -23
- package/include/aom/aom_codec.h +1 -1
- package/include/aom/aom_decoder.h +4 -0
- package/include/aom/aom_encoder.h +19 -8
- package/include/aom/aom_ext_ratectrl.h +664 -0
- package/include/aom/aom_image.h +93 -30
- package/include/aom/aom_tpl.h +99 -0
- package/include/aom/aomcx.h +89 -16
- package/include/aom/aomdx.h +12 -0
- package/include/expat.h +15 -3
- package/include/expat_config.h +6 -6
- package/include/expat_external.h +4 -4
- package/include/glib-2.0/gio/gdbusconnection.h +2 -8
- package/include/glib-2.0/gio/gfileattribute.h +1 -1
- package/include/glib-2.0/gio/gfileinfo.h +5 -0
- package/include/glib-2.0/gio/gicon.h +1 -1
- package/include/glib-2.0/gio/gio-autocleanups.h +0 -1
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gio.h +2 -0
- package/include/glib-2.0/gio/gioenums.h +66 -44
- package/include/glib-2.0/gio/gioenumtypes.h +2 -0
- package/include/glib-2.0/gio/giptosmessage.h +46 -0
- package/include/glib-2.0/gio/gipv6tclassmessage.h +46 -0
- package/include/glib-2.0/gio/gresolver.h +1 -1
- package/include/glib-2.0/gio/gsettings.h +1 -1
- package/include/glib-2.0/gio/gsocketcontrolmessage.h +2 -0
- package/include/glib-2.0/glib/gatomic.h +26 -2
- package/include/glib-2.0/glib/gfileutils.h +2 -2
- package/include/glib-2.0/glib/ghook.h +3 -1
- package/include/glib-2.0/glib/giochannel.h +1 -1
- package/include/glib-2.0/glib/gkeyfile.h +1 -1
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmacros.h +32 -0
- package/include/glib-2.0/glib/gmain.h +4 -0
- package/include/glib-2.0/glib/gmarkup.h +18 -1
- package/include/glib-2.0/glib/gmem.h +4 -4
- package/include/glib-2.0/glib/gmessages.h +7 -9
- package/include/glib-2.0/glib/gnode.h +1 -1
- package/include/glib-2.0/glib/goption.h +1 -1
- package/include/glib-2.0/glib/gsequence.h +2 -2
- package/include/glib-2.0/glib/gslice.h +12 -4
- package/include/glib-2.0/glib/gspawn.h +1 -1
- package/include/glib-2.0/glib/gstrfuncs.h +191 -1
- package/include/glib-2.0/glib/gtestutils.h +6 -3
- package/include/glib-2.0/glib/gtimer.h +1 -0
- package/include/glib-2.0/glib/guri.h +3 -3
- package/include/glib-2.0/glib/gutils.h +10 -1
- package/include/glib-2.0/glib/gvarianttype.h +16 -16
- package/include/glib-2.0/glib/gversionmacros.h +22 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gmodule.h +1 -1
- package/include/glib-2.0/gobject/gbinding.h +1 -1
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject.h +1 -1
- package/include/glib-2.0/gobject/gparam.h +1 -1
- package/include/glib-2.0/gobject/gsignal.h +8 -8
- package/include/glib-2.0/gobject/gtype.h +17 -17
- package/include/hwy/aligned_allocator.h +44 -2
- package/include/hwy/auto_tune.h +22 -6
- package/include/hwy/base.h +60 -90
- package/include/hwy/bit_set.h +410 -0
- package/include/hwy/cache_control.h +3 -2
- package/include/hwy/detect_compiler_arch.h +134 -14
- package/include/hwy/detect_targets.h +82 -36
- package/include/hwy/highway.h +15 -0
- package/include/hwy/nanobenchmark.h +12 -3
- package/include/hwy/ops/arm_neon-inl.h +96 -25
- package/include/hwy/ops/arm_sve-inl.h +250 -95
- package/include/hwy/ops/emu128-inl.h +12 -7
- package/include/hwy/ops/generic_ops-inl.h +271 -131
- package/include/hwy/ops/loongarch_lasx-inl.h +31 -9
- package/include/hwy/ops/loongarch_lsx-inl.h +33 -12
- package/include/hwy/ops/ppc_vsx-inl.h +99 -19
- package/include/hwy/ops/rvv-inl.h +239 -130
- package/include/hwy/ops/scalar-inl.h +22 -7
- package/include/hwy/ops/set_macros-inl.h +163 -107
- package/include/hwy/ops/wasm_128-inl.h +13 -22
- package/include/hwy/ops/x86_128-inl.h +223 -120
- package/include/hwy/ops/x86_256-inl.h +70 -134
- package/include/hwy/ops/x86_512-inl.h +130 -134
- package/include/hwy/print-inl.h +2 -0
- package/include/hwy/profiler.h +355 -264
- package/include/hwy/robust_statistics.h +3 -1
- package/include/hwy/timer.h +44 -0
- package/include/lcms2.h +35 -5
- package/include/lcms2_plugin.h +1 -1
- package/include/libexif/exif-utils.h +1 -1
- package/include/libheif/heif.h +2 -0
- package/include/libheif/heif_aux_images.h +2 -2
- package/include/libheif/heif_brands.h +16 -4
- package/include/libheif/heif_color.h +147 -25
- package/include/libheif/heif_components.h +264 -0
- package/include/libheif/heif_context.h +18 -4
- package/include/libheif/heif_cxx.h +20 -18
- package/include/libheif/heif_decoding.h +63 -9
- package/include/libheif/heif_encoding.h +46 -12
- package/include/libheif/heif_error.h +15 -6
- package/include/libheif/heif_export.h +48 -0
- package/include/libheif/heif_image.h +94 -32
- package/include/libheif/heif_image_handle.h +54 -3
- package/include/libheif/heif_items.h +25 -2
- package/include/libheif/heif_library.h +13 -18
- package/include/libheif/heif_metadata.h +5 -2
- package/include/libheif/heif_omaf.h +104 -0
- package/include/libheif/heif_plugin.h +80 -13
- package/include/libheif/heif_properties.h +259 -5
- package/include/libheif/heif_regions.h +5 -3
- package/include/libheif/heif_security.h +24 -2
- package/include/libheif/heif_sequences.h +163 -14
- package/include/libheif/heif_text.h +161 -0
- package/include/libheif/heif_tiling.h +2 -2
- package/include/libheif/heif_uncompressed.h +29 -5
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/png.h +637 -488
- package/include/libpng16/pngconf.h +2 -2
- package/include/libpng16/pnglibconf.h +2 -2
- package/include/png.h +637 -488
- package/include/pngconf.h +2 -2
- package/include/pnglibconf.h +2 -2
- package/include/resvg.h +3 -3
- package/include/tiffconf.h +9 -10
- package/include/tiffio.h +10 -9
- package/include/tiffvers.h +1 -1
- package/include/ultrahdr_api.h +5 -11
- package/include/vips/colour.h +2 -2
- package/include/vips/memory.h +1 -1
- package/include/vips/version.h +4 -4
- package/include/zlib.h +3 -3
- package/lib/glib-2.0/include/glibconfig.h +1 -3
- package/lib/libaom.a +0 -0
- package/lib/libcgif.a +0 -0
- package/lib/libexif.a +0 -0
- package/lib/libexif.la +1 -1
- package/lib/libexpat.a +0 -0
- package/lib/libexpat.la +2 -2
- 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/libpng.a +0 -0
- package/lib/libpng.la +2 -2
- package/lib/libpng16.a +0 -0
- package/lib/libpng16.la +2 -2
- package/lib/libresvg.a +0 -0
- package/lib/libsharpyuv.a +0 -0
- package/lib/libtiff.a +0 -0
- package/lib/libuhdr.a +0 -0
- package/lib/libvips-cpp.a +0 -0
- package/lib/libvips.a +0 -0
- package/lib/libwebp.a +0 -0
- package/lib/libwebpdecoder.a +0 -0
- package/lib/libwebpdemux.a +0 -0
- package/lib/libwebpmux.a +0 -0
- package/lib/libz.a +0 -0
- package/lib/pkgconfig/aom.pc +2 -2
- package/lib/pkgconfig/cgif.pc +1 -1
- package/lib/pkgconfig/expat.pc +1 -1
- 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/lcms2.pc +1 -1
- package/lib/pkgconfig/libexif.pc +1 -1
- package/lib/pkgconfig/libheif.pc +1 -1
- package/lib/pkgconfig/libhwy.pc +3 -4
- package/lib/pkgconfig/libpng.pc +1 -1
- package/lib/pkgconfig/libpng16.pc +1 -1
- package/lib/pkgconfig/libsharpyuv.pc +1 -1
- package/lib/pkgconfig/libtiff-4.pc +2 -2
- package/lib/pkgconfig/libwebp.pc +1 -1
- package/lib/pkgconfig/libwebpdecoder.pc +11 -0
- package/lib/pkgconfig/libwebpmux.pc +1 -1
- package/lib/pkgconfig/vips-cpp.pc +1 -1
- package/lib/pkgconfig/vips.pc +1 -1
- package/package.json +1 -1
- package/versions.json +15 -15
- package/lib/libsharpyuv.la +0 -41
- package/lib/libtiff.la +0 -41
- package/lib/libwebp.la +0 -41
- package/lib/libwebpdemux.la +0 -41
- package/lib/libwebpmux.la +0 -41
package/README.md
CHANGED
|
@@ -5,30 +5,30 @@ Header files and static wasm32 libraries for libvips and dependencies to build s
|
|
|
5
5
|
## Licensing
|
|
6
6
|
|
|
7
7
|
This software contains third-party libraries
|
|
8
|
-
used under the terms of the following
|
|
8
|
+
used under the terms of the following licenses:
|
|
9
9
|
|
|
10
|
-
| Library | Used under the terms of
|
|
11
|
-
|
|
12
|
-
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/)
|
|
13
|
-
| cgif | MIT
|
|
14
|
-
| emscripten | [MIT
|
|
15
|
-
| expat | MIT
|
|
16
|
-
| glib | LGPLv3
|
|
17
|
-
| highway |
|
|
18
|
-
| lcms | MIT
|
|
19
|
-
| libexif | LGPLv3
|
|
20
|
-
| libffi | MIT
|
|
21
|
-
| libheif | LGPLv3
|
|
22
|
-
| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT)
|
|
23
|
-
| libnsgif | MIT
|
|
24
|
-
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE)
|
|
25
|
-
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like)
|
|
26
|
-
| libultrahdr |
|
|
27
|
-
| libvips | LGPLv3
|
|
28
|
-
| libwebp | New BSD License
|
|
29
|
-
| mozjpeg | [zlib License, IJG License, BSD
|
|
30
|
-
| resvg | MIT
|
|
31
|
-
| zlib-ng | [zlib
|
|
10
|
+
| Library | Used under the terms of |
|
|
11
|
+
|---------------|----------------------------------------------------------------------------------------------------------|
|
|
12
|
+
| aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
|
|
13
|
+
| cgif | MIT License |
|
|
14
|
+
| emscripten | [MIT License](https://github.com/emscripten-core/emscripten/blob/main/LICENSE) |
|
|
15
|
+
| expat | MIT License |
|
|
16
|
+
| glib | LGPLv3 |
|
|
17
|
+
| highway | BSD 3-Clause |
|
|
18
|
+
| lcms | MIT License |
|
|
19
|
+
| libexif | LGPLv3 |
|
|
20
|
+
| libffi | MIT License |
|
|
21
|
+
| libheif | LGPLv3 |
|
|
22
|
+
| libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
|
|
23
|
+
| libnsgif | MIT License |
|
|
24
|
+
| libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
|
|
25
|
+
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
|
|
26
|
+
| libultrahdr | MIT License |
|
|
27
|
+
| libvips | LGPLv3 |
|
|
28
|
+
| libwebp | New BSD License |
|
|
29
|
+
| mozjpeg | [zlib License, IJG License, BSD 3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
|
|
30
|
+
| resvg | MIT License |
|
|
31
|
+
| zlib-ng | [zlib License](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
|
|
32
32
|
|
|
33
33
|
Use of libraries under the terms of the LGPLv3 is via the
|
|
34
34
|
"any later version" clause of the LGPLv2 or LGPLv2.1.
|
package/include/aom/aom_codec.h
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
// configuration is changed based on the parameter. Note that a aom_codec_err_t
|
|
53
53
|
// is returned, which indicates if the operation was successful or not.
|
|
54
54
|
//
|
|
55
|
-
// Note that for the encoder, the aom_codec_alg_priv_t points to
|
|
55
|
+
// Note that for the encoder, the aom_codec_alg_priv_t points to
|
|
56
56
|
// the aom_codec_alg_priv structure in av1/av1_cx_iface.c, and for the decoder,
|
|
57
57
|
// the struct in av1/av1_dx_iface.c. Variables such as AV1_COMP cpi are stored
|
|
58
58
|
// here and also used in the core algorithm.
|
|
@@ -106,6 +106,10 @@ typedef struct aom_codec_dec_cfg {
|
|
|
106
106
|
* call is not thread safe and should be guarded with a lock if being used
|
|
107
107
|
* in a multithreaded context.
|
|
108
108
|
*
|
|
109
|
+
* On success, aom_codec_destroy() must be used to free resources allocated for
|
|
110
|
+
* the decoder context. If aom_codec_dec_init_ver() fails, it is not necessary
|
|
111
|
+
* to call aom_codec_destroy() on the decoder context.
|
|
112
|
+
*
|
|
109
113
|
* \param[in] ctx Pointer to this instance's context.
|
|
110
114
|
* \param[in] iface Pointer to the algorithm interface to use.
|
|
111
115
|
* \param[in] cfg Configuration to use, if known. May be NULL.
|
|
@@ -379,6 +379,9 @@ typedef long aom_enc_frame_flags_t;
|
|
|
379
379
|
#define AOM_EFLAG_FORCE_KF (1 << 0)
|
|
380
380
|
/*!\brief Calculate PSNR for this frame, requires g_lag_in_frames to be 0 */
|
|
381
381
|
#define AOM_EFLAG_CALCULATE_PSNR (1 << 1)
|
|
382
|
+
/*!\brief Freeze internal state, do not update reference buffers, entropy
|
|
383
|
+
* tables, rate control state, etc. Requires g_lag_in_frames to be 0. */
|
|
384
|
+
#define AOM_EFLAG_FREEZE_INTERNAL_STATE (1 << 2)
|
|
382
385
|
|
|
383
386
|
/*!\brief Encoder configuration structure
|
|
384
387
|
*
|
|
@@ -468,11 +471,15 @@ typedef struct aom_codec_enc_cfg {
|
|
|
468
471
|
*/
|
|
469
472
|
aom_bit_depth_t g_bit_depth;
|
|
470
473
|
|
|
471
|
-
/*!\brief Bit-depth of the input
|
|
474
|
+
/*!\brief Bit-depth of the input source
|
|
472
475
|
*
|
|
473
|
-
* This value identifies the
|
|
474
|
-
* Note that the frames passed as input to
|
|
475
|
-
*
|
|
476
|
+
* This value identifies the actual bit-depth of the input source in bits. It
|
|
477
|
+
* must not exceed codec bit-depth. Note that the frames passed as input to
|
|
478
|
+
* the encoder must match codec bit-depth. So, if there is a mismatch between
|
|
479
|
+
* source bit-depth and codec bit-depth, the application is required to
|
|
480
|
+
* upshift the frame to the codec bit-depth before passing it for encoding.
|
|
481
|
+
* This is only used for computing quality metrics relative to the actual
|
|
482
|
+
* input source and has no effect on the encoder's output.
|
|
476
483
|
*/
|
|
477
484
|
unsigned int g_input_bit_depth;
|
|
478
485
|
|
|
@@ -887,11 +894,14 @@ typedef struct aom_codec_enc_cfg {
|
|
|
887
894
|
*/
|
|
888
895
|
int tile_heights[MAX_TILE_HEIGHTS];
|
|
889
896
|
|
|
890
|
-
/*!\brief
|
|
897
|
+
/*!\brief Controls how the encoder applies fixed QP offsets
|
|
891
898
|
*
|
|
899
|
+
* If a value of 0 is provided, encoder will adaptively choose QP offsets for
|
|
900
|
+
* frames at different levels of the pyramid.
|
|
892
901
|
* If a value of 1 is provided, encoder will use fixed QP offsets for frames
|
|
893
902
|
* at different levels of the pyramid.
|
|
894
|
-
* If a value of
|
|
903
|
+
* If a value of 2 is provided, encoder will use the same QP for all frames
|
|
904
|
+
* at different levels of the pyramid (i.e. no QP offsets are applied).
|
|
895
905
|
* Note: This option is only relevant for --end-usage=q.
|
|
896
906
|
*/
|
|
897
907
|
unsigned int use_fixed_qp_offsets;
|
|
@@ -919,8 +929,9 @@ typedef struct aom_codec_enc_cfg {
|
|
|
919
929
|
* is not thread safe and should be guarded with a lock if being used
|
|
920
930
|
* in a multithreaded context.
|
|
921
931
|
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
932
|
+
* On success, aom_codec_destroy() must be used to free resources allocated for
|
|
933
|
+
* the encoder context. If aom_codec_enc_init_ver() fails, it is not necessary
|
|
934
|
+
* to call aom_codec_destroy() on the encoder context.
|
|
924
935
|
*
|
|
925
936
|
* \param[in] ctx Pointer to this instance's context.
|
|
926
937
|
* \param[in] iface Pointer to the algorithm interface to use.
|