@revizly/sharp-libvips-dev 1.0.48 → 1.0.49
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/aom/aom_ext_ratectrl.h +2 -2
- package/include/aom/aom_image.h +49 -7
- package/include/aom/aomcx.h +16 -3
- package/include/harfbuzz/hb-set.h +4 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/libheif/heif_image.h +7 -0
- package/include/libheif/heif_image_handle.h +16 -0
- package/include/libheif/heif_regions.h +5 -1
- package/include/libheif/heif_version.h +2 -2
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +6 -6
|
@@ -145,7 +145,7 @@ typedef void *aom_rc_model_t;
|
|
|
145
145
|
#define AOM_DEFAULT_RDMULT -1
|
|
146
146
|
|
|
147
147
|
/*!\brief Superblock quantization parameters
|
|
148
|
-
* Store the superblock
|
|
148
|
+
* Store the superblock quantization parameters
|
|
149
149
|
*/
|
|
150
150
|
typedef struct aom_sb_parameters {
|
|
151
151
|
int q_index; /**< Quantizer step index [0..255]*/
|
|
@@ -241,7 +241,7 @@ typedef struct aom_rc_frame_stats {
|
|
|
241
241
|
/*!
|
|
242
242
|
* Weight assigned to this frame (or total weight for the collection of
|
|
243
243
|
* frames) currently based on intra factor and brightness factor. This is used
|
|
244
|
-
* to distribute bits
|
|
244
|
+
* to distribute bits between easier and harder frames.
|
|
245
245
|
*/
|
|
246
246
|
double weight;
|
|
247
247
|
/*!
|
package/include/aom/aom_image.h
CHANGED
|
@@ -209,13 +209,55 @@ typedef struct aom_metadata {
|
|
|
209
209
|
|
|
210
210
|
/**\brief Image Descriptor */
|
|
211
211
|
typedef struct aom_image {
|
|
212
|
-
aom_img_fmt_t fmt;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
212
|
+
aom_img_fmt_t fmt; /**< Image Format */
|
|
213
|
+
/*!\brief CICP Color Primaries
|
|
214
|
+
*
|
|
215
|
+
* \if av1_encoder
|
|
216
|
+
* \attention Only set by the decoder. To control the value used by the
|
|
217
|
+
* encoder, use the \ref AV1E_SET_COLOR_PRIMARIES codec control.
|
|
218
|
+
* \endif
|
|
219
|
+
*/
|
|
220
|
+
aom_color_primaries_t cp;
|
|
221
|
+
/*!\brief CICP Transfer Characteristics
|
|
222
|
+
*
|
|
223
|
+
* \if av1_encoder
|
|
224
|
+
* \attention Only set by the decoder. To control the value used by the
|
|
225
|
+
* encoder, use the \ref AV1E_SET_TRANSFER_CHARACTERISTICS codec control.
|
|
226
|
+
* \endif
|
|
227
|
+
*/
|
|
228
|
+
aom_transfer_characteristics_t tc;
|
|
229
|
+
/*!\brief CICP Matrix Coefficients
|
|
230
|
+
*
|
|
231
|
+
* \if av1_encoder
|
|
232
|
+
* \attention Only set by the decoder. To control the value used by the
|
|
233
|
+
* encoder, use the \ref AV1E_SET_MATRIX_COEFFICIENTS codec control.
|
|
234
|
+
* \endif
|
|
235
|
+
*/
|
|
236
|
+
aom_matrix_coefficients_t mc;
|
|
237
|
+
/*!\brief Whether image is monochrome
|
|
238
|
+
*
|
|
239
|
+
* \if av1_encoder
|
|
240
|
+
* \attention Only set by the decoder. To control the encoder behavior, set
|
|
241
|
+
* aom_codec_enc_cfg_t::monochrome.
|
|
242
|
+
* \endif
|
|
243
|
+
*/
|
|
244
|
+
int monochrome;
|
|
245
|
+
/*!\brief Chroma sample position
|
|
246
|
+
*
|
|
247
|
+
* \if av1_encoder
|
|
248
|
+
* \attention Only set by the decoder. To control the value used by the
|
|
249
|
+
* encoder, use the \ref AV1E_SET_CHROMA_SAMPLE_POSITION codec control.
|
|
250
|
+
* \endif
|
|
251
|
+
*/
|
|
252
|
+
aom_chroma_sample_position_t csp;
|
|
253
|
+
/*!\brief Color Range
|
|
254
|
+
*
|
|
255
|
+
* \if av1_encoder
|
|
256
|
+
* \attention Only set by the decoder. To control the value used by the
|
|
257
|
+
* encoder, use the \ref AV1E_SET_COLOR_RANGE codec control.
|
|
258
|
+
* \endif
|
|
259
|
+
*/
|
|
260
|
+
aom_color_range_t range;
|
|
219
261
|
|
|
220
262
|
/* Image storage dimensions */
|
|
221
263
|
unsigned int w; /**< Stored image width */
|
package/include/aom/aomcx.h
CHANGED
|
@@ -1637,15 +1637,25 @@ enum aome_enc_control_id {
|
|
|
1637
1637
|
*
|
|
1638
1638
|
* \attention Experimental. Not part of the stable API.
|
|
1639
1639
|
*/
|
|
1640
|
-
AV1E_GET_GOP_INFO,
|
|
1640
|
+
AV1E_GET_GOP_INFO = 174,
|
|
1641
1641
|
|
|
1642
|
-
/*!\brief Codec control function to validate HBD input.
|
|
1642
|
+
/*!\brief Codec control function to validate HBD input, int parameter.
|
|
1643
1643
|
*
|
|
1644
1644
|
* AV1 allows the encoder to validate the high bitdepth (HBD) input and
|
|
1645
1645
|
* ensure that every pixel is within the valid range. To disable/enable,
|
|
1646
1646
|
* set this parameter to 0/1. The default value is set to be 1.
|
|
1647
1647
|
*/
|
|
1648
|
-
AOME_SET_VALIDATE_HBD_INPUT,
|
|
1648
|
+
AOME_SET_VALIDATE_HBD_INPUT = 175,
|
|
1649
|
+
|
|
1650
|
+
/*!\brief Codec control function to toggle loopfilter mode_ref_delta_enabled,
|
|
1651
|
+
* int parameter.
|
|
1652
|
+
*
|
|
1653
|
+
* - 0 = disable
|
|
1654
|
+
* - 1 = enable (default)
|
|
1655
|
+
*
|
|
1656
|
+
* \note This is only used in loopfilter control unit test.
|
|
1657
|
+
*/
|
|
1658
|
+
AV1E_SET_MODE_REF_DELTA_ENABLED = 176,
|
|
1649
1659
|
|
|
1650
1660
|
// Any new encoder control IDs should be added above.
|
|
1651
1661
|
// Maximum allowed encoder control ID is 229.
|
|
@@ -2433,6 +2443,9 @@ AOM_CTRL_USE_TYPE(AV1E_SET_EXTERNAL_RATE_CONTROL, aom_rc_funcs_t *)
|
|
|
2433
2443
|
AOM_CTRL_USE_TYPE(AV1E_GET_GOP_INFO, aom_gop_info_t *)
|
|
2434
2444
|
#define AOM_CTRL_AV1E_GET_GOP_INFO
|
|
2435
2445
|
|
|
2446
|
+
AOM_CTRL_USE_TYPE(AV1E_SET_MODE_REF_DELTA_ENABLED, int)
|
|
2447
|
+
#define AOM_CTRL_AV1E_SET_MODE_REF_DELTA_ENABLED
|
|
2448
|
+
|
|
2436
2449
|
/*!\endcond */
|
|
2437
2450
|
/*! @} - end defgroup aom_encoder */
|
|
2438
2451
|
#ifdef __cplusplus
|
|
@@ -131,6 +131,10 @@ HB_EXTERN hb_bool_t
|
|
|
131
131
|
hb_set_is_equal (const hb_set_t *set,
|
|
132
132
|
const hb_set_t *other);
|
|
133
133
|
|
|
134
|
+
HB_EXTERN hb_bool_t
|
|
135
|
+
hb_set_intersects (const hb_set_t *set,
|
|
136
|
+
const hb_set_t *other);
|
|
137
|
+
|
|
134
138
|
HB_EXTERN unsigned int
|
|
135
139
|
hb_set_hash (const hb_set_t *set);
|
|
136
140
|
|
|
@@ -47,20 +47,20 @@ HB_BEGIN_DECLS
|
|
|
47
47
|
*
|
|
48
48
|
* The minor component of the library version available at compile-time.
|
|
49
49
|
*/
|
|
50
|
-
#define HB_VERSION_MINOR
|
|
50
|
+
#define HB_VERSION_MINOR 4
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
54
54
|
* The micro component of the library version available at compile-time.
|
|
55
55
|
*/
|
|
56
|
-
#define HB_VERSION_MICRO
|
|
56
|
+
#define HB_VERSION_MICRO 0
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* HB_VERSION_STRING:
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "14.
|
|
63
|
+
#define HB_VERSION_STRING "14.4.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
|
@@ -269,6 +269,13 @@ uint8_t* heif_image_get_plane(heif_image*,
|
|
|
269
269
|
// The 'stride' parameter is often multiplied by the image height in the client application.
|
|
270
270
|
// For very large images, this can lead to integer overflows and, consequently, illegal memory accesses.
|
|
271
271
|
// The changed 'stride' parameter type eliminates this common error.
|
|
272
|
+
//
|
|
273
|
+
// Size any copy loop that reads or writes this plane from *this* channel's own
|
|
274
|
+
// heif_image_get_width()/heif_image_get_height() and this 'out_stride' -- never from
|
|
275
|
+
// heif_image_handle_get_width()/heif_image_handle_get_height() (the signalled item size, which
|
|
276
|
+
// is not guaranteed to match the decoded plane) and never by assuming stride equals
|
|
277
|
+
// width * bytes_per_pixel: the row may be padded, so require stride >= bytes_per_pixel * width
|
|
278
|
+
// and use the returned stride for row-to-row offsets.
|
|
272
279
|
LIBHEIF_API
|
|
273
280
|
const uint8_t* heif_image_get_plane_readonly2(const heif_image*,
|
|
274
281
|
heif_channel channel,
|
|
@@ -54,6 +54,14 @@ LIBHEIF_API
|
|
|
54
54
|
heif_item_id heif_image_handle_get_item_id(const heif_image_handle* handle);
|
|
55
55
|
|
|
56
56
|
/** Get the image width.
|
|
57
|
+
*
|
|
58
|
+
* This is the *signalled* size declared for the item, available without decoding. It is not
|
|
59
|
+
* guaranteed to match the size of the image you get back from heif_decode_image(): do not use
|
|
60
|
+
* this value to allocate or bound access to a decoded pixel buffer. Once you have decoded the
|
|
61
|
+
* image, use heif_image_get_width(heif_image*, heif_channel) (or heif_image_get_primary_width())
|
|
62
|
+
* for the actual plane size, and size any copy loop from that together with the stride returned
|
|
63
|
+
* by heif_image_get_plane_readonly2() / heif_image_get_plane2() -- never from this handle value
|
|
64
|
+
* or from width * bytes_per_pixel.
|
|
57
65
|
*
|
|
58
66
|
* If 'handle' is invalid (NULL) or if the image size exceeds the range of `int`, 0 is returned.
|
|
59
67
|
*/
|
|
@@ -61,6 +69,14 @@ LIBHEIF_API
|
|
|
61
69
|
int heif_image_handle_get_width(const heif_image_handle* handle);
|
|
62
70
|
|
|
63
71
|
/** Get the image height.
|
|
72
|
+
*
|
|
73
|
+
* This is the *signalled* size declared for the item, available without decoding. It is not
|
|
74
|
+
* guaranteed to match the size of the image you get back from heif_decode_image(): do not use
|
|
75
|
+
* this value to allocate or bound access to a decoded pixel buffer. Once you have decoded the
|
|
76
|
+
* image, use heif_image_get_height(heif_image*, heif_channel) (or heif_image_get_primary_height())
|
|
77
|
+
* for the actual plane size, and size any copy loop from that together with the stride returned
|
|
78
|
+
* by heif_image_get_plane_readonly2() / heif_image_get_plane2() -- never from this handle value
|
|
79
|
+
* or from height * stride.
|
|
64
80
|
*
|
|
65
81
|
* If 'handle' is invalid (NULL) or if the image size exceeds the range of `int`, 0 is returned.
|
|
66
82
|
*/
|
|
@@ -814,12 +814,16 @@ heif_error heif_region_item_add_region_referenced_mask(heif_region_item* region_
|
|
|
814
814
|
* part of the region. If the bit value is `0`, the corresponding pixel is not part of the
|
|
815
815
|
* region.
|
|
816
816
|
*
|
|
817
|
+
* @c width and @c height must both be non-zero and @c mask_data_len must be exactly
|
|
818
|
+
* `(width * height + 7) / 8`, the number of bytes needed to hold one bit per pixel.
|
|
819
|
+
* Otherwise the function fails without modifying the region item.
|
|
820
|
+
*
|
|
817
821
|
* @param region_item the region item that holds this mask region
|
|
818
822
|
* @param x the x value for the top-left corner of this mask region
|
|
819
823
|
* @param y the y value for the top-left corner of this mask region
|
|
820
824
|
* @param width the width of this mask region
|
|
821
825
|
* @param height the height of this mask region
|
|
822
|
-
* @param mask_data the
|
|
826
|
+
* @param mask_data the mask data to store
|
|
823
827
|
* @param mask_data_len the length of the mask data, in bytes
|
|
824
828
|
* @param out_region pointer to pointer to the returned region (optional, see below)
|
|
825
829
|
* @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) | (23<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (23<<16) | (2<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.23.
|
|
34
|
+
#define LIBHEIF_VERSION "1.23.2"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
package/include/vips/version.h
CHANGED
|
@@ -4,16 +4,16 @@
|
|
|
4
4
|
#ifndef VIPS_VERSION_H
|
|
5
5
|
#define VIPS_VERSION_H
|
|
6
6
|
|
|
7
|
-
#define VIPS_VERSION "8.18.
|
|
8
|
-
#define VIPS_VERSION_STRING "8.18.
|
|
7
|
+
#define VIPS_VERSION "8.18.6"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.18.6"
|
|
9
9
|
#define VIPS_MAJOR_VERSION (8)
|
|
10
10
|
#define VIPS_MINOR_VERSION (18)
|
|
11
|
-
#define VIPS_MICRO_VERSION (
|
|
11
|
+
#define VIPS_MICRO_VERSION (6)
|
|
12
12
|
|
|
13
13
|
/* The ABI version, as used for library versioning.
|
|
14
14
|
*/
|
|
15
15
|
#define VIPS_LIBRARY_CURRENT (62)
|
|
16
|
-
#define VIPS_LIBRARY_REVISION (
|
|
16
|
+
#define VIPS_LIBRARY_REVISION (6)
|
|
17
17
|
#define VIPS_LIBRARY_AGE (20)
|
|
18
18
|
|
|
19
19
|
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable C++ binding: true\nenable RAD load/save: false\nenable Analyze7 load: false\nenable PPM load/save: false\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: true\nfont file support with fontconfig: true\nEXIF metadata support with libexif: true\nJPEG load/save with libjpeg: true\nUHDR load/save with libuhdr: true\nJXL load/save with libjxl: false (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with libpng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: 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 or Poppler: false (dynamic module: false)\nSVG load with librsvg-2.0: true\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\nRAW load with libraw: false\nMagick load/save with MagickCore: false (dynamic module: false)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revizly/sharp-libvips-dev",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
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,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"aom": "3.
|
|
2
|
+
"aom": "3.15.0",
|
|
3
3
|
"archive": "3.8.9",
|
|
4
4
|
"cairo": "1.18.4",
|
|
5
5
|
"cgif": "0.5.3",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"fontconfig": "2.18.3",
|
|
11
11
|
"freetype": "2.14.3",
|
|
12
12
|
"fribidi": "1.0.16",
|
|
13
|
-
"glib": "2.89.
|
|
14
|
-
"harfbuzz": "14.
|
|
15
|
-
"heif": "1.23.
|
|
13
|
+
"glib": "2.89.4",
|
|
14
|
+
"harfbuzz": "14.4.0",
|
|
15
|
+
"heif": "1.23.2",
|
|
16
16
|
"highway": "1.4.0",
|
|
17
17
|
"imagequant": "2.4.1",
|
|
18
18
|
"lcms": "2.19.1",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"png": "1.6.58",
|
|
23
23
|
"proxy-libintl": "0.5",
|
|
24
24
|
"rsvg": "2.62.91",
|
|
25
|
-
"svt-av1": "pgo-build-2026-
|
|
25
|
+
"svt-av1": "pgo-build-2026-08-23-0bed409",
|
|
26
26
|
"tiff": "4.7.2",
|
|
27
27
|
"uhdr": "2.0.2",
|
|
28
|
-
"vips": "8.18.
|
|
28
|
+
"vips": "8.18.6",
|
|
29
29
|
"webp": "1.6.0",
|
|
30
30
|
"xml2": "2.15.3",
|
|
31
31
|
"zlib-ng": "2.3.3"
|