@img/sharp-libvips-dev-wasm32 1.3.0-rc.7 → 1.3.0-rc.9
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_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 +1 -1
- package/include/expat_config.h +3 -3
- package/include/glib-2.0/gio/gdbusconnection.h +2 -8
- package/include/glib-2.0/gio/gio-visibility.h +34 -0
- package/include/glib-2.0/gio/gioenums.h +5 -4
- 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/gmarkup.h +10 -0
- package/include/glib-2.0/glib/gmem.h +4 -4
- package/include/glib-2.0/glib/gmessages.h +6 -8
- package/include/glib-2.0/glib/gsequence.h +2 -2
- package/include/glib-2.0/glib/gstrfuncs.h +190 -0
- package/include/glib-2.0/glib/gutils.h +9 -0
- package/include/glib-2.0/glib/gversionmacros.h +9 -0
- package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
- package/include/glib-2.0/gobject/gsignal.h +5 -5
- package/include/glib-2.0/gobject/gtype.h +14 -14
- package/include/libheif/heif.h +2 -0
- package/include/libheif/heif_color.h +127 -11
- package/include/libheif/heif_components.h +264 -0
- package/include/libheif/heif_context.h +2 -1
- package/include/libheif/heif_cxx.h +10 -10
- package/include/libheif/heif_decoding.h +51 -7
- package/include/libheif/heif_encoding.h +15 -9
- package/include/libheif/heif_error.h +9 -2
- package/include/libheif/heif_export.h +48 -0
- package/include/libheif/heif_image.h +81 -66
- package/include/libheif/heif_image_handle.h +2 -2
- package/include/libheif/heif_items.h +1 -1
- package/include/libheif/heif_library.h +8 -16
- package/include/libheif/heif_omaf.h +104 -0
- package/include/libheif/heif_plugin.h +16 -9
- package/include/libheif/heif_properties.h +250 -12
- package/include/libheif/heif_security.h +16 -4
- package/include/libheif/heif_sequences.h +74 -2
- package/include/libheif/heif_tiling.h +2 -2
- package/include/libheif/heif_uncompressed.h +44 -332
- package/include/libheif/heif_version.h +2 -2
- package/include/vips/version.h +4 -4
- package/lib/glib-2.0/include/glibconfig.h +2 -4
- 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/libexpat.la +1 -1
- 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/libpng16.a +0 -0
- 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/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/libheif.pc +2 -2
- package/lib/pkgconfig/vips-cpp.pc +1 -1
- package/lib/pkgconfig/vips.pc +1 -1
- package/package.json +1 -1
- package/versions.json +8 -8
- package/include/libheif/heif_uncompressed_types.h +0 -143
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
#ifndef LIBHEIF_HEIF_UNCOMPRESSED_H
|
|
22
22
|
#define LIBHEIF_HEIF_UNCOMPRESSED_H
|
|
23
23
|
|
|
24
|
-
#include "libheif/
|
|
24
|
+
#include "libheif/heif_components.h"
|
|
25
|
+
#include "libheif/heif_properties.h"
|
|
25
26
|
#include "libheif/heif.h"
|
|
26
27
|
|
|
27
28
|
#ifdef __cplusplus
|
|
@@ -33,219 +34,48 @@ extern "C" {
|
|
|
33
34
|
* Despite its name, this is not limited to uncompressed images.
|
|
34
35
|
* It is also possible to add images with lossless compression methods.
|
|
35
36
|
* See heif_metadata_compression for more information.
|
|
37
|
+
*
|
|
38
|
+
* ISO/IEC 23001-17 metadata properties (Bayer / polarization / sensor bad
|
|
39
|
+
* pixels / NUC / chroma sample location) live in heif_properties.h, which is
|
|
40
|
+
* included above for back-compat.
|
|
36
41
|
*/
|
|
37
42
|
|
|
38
|
-
// heif_uncompressed_component_type and heif_bayer_pattern_pixel are defined in heif_uncompressed_types.h.
|
|
39
|
-
|
|
40
|
-
// Set a Bayer / filter array pattern on an image.
|
|
41
|
-
// The pattern is a 2D array of component indices with dimensions pattern_width x pattern_height.
|
|
42
|
-
// The number of entries in patternPixels must be pattern_width * pattern_height.
|
|
43
|
-
// The component_index values are indices into the cmpd component definition table.
|
|
44
|
-
// On the encoder path, these indices are generated by heif_image_add_component() and the
|
|
45
|
-
// encoder adds reference components to cmpd for pattern entries that don't have image planes.
|
|
46
|
-
// On the decoder path, they come directly from the cpat box.
|
|
47
|
-
LIBHEIF_API
|
|
48
|
-
heif_error heif_image_set_bayer_pattern(heif_image*,
|
|
49
|
-
uint32_t bayer_component_id,
|
|
50
|
-
uint16_t pattern_width,
|
|
51
|
-
uint16_t pattern_height,
|
|
52
|
-
const heif_bayer_pattern_pixel* patternPixels);
|
|
53
|
-
|
|
54
|
-
LIBHEIF_API
|
|
55
|
-
heif_error heif_image_add_bayer_component(heif_image*,
|
|
56
|
-
uint16_t component_type,
|
|
57
|
-
uint32_t* out_component_id);
|
|
58
|
-
|
|
59
|
-
// Returns whether the image has a Bayer / filter array pattern.
|
|
60
|
-
// If the image has a pattern, out_pattern_width and out_pattern_height are set.
|
|
61
|
-
// Either output pointer may be NULL if the caller does not need that value.
|
|
62
|
-
LIBHEIF_API
|
|
63
|
-
int heif_image_get_bayer_pattern_size(const heif_image*,
|
|
64
|
-
uint32_t bayer_component_id,
|
|
65
|
-
uint16_t* out_pattern_width,
|
|
66
|
-
uint16_t* out_pattern_height);
|
|
67
|
-
|
|
68
|
-
// Get the Bayer / filter array pattern pixels.
|
|
69
|
-
// The caller must provide an array large enough for pattern_width * pattern_height entries
|
|
70
|
-
// (use heif_image_get_bayer_pattern_size() to query the dimensions first).
|
|
71
|
-
// Returns heif_error_Ok on success, or an error if no pattern is set.
|
|
72
|
-
LIBHEIF_API
|
|
73
|
-
heif_error heif_image_get_bayer_pattern(const heif_image*,
|
|
74
|
-
uint32_t bayer_component_id,
|
|
75
|
-
heif_bayer_pattern_pixel* out_patternPixels);
|
|
76
|
-
|
|
77
|
-
// --- Polarization pattern (ISO 23001-17, Section 6.1.5)
|
|
78
|
-
|
|
79
|
-
// Special float value indicating "no polarization filter" at a pattern position.
|
|
80
|
-
// On the wire this is the IEEE 754 bit pattern 0xFFFFFFFF (a signaling NaN).
|
|
81
|
-
// Test with heif_polarization_angle_is_no_filter() below, or with isnan()/std::isnan().
|
|
82
|
-
|
|
83
|
-
// Returns a float with the 0xFFFFFFFF bit pattern (NaN) representing "no polarization filter".
|
|
84
|
-
LIBHEIF_API
|
|
85
|
-
float heif_polarization_angle_no_filter(void);
|
|
86
|
-
|
|
87
|
-
// Returns non-zero if the given angle has the "no filter" bit pattern (0xFFFFFFFF).
|
|
88
|
-
LIBHEIF_API
|
|
89
|
-
int heif_polarization_angle_is_no_filter(float angle);
|
|
90
43
|
|
|
91
|
-
//
|
|
92
|
-
// component_indices: array of component indices this pattern applies to (may be NULL if num_component_indices == 0,
|
|
93
|
-
// meaning the pattern applies to all components).
|
|
94
|
-
// polarization_angles: array of pattern_width * pattern_height float values.
|
|
95
|
-
// Each is an angle in degrees [0.0, 360.0), or heif_polarization_angle_no_filter() for "no filter".
|
|
96
|
-
// Multiple patterns can be added (one per distinct component group).
|
|
97
|
-
LIBHEIF_API
|
|
98
|
-
heif_error heif_image_add_polarization_pattern(heif_image*,
|
|
99
|
-
uint32_t num_component_indices,
|
|
100
|
-
const uint32_t* component_indices,
|
|
101
|
-
uint16_t pattern_width,
|
|
102
|
-
uint16_t pattern_height,
|
|
103
|
-
const float* polarization_angles);
|
|
104
|
-
|
|
105
|
-
// Returns the number of polarization patterns on this image (0 if none).
|
|
106
|
-
LIBHEIF_API
|
|
107
|
-
int heif_image_get_number_of_polarization_patterns(const heif_image*);
|
|
108
|
-
|
|
109
|
-
// Get the sizes/dimensions of a polarization pattern (to allocate arrays for the data query).
|
|
110
|
-
LIBHEIF_API
|
|
111
|
-
heif_error heif_image_get_polarization_pattern_info(const heif_image*,
|
|
112
|
-
int pattern_index,
|
|
113
|
-
uint32_t* out_num_component_indices,
|
|
114
|
-
uint16_t* out_pattern_width,
|
|
115
|
-
uint16_t* out_pattern_height);
|
|
116
|
-
|
|
117
|
-
// Get the actual data of a polarization pattern.
|
|
118
|
-
// Caller must provide pre-allocated arrays:
|
|
119
|
-
// out_component_indices: num_component_indices entries (may be NULL if num_component_indices == 0)
|
|
120
|
-
// out_polarization_angles: pattern_width * pattern_height entries
|
|
121
|
-
LIBHEIF_API
|
|
122
|
-
heif_error heif_image_get_polarization_pattern_data(const heif_image*,
|
|
123
|
-
int pattern_index,
|
|
124
|
-
uint32_t* out_component_indices,
|
|
125
|
-
float* out_polarization_angles);
|
|
126
|
-
|
|
127
|
-
// Find the polarization pattern index that applies to a given component index.
|
|
128
|
-
// Returns the pattern index (>= 0), or -1 if no pattern matches.
|
|
129
|
-
// A pattern with an empty component list (component_count == 0) matches all components.
|
|
130
|
-
LIBHEIF_API
|
|
131
|
-
int heif_image_get_polarization_pattern_index_for_component(const heif_image*,
|
|
132
|
-
uint32_t component_index);
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
// --- Sensor bad pixels map (ISO 23001-17, Section 6.1.7)
|
|
136
|
-
|
|
137
|
-
// struct heif_bad_pixel is defined in heif_uncompressed_types.h.
|
|
138
|
-
|
|
139
|
-
// Add a sensor bad pixels map to an image.
|
|
140
|
-
// component_indices: array of component indices this map applies to (may be NULL if num_component_indices == 0,
|
|
141
|
-
// meaning the map applies to all components).
|
|
142
|
-
// Multiple maps can be added (one per distinct component group with different defects).
|
|
143
|
-
LIBHEIF_API
|
|
144
|
-
heif_error heif_image_add_sensor_bad_pixels_map(heif_image*,
|
|
145
|
-
uint32_t num_component_indices,
|
|
146
|
-
const uint32_t* component_indices,
|
|
147
|
-
int correction_applied,
|
|
148
|
-
uint32_t num_bad_rows,
|
|
149
|
-
const uint32_t* bad_rows,
|
|
150
|
-
uint32_t num_bad_columns,
|
|
151
|
-
const uint32_t* bad_columns,
|
|
152
|
-
uint32_t num_bad_pixels,
|
|
153
|
-
const heif_bad_pixel* bad_pixels);
|
|
154
|
-
|
|
155
|
-
// Returns the number of sensor bad pixels maps on this image (0 if none).
|
|
156
|
-
LIBHEIF_API
|
|
157
|
-
int heif_image_get_number_of_sensor_bad_pixels_maps(const heif_image*);
|
|
158
|
-
|
|
159
|
-
// Get the sizes of a sensor bad pixels map (to allocate arrays for the data query).
|
|
160
|
-
LIBHEIF_API
|
|
161
|
-
heif_error heif_image_get_sensor_bad_pixels_map_info(const heif_image*,
|
|
162
|
-
int map_index,
|
|
163
|
-
uint32_t* out_num_component_indices,
|
|
164
|
-
int* out_correction_applied,
|
|
165
|
-
uint32_t* out_num_bad_rows,
|
|
166
|
-
uint32_t* out_num_bad_columns,
|
|
167
|
-
uint32_t* out_num_bad_pixels);
|
|
168
|
-
|
|
169
|
-
// Get the actual data of a sensor bad pixels map.
|
|
170
|
-
// Caller must provide pre-allocated arrays:
|
|
171
|
-
// out_component_indices: num_component_indices entries (may be NULL if num_component_indices == 0)
|
|
172
|
-
// out_bad_rows: num_bad_rows entries (may be NULL if num_bad_rows == 0)
|
|
173
|
-
// out_bad_columns: num_bad_columns entries (may be NULL if num_bad_columns == 0)
|
|
174
|
-
// out_bad_pixels: num_bad_pixels entries (may be NULL if num_bad_pixels == 0)
|
|
175
|
-
LIBHEIF_API
|
|
176
|
-
heif_error heif_image_get_sensor_bad_pixels_map_data(const heif_image*,
|
|
177
|
-
int map_index,
|
|
178
|
-
uint32_t* out_component_indices,
|
|
179
|
-
uint32_t* out_bad_rows,
|
|
180
|
-
uint32_t* out_bad_columns,
|
|
181
|
-
struct heif_bad_pixel* out_bad_pixels);
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
// --- Sensor non-uniformity correction (ISO 23001-17, Section 6.1.6)
|
|
185
|
-
|
|
186
|
-
// Add a sensor non-uniformity correction table to an image.
|
|
187
|
-
// component_indices: array of component indices this NUC applies to (may be NULL if num_component_indices == 0,
|
|
188
|
-
// meaning it applies to all components).
|
|
189
|
-
// nuc_gains and nuc_offsets: arrays of image_width * image_height float values.
|
|
190
|
-
// Correction equation: y = nuc_gain * x + nuc_offset.
|
|
191
|
-
// Multiple NUC tables can be added (one per distinct component group).
|
|
192
|
-
LIBHEIF_API
|
|
193
|
-
heif_error heif_image_add_sensor_nuc(heif_image*,
|
|
194
|
-
uint32_t num_component_indices,
|
|
195
|
-
const uint32_t* component_indices,
|
|
196
|
-
int nuc_is_applied,
|
|
197
|
-
uint32_t image_width,
|
|
198
|
-
uint32_t image_height,
|
|
199
|
-
const float* nuc_gains,
|
|
200
|
-
const float* nuc_offsets);
|
|
201
|
-
|
|
202
|
-
// Returns the number of sensor NUC tables on this image (0 if none).
|
|
203
|
-
LIBHEIF_API
|
|
204
|
-
int heif_image_get_number_of_sensor_nucs(const heif_image*);
|
|
205
|
-
|
|
206
|
-
// Get the sizes of a sensor NUC table (to allocate arrays for the data query).
|
|
207
|
-
LIBHEIF_API
|
|
208
|
-
heif_error heif_image_get_sensor_nuc_info(const heif_image*,
|
|
209
|
-
int nuc_index,
|
|
210
|
-
uint32_t* out_num_component_indices,
|
|
211
|
-
int* out_nuc_is_applied,
|
|
212
|
-
uint32_t* out_image_width,
|
|
213
|
-
uint32_t* out_image_height);
|
|
44
|
+
// --- 'unci' images
|
|
214
45
|
|
|
215
|
-
//
|
|
216
|
-
//
|
|
217
|
-
//
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
46
|
+
// Compression methods for 'unci' (ISO 23001-17) images.
|
|
47
|
+
// This is similar to heif_metadata_compression. We should try to keep the integers compatible, but each enum will just
|
|
48
|
+
// contain the allowed values.
|
|
49
|
+
typedef enum heif_unci_compression
|
|
50
|
+
{
|
|
51
|
+
heif_unci_compression_off = 0,
|
|
52
|
+
//heif_unci_compression_auto = 1,
|
|
53
|
+
//heif_unci_compression_unknown = 2, // only used when reading unknown method from input file
|
|
54
|
+
heif_unci_compression_deflate = 3,
|
|
55
|
+
heif_unci_compression_zlib = 4,
|
|
56
|
+
heif_unci_compression_brotli = 5
|
|
57
|
+
} heif_unci_compression;
|
|
226
58
|
|
|
227
59
|
|
|
228
|
-
//
|
|
60
|
+
// --- 'unci' image parameters
|
|
229
61
|
|
|
230
|
-
|
|
62
|
+
typedef struct heif_unci_image_parameters
|
|
63
|
+
{
|
|
64
|
+
int version;
|
|
231
65
|
|
|
232
|
-
//
|
|
233
|
-
// chroma_location must be in the range 0-6 (see heif_chroma420_sample_location).
|
|
234
|
-
LIBHEIF_API
|
|
235
|
-
heif_error heif_image_set_chroma_location(heif_image*, uint8_t chroma_location);
|
|
66
|
+
// --- version 1
|
|
236
67
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
int heif_image_has_chroma_location(const heif_image*);
|
|
68
|
+
uint32_t image_width;
|
|
69
|
+
uint32_t image_height;
|
|
240
70
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
uint8_t heif_image_get_chroma_location(const heif_image*);
|
|
71
|
+
uint32_t tile_width;
|
|
72
|
+
uint32_t tile_height;
|
|
244
73
|
|
|
74
|
+
heif_unci_compression compression;
|
|
245
75
|
|
|
246
|
-
//
|
|
76
|
+
// TODO: interleave type, padding
|
|
77
|
+
} heif_unci_image_parameters;
|
|
247
78
|
|
|
248
|
-
// heif_unci_compression and heif_unci_image_parameters are defined in heif_uncompressed_types.h.
|
|
249
79
|
|
|
250
80
|
LIBHEIF_API
|
|
251
81
|
heif_unci_image_parameters* heif_unci_image_parameters_alloc(void);
|
|
@@ -265,9 +95,17 @@ void heif_unci_image_parameters_release(heif_unci_image_parameters*);
|
|
|
265
95
|
* However, this will by default disable any compression and any control about
|
|
266
96
|
* the data layout.
|
|
267
97
|
*
|
|
98
|
+
* The function also accepts a direct heif_unci_image_parameters argument and
|
|
99
|
+
* indirectly through encoding_options. At least one of the two must be non-null.
|
|
100
|
+
* If both are non-null and differ, the direct argument takes precedence.
|
|
101
|
+
*
|
|
268
102
|
* @param ctx The file context
|
|
269
|
-
* @param parameters The parameters for the image
|
|
270
|
-
*
|
|
103
|
+
* @param parameters The parameters for the image. May be NULL if
|
|
104
|
+
* heif_encoding_options::unci_parameters is set instead. If both this
|
|
105
|
+
* argument and encoding_options->unci_parameters are non-null and
|
|
106
|
+
* differ, this argument takes precedence.
|
|
107
|
+
* @param encoding_options Optional, may be NULL. If non-null and unci_parameters is set,
|
|
108
|
+
* it may carry the unci parameters in place of the direct argument.
|
|
271
109
|
* @param prototype An image with the same channel configuration as the image data
|
|
272
110
|
* that will be later inserted. The image size need not match this.
|
|
273
111
|
* Must not be NULL.
|
|
@@ -283,136 +121,10 @@ heif_error heif_context_add_empty_unci_image(heif_context* ctx,
|
|
|
283
121
|
const heif_image* prototype,
|
|
284
122
|
heif_image_handle** out_unci_image_handle);
|
|
285
123
|
|
|
286
|
-
//
|
|
287
|
-
|
|
288
|
-
//
|
|
289
|
-
|
|
290
|
-
// Returns the number of components that have pixel data (planes) in this image.
|
|
291
|
-
LIBHEIF_API
|
|
292
|
-
uint32_t heif_image_get_number_of_used_components(const heif_image*);
|
|
293
|
-
|
|
294
|
-
// Fills `out_component_indices` with the valid component indices.
|
|
295
|
-
// The caller must allocate an array of at least heif_image_get_number_of_used_components() elements.
|
|
296
|
-
LIBHEIF_API
|
|
297
|
-
void heif_image_get_used_component_ids(const heif_image*, uint32_t* out_component_ids);
|
|
298
|
-
|
|
299
|
-
LIBHEIF_API
|
|
300
|
-
enum heif_channel heif_image_get_component_channel(const heif_image*, uint32_t component_idx);
|
|
301
|
-
|
|
302
|
-
LIBHEIF_API
|
|
303
|
-
uint32_t heif_image_get_component_width(const heif_image*, uint32_t component_idx);
|
|
304
|
-
|
|
305
|
-
LIBHEIF_API
|
|
306
|
-
uint32_t heif_image_get_component_height(const heif_image*, uint32_t component_idx);
|
|
124
|
+
// Multi-component access functions (heif_image_get/add_component_*,
|
|
125
|
+
// heif_image_handle_get_component_*, heif_image_set_gimi_component_content_id)
|
|
126
|
+
// live in heif_components.h, which is included above.
|
|
307
127
|
|
|
308
|
-
LIBHEIF_API
|
|
309
|
-
int heif_image_get_component_bits_per_pixel(const heif_image*, uint32_t component_idx);
|
|
310
|
-
|
|
311
|
-
LIBHEIF_API
|
|
312
|
-
uint16_t heif_image_get_component_type(const heif_image*, uint32_t component_idx);
|
|
313
|
-
|
|
314
|
-
// Returns the datatype (unsigned/signed integer, floating point, or complex
|
|
315
|
-
// number) of the given component.
|
|
316
|
-
LIBHEIF_API
|
|
317
|
-
heif_component_datatype heif_image_get_component_datatype(const heif_image*, uint32_t component_idx);
|
|
318
|
-
|
|
319
|
-
// TODO
|
|
320
|
-
//LIBHEIF_API
|
|
321
|
-
//heif_error heif_image_get_component_indices_of_interleaved_channel(const heif_image* image, uint32_t* component_indices, uint8_t* nComponents_in_out);
|
|
322
|
-
|
|
323
|
-
LIBHEIF_API
|
|
324
|
-
heif_error heif_image_add_component(heif_image* image,
|
|
325
|
-
int width, int height,
|
|
326
|
-
uint16_t component_type,
|
|
327
|
-
heif_component_datatype datatype,
|
|
328
|
-
int bit_depth,
|
|
329
|
-
uint32_t* out_component_idx);
|
|
330
|
-
|
|
331
|
-
// All component-data getters return the row stride in bytes via out_stride
|
|
332
|
-
// (regardless of the element type). When using a typed pointer for indexing,
|
|
333
|
-
// divide the stride by sizeof(element).
|
|
334
|
-
LIBHEIF_API
|
|
335
|
-
const uint8_t* heif_image_get_component_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
336
|
-
|
|
337
|
-
LIBHEIF_API
|
|
338
|
-
uint8_t* heif_image_get_component(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
339
|
-
|
|
340
|
-
LIBHEIF_API
|
|
341
|
-
const uint16_t* heif_image_get_component_uint16_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
342
|
-
|
|
343
|
-
LIBHEIF_API
|
|
344
|
-
uint16_t* heif_image_get_component_uint16(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
345
|
-
|
|
346
|
-
LIBHEIF_API
|
|
347
|
-
const uint32_t* heif_image_get_component_uint32_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
348
|
-
|
|
349
|
-
LIBHEIF_API
|
|
350
|
-
uint32_t* heif_image_get_component_uint32(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
351
|
-
|
|
352
|
-
LIBHEIF_API
|
|
353
|
-
const uint64_t* heif_image_get_component_uint64_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
354
|
-
|
|
355
|
-
LIBHEIF_API
|
|
356
|
-
uint64_t* heif_image_get_component_uint64(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
357
|
-
|
|
358
|
-
LIBHEIF_API
|
|
359
|
-
const int8_t* heif_image_get_component_int8_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
360
|
-
|
|
361
|
-
LIBHEIF_API
|
|
362
|
-
int8_t* heif_image_get_component_int8(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
363
|
-
|
|
364
|
-
LIBHEIF_API
|
|
365
|
-
const int16_t* heif_image_get_component_int16_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
366
|
-
|
|
367
|
-
LIBHEIF_API
|
|
368
|
-
int16_t* heif_image_get_component_int16(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
369
|
-
|
|
370
|
-
LIBHEIF_API
|
|
371
|
-
const int32_t* heif_image_get_component_int32_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
372
|
-
|
|
373
|
-
LIBHEIF_API
|
|
374
|
-
int32_t* heif_image_get_component_int32(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
375
|
-
|
|
376
|
-
LIBHEIF_API
|
|
377
|
-
const int64_t* heif_image_get_component_int64_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
378
|
-
|
|
379
|
-
LIBHEIF_API
|
|
380
|
-
int64_t* heif_image_get_component_int64(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
381
|
-
|
|
382
|
-
LIBHEIF_API
|
|
383
|
-
const float* heif_image_get_component_float32_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
384
|
-
|
|
385
|
-
LIBHEIF_API
|
|
386
|
-
float* heif_image_get_component_float32(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
387
|
-
|
|
388
|
-
LIBHEIF_API
|
|
389
|
-
const double* heif_image_get_component_float64_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
390
|
-
|
|
391
|
-
LIBHEIF_API
|
|
392
|
-
double* heif_image_get_component_float64(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
393
|
-
|
|
394
|
-
LIBHEIF_API
|
|
395
|
-
const heif_complex32* heif_image_get_component_complex32_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
396
|
-
|
|
397
|
-
LIBHEIF_API
|
|
398
|
-
heif_complex32* heif_image_get_component_complex32(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
399
|
-
|
|
400
|
-
LIBHEIF_API
|
|
401
|
-
const heif_complex64* heif_image_get_component_complex64_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
402
|
-
|
|
403
|
-
LIBHEIF_API
|
|
404
|
-
heif_complex64* heif_image_get_component_complex64(heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
// --- GIMI component content IDs (set before encoding)
|
|
408
|
-
|
|
409
|
-
// Set a GIMI component content ID for a single cmpd component.
|
|
410
|
-
// If the internal array is too small, it will be resized (new entries default to empty strings).
|
|
411
|
-
// These are written into an ItemComponentContentIDProperty box during encoding.
|
|
412
|
-
LIBHEIF_API
|
|
413
|
-
void heif_image_set_gimi_component_content_id(heif_image*,
|
|
414
|
-
uint32_t component_idx,
|
|
415
|
-
const char* content_id);
|
|
416
128
|
|
|
417
129
|
#ifdef __cplusplus
|
|
418
130
|
}
|
|
@@ -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) | (23<<16) | (0<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.
|
|
34
|
+
#define LIBHEIF_VERSION "1.23.0"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/src/build/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.3"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.18.3"
|
|
9
9
|
#define VIPS_MAJOR_VERSION (8)
|
|
10
10
|
#define VIPS_MINOR_VERSION (18)
|
|
11
|
-
#define VIPS_MICRO_VERSION (
|
|
11
|
+
#define VIPS_MICRO_VERSION (3)
|
|
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 (3)
|
|
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: 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\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: 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\nRAW load with libraw: false\nMagick load/save with MagickCore: false (dynamic module: false)"
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
#define GIO_STATIC_COMPILATION 1
|
|
18
18
|
#define GMODULE_STATIC_COMPILATION 1
|
|
19
19
|
#define GI_STATIC_COMPILATION 1
|
|
20
|
-
#define G_INTL_STATIC_COMPILATION 1
|
|
21
|
-
#define FFI_STATIC_BUILD 1
|
|
22
20
|
|
|
23
21
|
/* Specifies that GLib's g_print*() functions wrap the
|
|
24
22
|
* system printf functions. This is useful to know, for example,
|
|
@@ -114,8 +112,8 @@ typedef unsigned int guintptr;
|
|
|
114
112
|
#define G_GUINTPTR_FORMAT "u"
|
|
115
113
|
|
|
116
114
|
#define GLIB_MAJOR_VERSION 2
|
|
117
|
-
#define GLIB_MINOR_VERSION
|
|
118
|
-
#define GLIB_MICRO_VERSION
|
|
115
|
+
#define GLIB_MINOR_VERSION 89
|
|
116
|
+
#define GLIB_MICRO_VERSION 0
|
|
119
117
|
|
|
120
118
|
#define G_OS_UNIX
|
|
121
119
|
#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/libexpat.a
CHANGED
|
Binary file
|
package/lib/libexpat.la
CHANGED
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/libpng.a
CHANGED
|
Binary file
|
package/lib/libpng16.a
CHANGED
|
Binary file
|
package/lib/libresvg.a
CHANGED
|
Binary file
|
package/lib/libsharpyuv.a
CHANGED
|
Binary file
|
package/lib/libtiff.a
CHANGED
|
Binary file
|
package/lib/libuhdr.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/libwebpdecoder.a
CHANGED
|
Binary file
|
package/lib/libwebpdemux.a
CHANGED
|
Binary file
|
package/lib/libwebpmux.a
CHANGED
|
Binary file
|
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.14.1.
|
|
9
|
+
Version: 3.14.1
|
|
10
10
|
Requires:
|
|
11
11
|
Conflicts:
|
|
12
12
|
Libs: -L${libdir} -laom
|
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.89.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
|