@img/sharp-libvips-dev-wasm32 1.1.0-rc2 → 1.1.0-rc4
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 +1 -1
- package/include/aom/aom_codec.h +18 -1
- package/include/aom/aom_encoder.h +2 -0
- package/include/aom/aom_image.h +3 -1
- package/include/aom/aomcx.h +52 -12
- package/include/expat.h +4 -2
- package/include/expat_config.h +3 -3
- package/include/ffi.h +1 -1
- package/include/glib-2.0/gio/gdbusconnection.h +65 -5
- package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
- package/include/glib-2.0/gio/gfile.h +4 -0
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +14 -3
- package/include/glib-2.0/gio/gioenumtypes.h +3 -3
- package/include/glib-2.0/gio/giotypes.h +4 -4
- package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
- package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
- package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
- package/include/glib-2.0/gio/gproxy.h +1 -1
- package/include/glib-2.0/gio/gproxyresolver.h +1 -1
- package/include/glib-2.0/gio/gresource.h +6 -0
- package/include/glib-2.0/gio/gtlsbackend.h +1 -1
- package/include/glib-2.0/gio/gvfs.h +3 -3
- package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
- package/include/glib-2.0/glib/garray.h +1 -1
- package/include/glib-2.0/glib/gerror.h +1 -1
- package/include/glib-2.0/glib/glib-visibility.h +34 -0
- package/include/glib-2.0/glib/gmacros.h +3 -3
- package/include/glib-2.0/glib/gmain.h +79 -1
- package/include/glib-2.0/glib/gmem.h +3 -0
- package/include/glib-2.0/glib/goption.h +58 -36
- package/include/glib-2.0/glib/gqueue.h +1 -1
- package/include/glib-2.0/glib/grefstring.h +4 -0
- package/include/glib-2.0/glib/gstdio.h +65 -0
- package/include/glib-2.0/glib/gstrfuncs.h +4 -0
- package/include/glib-2.0/glib/gtestutils.h +65 -33
- package/include/glib-2.0/glib/gthread.h +2 -0
- package/include/glib-2.0/glib/gtypes.h +1 -1
- package/include/glib-2.0/glib/gunicode.h +21 -5
- package/include/glib-2.0/glib/gvariant.h +50 -13
- package/include/glib-2.0/glib/gvarianttype.h +62 -46
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/glib-unix.h +21 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
- package/include/glib-2.0/gobject/gparam.h +4 -2
- package/include/glib-2.0/gobject/gsignal.h +22 -7
- package/include/glib-2.0/gobject/gtype.h +10 -4
- package/include/lcms2.h +7 -5
- package/include/lcms2_plugin.h +1 -1
- package/include/libexif/exif-byte-order.h +2 -0
- package/include/libexif/exif-content.h +2 -0
- package/include/libexif/exif-data-type.h +2 -0
- package/include/libexif/exif-data.h +3 -2
- package/include/libexif/exif-entry.h +2 -0
- package/include/libexif/exif-format.h +2 -0
- package/include/libexif/exif-ifd.h +2 -0
- package/include/libexif/exif-loader.h +2 -0
- package/include/libexif/exif-log.h +2 -0
- package/include/libexif/exif-mem.h +2 -0
- package/include/libexif/exif-mnote-data.h +2 -0
- package/include/libexif/exif-tag.h +2 -0
- package/include/libexif/exif-utils.h +2 -0
- package/include/libheif/heif.h +328 -26
- package/include/libheif/heif_cxx.h +18 -12
- package/include/libheif/heif_items.h +2 -2
- package/include/libheif/heif_properties.h +24 -4
- package/include/libheif/heif_version.h +2 -2
- package/include/resvg.h +13 -7
- package/include/vips/colour.h +2 -0
- package/include/vips/version.h +5 -5
- package/include/webp/encode.h +5 -4
- package/include/webp/sharpyuv/sharpyuv.h +14 -5
- package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
- package/include/webp/types.h +2 -2
- package/include/zlib.h +4 -4
- package/lib/glib-2.0/include/glibconfig.h +2 -2
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- package/lib/libwebpdemux.a +0 -0
- package/lib/libwebpdemux.la +1 -1
- package/lib/libwebpmux.a +0 -0
- package/lib/libwebpmux.la +1 -1
- 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 +3 -1
- package/lib/pkgconfig/libffi.pc +1 -1
- package/lib/pkgconfig/libheif.pc +2 -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/vips-cpp.pc +1 -1
- package/lib/pkgconfig/vips.pc +1 -1
- package/package.json +1 -1
- package/versions.json +13 -13
|
@@ -151,7 +151,7 @@ struct heif_error heif_item_set_item_name(struct heif_context* ctx,
|
|
|
151
151
|
LIBHEIF_API
|
|
152
152
|
struct heif_error heif_item_get_item_data(const struct heif_context* ctx,
|
|
153
153
|
heif_item_id item_id,
|
|
154
|
-
heif_metadata_compression* out_compression_format,
|
|
154
|
+
enum heif_metadata_compression* out_compression_format,
|
|
155
155
|
uint8_t** out_data, size_t* out_data_size);
|
|
156
156
|
|
|
157
157
|
/**
|
|
@@ -213,7 +213,7 @@ struct heif_error heif_context_add_item(struct heif_context* ctx,
|
|
|
213
213
|
LIBHEIF_API
|
|
214
214
|
struct heif_error heif_context_add_mime_item(struct heif_context* ctx,
|
|
215
215
|
const char* content_type,
|
|
216
|
-
heif_metadata_compression content_encoding,
|
|
216
|
+
enum heif_metadata_compression content_encoding,
|
|
217
217
|
const void* data, int size,
|
|
218
218
|
heif_item_id* out_item_id);
|
|
219
219
|
|
|
@@ -38,7 +38,9 @@ enum heif_item_property_type
|
|
|
38
38
|
heif_item_property_type_transform_rotation = heif_fourcc('i', 'r', 'o', 't'),
|
|
39
39
|
heif_item_property_type_transform_crop = heif_fourcc('c', 'l', 'a', 'p'),
|
|
40
40
|
heif_item_property_type_image_size = heif_fourcc('i', 's', 'p', 'e'),
|
|
41
|
-
heif_item_property_type_uuid = heif_fourcc('u', 'u', 'i', 'd')
|
|
41
|
+
heif_item_property_type_uuid = heif_fourcc('u', 'u', 'i', 'd'),
|
|
42
|
+
heif_item_property_type_tai_clock_info = heif_fourcc('t', 'a', 'i', 'c'),
|
|
43
|
+
heif_item_property_type_tai_timestamp = heif_fourcc('i', 't', 'a', 'i')
|
|
42
44
|
};
|
|
43
45
|
|
|
44
46
|
// Get the heif_property_id for a heif_item_id.
|
|
@@ -132,9 +134,8 @@ void heif_item_get_property_transform_crop_borders(const struct heif_context* co
|
|
|
132
134
|
int image_width, int image_height,
|
|
133
135
|
int* left, int* top, int* right, int* bottom);
|
|
134
136
|
|
|
135
|
-
|
|
136
137
|
/**
|
|
137
|
-
* @param context
|
|
138
|
+
* @param context The heif_context for the file
|
|
138
139
|
* @param itemId The image item id to which this property belongs.
|
|
139
140
|
* @param fourcc_type The short four-cc type of the property to add.
|
|
140
141
|
* @param uuid_type If fourcc_type=='uuid', this should point to a 16-byte UUID type. It is ignored otherwise and can be NULL.
|
|
@@ -159,7 +160,7 @@ struct heif_error heif_item_get_property_raw_size(const struct heif_context* con
|
|
|
159
160
|
size_t* out_size);
|
|
160
161
|
|
|
161
162
|
/**
|
|
162
|
-
* @param
|
|
163
|
+
* @param out_data User-supplied array to write the property data to. The required size of the output array is given by heif_item_get_property_raw_size().
|
|
163
164
|
*/
|
|
164
165
|
LIBHEIF_API
|
|
165
166
|
struct heif_error heif_item_get_property_raw_data(const struct heif_context* context,
|
|
@@ -167,6 +168,25 @@ struct heif_error heif_item_get_property_raw_data(const struct heif_context* con
|
|
|
167
168
|
heif_property_id propertyId,
|
|
168
169
|
uint8_t* out_data);
|
|
169
170
|
|
|
171
|
+
/**
|
|
172
|
+
* Get the extended type for an extended "uuid" box.
|
|
173
|
+
*
|
|
174
|
+
* This provides the UUID for the extended box.
|
|
175
|
+
*
|
|
176
|
+
* This method should only be called on properties of type `heif_item_property_type_uuid`.
|
|
177
|
+
*
|
|
178
|
+
* @param context the heif_context containing the HEIF file
|
|
179
|
+
* @param itemId the image item id to which this property belongs.
|
|
180
|
+
* @param propertyId the property index (1-based) to get the extended type for
|
|
181
|
+
* @param out_extended_type output of the call, must be a pointer to at least 16-bytes.
|
|
182
|
+
* @return heif_error_success or an error indicating the failure
|
|
183
|
+
*/
|
|
184
|
+
LIBHEIF_API
|
|
185
|
+
struct heif_error heif_item_get_property_uuid_type(const struct heif_context* context,
|
|
186
|
+
heif_item_id itemId,
|
|
187
|
+
heif_property_id propertyId,
|
|
188
|
+
uint8_t out_extended_type[16]);
|
|
189
|
+
|
|
170
190
|
#ifdef __cplusplus
|
|
171
191
|
}
|
|
172
192
|
#endif
|
|
@@ -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) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (19<<16) | (7<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.
|
|
34
|
+
#define LIBHEIF_VERSION "1.19.7"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/src/build/target/lib/libheif"
|
|
37
37
|
|
package/include/resvg.h
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
4
|
-
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
5
|
-
*/
|
|
1
|
+
// Copyright 2021 the Resvg Authors
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
6
3
|
|
|
7
4
|
/**
|
|
8
5
|
* @file resvg.h
|
|
@@ -17,9 +14,9 @@
|
|
|
17
14
|
#include <stdint.h>
|
|
18
15
|
|
|
19
16
|
#define RESVG_MAJOR_VERSION 0
|
|
20
|
-
#define RESVG_MINOR_VERSION
|
|
17
|
+
#define RESVG_MINOR_VERSION 45
|
|
21
18
|
#define RESVG_PATCH_VERSION 0
|
|
22
|
-
#define RESVG_VERSION "0.
|
|
19
|
+
#define RESVG_VERSION "0.45.0"
|
|
23
20
|
|
|
24
21
|
/**
|
|
25
22
|
* @brief List of possible errors.
|
|
@@ -176,6 +173,15 @@ void resvg_options_set_resources_dir(resvg_options *opt, const char *path);
|
|
|
176
173
|
*/
|
|
177
174
|
void resvg_options_set_dpi(resvg_options *opt, float dpi);
|
|
178
175
|
|
|
176
|
+
/**
|
|
177
|
+
* @brief Provides the content of a stylesheet that will be used when resolving CSS attributes.
|
|
178
|
+
*
|
|
179
|
+
* Must be UTF-8. Can be set to NULL.
|
|
180
|
+
*
|
|
181
|
+
* Default: NULL
|
|
182
|
+
*/
|
|
183
|
+
void resvg_options_set_stylesheet(resvg_options *opt, const char *content);
|
|
184
|
+
|
|
179
185
|
/**
|
|
180
186
|
* @brief Sets the default font family.
|
|
181
187
|
*
|
package/include/vips/colour.h
CHANGED
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.16.
|
|
8
|
-
#define VIPS_VERSION_STRING "8.16.
|
|
7
|
+
#define VIPS_VERSION "8.16.1"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.16.1"
|
|
9
9
|
#define VIPS_MAJOR_VERSION (8)
|
|
10
10
|
#define VIPS_MINOR_VERSION (16)
|
|
11
|
-
#define VIPS_MICRO_VERSION (
|
|
11
|
+
#define VIPS_MICRO_VERSION (1)
|
|
12
12
|
|
|
13
13
|
/* The ABI version, as used for library versioning.
|
|
14
14
|
*/
|
|
15
15
|
#define VIPS_LIBRARY_CURRENT (60)
|
|
16
|
-
#define VIPS_LIBRARY_REVISION (
|
|
16
|
+
#define VIPS_LIBRARY_REVISION (1)
|
|
17
17
|
#define VIPS_LIBRARY_AGE (18)
|
|
18
18
|
|
|
19
|
-
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: true\nenable Analyze7 load: true\nenable PPM load/save: true\nenable GIF load: true\nFFTs with fftw: false\nSIMD support with libhwy: true\nICC profile support with lcms2: true\ndeflate compression with zlib: true\ntext rendering with pangocairo: false\nfont file support with fontconfig: false\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 spng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: true\nimage pyramid save with libarchive: false\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium or Poppler: false (dynamic module: false)\nSVG load with
|
|
19
|
+
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: true\nenable Analyze7 load: true\nenable PPM load/save: true\nenable GIF load: true\nFFTs with fftw: false\nSIMD support with libhwy: true\nICC profile support with lcms2: true\ndeflate compression with zlib: true\ntext rendering with pangocairo: false\nfont file support with fontconfig: false\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 spng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: true\nimage pyramid save with libarchive: false\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium or Poppler: false (dynamic module: false)\nSVG load with librsvg or resvg: true (dynamic module: false)\nEXR load with OpenEXR: false\nWSI load with OpenSlide: false (dynamic module: false)\nMatlab load with Matio: false\nNIfTI load/save with libnifti: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nMagick load/save with MagickCore: false (dynamic module: 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/webp/encode.h
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
extern "C" {
|
|
21
21
|
#endif
|
|
22
22
|
|
|
23
|
-
#define WEBP_ENCODER_ABI_VERSION
|
|
23
|
+
#define WEBP_ENCODER_ABI_VERSION 0x0210 // MAJOR(8b) + MINOR(8b)
|
|
24
24
|
|
|
25
25
|
// Note: forward declaring enumerations is not allowed in (strict) C and C++,
|
|
26
26
|
// the types are left here for reference.
|
|
@@ -145,7 +145,7 @@ struct WebPConfig {
|
|
|
145
145
|
// RGB information for better compression. The default
|
|
146
146
|
// value is 0.
|
|
147
147
|
|
|
148
|
-
int use_delta_palette; // reserved
|
|
148
|
+
int use_delta_palette; // reserved
|
|
149
149
|
int use_sharp_yuv; // if needed, use sharp (and slow) RGB->YUV conversion
|
|
150
150
|
|
|
151
151
|
int qmin; // minimum permissible quality factor
|
|
@@ -224,14 +224,15 @@ struct WebPAuxStats {
|
|
|
224
224
|
uint32_t lossless_features; // bit0:predictor bit1:cross-color transform
|
|
225
225
|
// bit2:subtract-green bit3:color indexing
|
|
226
226
|
int histogram_bits; // number of precision bits of histogram
|
|
227
|
-
int transform_bits; // precision bits for transform
|
|
227
|
+
int transform_bits; // precision bits for predictor transform
|
|
228
228
|
int cache_bits; // number of bits for color cache lookup
|
|
229
229
|
int palette_size; // number of color in palette, if used
|
|
230
230
|
int lossless_size; // final lossless size
|
|
231
231
|
int lossless_hdr_size; // lossless header (transform, huffman etc) size
|
|
232
232
|
int lossless_data_size; // lossless image data size
|
|
233
|
+
int cross_color_transform_bits; // precision bits for cross-color transform
|
|
233
234
|
|
|
234
|
-
uint32_t pad[
|
|
235
|
+
uint32_t pad[1]; // padding for later use
|
|
235
236
|
};
|
|
236
237
|
|
|
237
238
|
// Signature for output function. Should return true if writing was successful.
|
|
@@ -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 1
|
|
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) \
|
|
@@ -66,10 +66,17 @@ extern "C" {
|
|
|
66
66
|
SHARPYUV_EXTERN int SharpYuvGetVersion(void);
|
|
67
67
|
|
|
68
68
|
// RGB to YUV conversion matrix, in 16 bit fixed point.
|
|
69
|
-
//
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
// Then
|
|
69
|
+
// y_ = rgb_to_y[0] * r + rgb_to_y[1] * g + rgb_to_y[2] * b + rgb_to_y[3]
|
|
70
|
+
// u_ = rgb_to_u[0] * r + rgb_to_u[1] * g + rgb_to_u[2] * b + rgb_to_u[3]
|
|
71
|
+
// v_ = rgb_to_v[0] * r + rgb_to_v[1] * g + rgb_to_v[2] * b + rgb_to_v[3]
|
|
72
|
+
// Then the values are divided by 1<<16 and rounded.
|
|
73
|
+
// y = (y_ + (1 << 15)) >> 16
|
|
74
|
+
// u = (u_ + (1 << 15)) >> 16
|
|
75
|
+
// v = (v_ + (1 << 15)) >> 16
|
|
76
|
+
//
|
|
77
|
+
// Typically, the offset values rgb_to_y[3], rgb_to_u[3] and rgb_to_v[3] depend
|
|
78
|
+
// on the input's bit depth, e.g., rgb_to_u[3] = 1 << (rgb_bit_depth - 1 + 16).
|
|
79
|
+
// See also sharpyuv_csp.h to get a predefined matrix or generate a matrix.
|
|
73
80
|
typedef struct {
|
|
74
81
|
int rgb_to_y[4];
|
|
75
82
|
int rgb_to_u[4];
|
|
@@ -127,6 +134,8 @@ typedef enum SharpYuvTransferFunctionType {
|
|
|
127
134
|
// adjacent pixels on the y, u and v channels. If yuv_bit_depth > 8, they
|
|
128
135
|
// should be multiples of 2.
|
|
129
136
|
// width, height: width and height of the image in pixels
|
|
137
|
+
// yuv_matrix: RGB to YUV conversion matrix. The matrix values typically
|
|
138
|
+
// depend on the input's rgb_bit_depth.
|
|
130
139
|
// This function calls SharpYuvConvertWithOptions with a default transfer
|
|
131
140
|
// function of kSharpYuvTransferFunctionSrgb.
|
|
132
141
|
SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
|
|
@@ -41,10 +41,15 @@ SHARPYUV_EXTERN void SharpYuvComputeConversionMatrix(
|
|
|
41
41
|
|
|
42
42
|
// Enums for precomputed conversion matrices.
|
|
43
43
|
typedef enum {
|
|
44
|
+
// WebP's matrix, similar but not identical to kSharpYuvMatrixRec601Limited
|
|
44
45
|
kSharpYuvMatrixWebp = 0,
|
|
46
|
+
// Kr=0.2990f Kb=0.1140f bit_depth=8 range=kSharpYuvRangeLimited
|
|
45
47
|
kSharpYuvMatrixRec601Limited,
|
|
48
|
+
// Kr=0.2990f Kb=0.1140f bit_depth=8 range=kSharpYuvRangeFull
|
|
46
49
|
kSharpYuvMatrixRec601Full,
|
|
50
|
+
// Kr=0.2126f Kb=0.0722f bit_depth=8 range=kSharpYuvRangeLimited
|
|
47
51
|
kSharpYuvMatrixRec709Limited,
|
|
52
|
+
// Kr=0.2126f Kb=0.0722f bit_depth=8 range=kSharpYuvRangeFull
|
|
48
53
|
kSharpYuvMatrixRec709Full,
|
|
49
54
|
kSharpYuvMatrixNum
|
|
50
55
|
} SharpYuvMatrixType;
|
package/include/webp/types.h
CHANGED
|
@@ -38,11 +38,11 @@ typedef long long int int64_t;
|
|
|
38
38
|
|
|
39
39
|
#ifndef WEBP_NODISCARD
|
|
40
40
|
#if defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD
|
|
41
|
-
#if (defined(__cplusplus) && __cplusplus >=
|
|
41
|
+
#if (defined(__cplusplus) && __cplusplus >= 201703L) || \
|
|
42
42
|
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
|
|
43
43
|
#define WEBP_NODISCARD [[nodiscard]]
|
|
44
44
|
#else
|
|
45
|
-
// gcc's
|
|
45
|
+
// gcc's __attribute__((warn_unused_result)) does not work for enums.
|
|
46
46
|
#if defined(__clang__) && defined(__has_attribute)
|
|
47
47
|
#if __has_attribute(warn_unused_result)
|
|
48
48
|
#define WEBP_NODISCARD __attribute__((warn_unused_result))
|
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.4"
|
|
53
|
+
#define ZLIBNG_VERNUM 0x020204F0L /* 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 4
|
|
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 */
|
|
@@ -890,7 +890,7 @@ Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *
|
|
|
890
890
|
deflateSetDictionary). For raw inflate, this function can be called at any
|
|
891
891
|
time to set the dictionary. If the provided dictionary is smaller than the
|
|
892
892
|
window and there is already data in the window, then the provided dictionary
|
|
893
|
-
will amend what's there. The application must
|
|
893
|
+
will amend what's there. The application must ensure that the dictionary
|
|
894
894
|
that was used for compression is provided.
|
|
895
895
|
|
|
896
896
|
inflateSetDictionary returns Z_OK if success, Z_STREAM_ERROR if a
|
|
@@ -114,8 +114,8 @@ typedef unsigned int guintptr;
|
|
|
114
114
|
#define G_GUINTPTR_FORMAT "u"
|
|
115
115
|
|
|
116
116
|
#define GLIB_MAJOR_VERSION 2
|
|
117
|
-
#define GLIB_MINOR_VERSION
|
|
118
|
-
#define GLIB_MICRO_VERSION
|
|
117
|
+
#define GLIB_MINOR_VERSION 84
|
|
118
|
+
#define GLIB_MICRO_VERSION 0
|
|
119
119
|
|
|
120
120
|
#define G_OS_UNIX
|
|
121
121
|
#define G_PLATFORM_WASM
|
package/lib/libaom.a
CHANGED
|
Binary file
|
package/lib/libcgif.a
CHANGED
|
Binary file
|
package/lib/libexif.a
CHANGED
|
Binary file
|
package/lib/libexif.la
CHANGED
package/lib/libexpat.a
CHANGED
|
Binary file
|
package/lib/libexpat.la
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# libexpat.la - a libtool library file
|
|
2
|
-
# Generated by libtool (GNU libtool) 2.
|
|
2
|
+
# Generated by libtool (GNU libtool) 2.5.3
|
|
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=' -lm -L/src/build/target/lib'
|
|
|
23
23
|
weak_library_names=''
|
|
24
24
|
|
|
25
25
|
# Version information for libexpat.
|
|
26
|
-
current=
|
|
27
|
-
age=
|
|
28
|
-
revision=
|
|
26
|
+
current=11
|
|
27
|
+
age=10
|
|
28
|
+
revision=0
|
|
29
29
|
|
|
30
30
|
# Is this an already installed library?
|
|
31
31
|
installed=yes
|
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
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
package/lib/libwebpdemux.a
CHANGED
|
Binary file
|
package/lib/libwebpdemux.la
CHANGED
package/lib/libwebpmux.a
CHANGED
|
Binary file
|
package/lib/libwebpmux.la
CHANGED
package/lib/libz.a
CHANGED
|
Binary file
|
package/lib/pkgconfig/aom.pc
CHANGED
|
@@ -5,8 +5,8 @@ includedir=${prefix}/include
|
|
|
5
5
|
libdir=${exec_prefix}/lib
|
|
6
6
|
|
|
7
7
|
Name: aom
|
|
8
|
-
Description: Alliance for Open Media AV1 codec library v3.
|
|
9
|
-
Version: 3.
|
|
8
|
+
Description: Alliance for Open Media AV1 codec library v3.12.0.
|
|
9
|
+
Version: 3.12.0
|
|
10
10
|
Requires:
|
|
11
11
|
Conflicts:
|
|
12
12
|
Libs: -L${libdir} -laom
|
package/lib/pkgconfig/cgif.pc
CHANGED
package/lib/pkgconfig/expat.pc
CHANGED
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.
|
|
14
|
+
Version: 2.84.0
|
|
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/lcms2.pc
CHANGED
package/lib/pkgconfig/libexif.pc
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# Copyright (C) 2001-2009 Lutz Mueller <lutz.s.mueller@gmail.com>, et. al.
|
|
2
|
+
# SPDX-License-Identifier: LGPL-2.0-or-later
|
|
1
3
|
prefix=/src/build/target
|
|
2
4
|
exec_prefix=${prefix}
|
|
3
5
|
libdir=${exec_prefix}/lib
|
|
@@ -6,7 +8,7 @@ includedir=${prefix}/include
|
|
|
6
8
|
Name: libexif
|
|
7
9
|
Description: Library for easy access to EXIF data
|
|
8
10
|
Requires:
|
|
9
|
-
Version: 0.6.
|
|
11
|
+
Version: 0.6.25
|
|
10
12
|
Libs: -L${libdir} -lexif
|
|
11
13
|
Libs.private: -lm
|
|
12
14
|
Cflags: -I${includedir}
|
package/lib/pkgconfig/libffi.pc
CHANGED
package/lib/pkgconfig/libheif.pc
CHANGED
|
@@ -6,9 +6,10 @@ includedir=${prefix}/include
|
|
|
6
6
|
Name: libheif
|
|
7
7
|
Description: HEIF image codec.
|
|
8
8
|
URL: https://github.com/strukturag/libheif
|
|
9
|
-
Version: 1.
|
|
9
|
+
Version: 1.19.7
|
|
10
10
|
Requires:
|
|
11
11
|
Requires.private: aom libsharpyuv
|
|
12
12
|
Libs: -L${libdir} -lheif
|
|
13
13
|
Libs.private: -lc++
|
|
14
14
|
Cflags: -I${includedir}
|
|
15
|
+
Cflags.private: -DLIBHEIF_STATIC_BUILD
|
package/lib/pkgconfig/libwebp.pc
CHANGED