@img/sharp-libvips-dev-wasm32 1.3.0-rc.5 → 1.3.0-rc.7
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/expat.h +14 -2
- package/include/expat_config.h +6 -3
- package/include/expat_external.h +3 -2
- package/include/glib-2.0/glib/gvarianttype.h +16 -16
- package/include/glib-2.0/glib/gversionmacros.h +13 -0
- 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 +34 -4
- package/include/libexif/exif-utils.h +1 -1
- package/include/libheif/heif_sequences.h +12 -2
- package/include/libheif/heif_uncompressed.h +8 -0
- package/include/libpng16/png.h +7 -7
- package/include/libpng16/pngconf.h +1 -1
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/png.h +7 -7
- package/include/pngconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- 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/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/libexif.la +1 -1
- package/lib/libexpat.a +0 -0
- package/lib/libexpat.la +3 -3
- 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/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/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/package.json +1 -1
- package/versions.json +10 -10
- 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
|
@@ -123,8 +123,10 @@ T Median(T* values, const size_t num_values) {
|
|
|
123
123
|
if (num_values % 2) {
|
|
124
124
|
return values[half];
|
|
125
125
|
}
|
|
126
|
+
// For integers, round rather than truncate.
|
|
127
|
+
const T bias = hwy::IsInteger<T>() ? T{1} : T{0};
|
|
126
128
|
// Even count: return average of middle two.
|
|
127
|
-
return (values[half] + values[half - 1] +
|
|
129
|
+
return (values[half] + values[half - 1] + bias) / 2;
|
|
128
130
|
}
|
|
129
131
|
|
|
130
132
|
// Returns a robust measure of variability.
|
package/include/hwy/timer.h
CHANGED
|
@@ -232,6 +232,50 @@ static HWY_INLINE Ticks Stop() {
|
|
|
232
232
|
|
|
233
233
|
} // namespace timer
|
|
234
234
|
|
|
235
|
+
// Wrapper around Start/Stop that checks whether the CPU supports Stop.
|
|
236
|
+
class Timer {
|
|
237
|
+
public:
|
|
238
|
+
Timer() {
|
|
239
|
+
char cpu100[100];
|
|
240
|
+
have_timer_stop_ = platform::HaveTimerStop(cpu100);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
// Before/After have fences to prevent the measured code 'leaking out'.
|
|
244
|
+
timer::Ticks Before() const { return timer::Start(); }
|
|
245
|
+
timer::Ticks After() const {
|
|
246
|
+
return have_timer_stop_ ? timer::Stop() : timer::Start();
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
private:
|
|
250
|
+
bool have_timer_stop_;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
static inline double Seconds(timer::Ticks ticks) {
|
|
254
|
+
return static_cast<double>(ticks) / platform::InvariantTicksPerSecond();
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
// Measures elapsed time since construction, with automatic reset.
|
|
258
|
+
class Stopwatch {
|
|
259
|
+
public:
|
|
260
|
+
explicit Stopwatch(const Timer& timestamps) : timer_(timestamps) { Reset(); }
|
|
261
|
+
|
|
262
|
+
timer::Ticks Origin() const { return t0_; }
|
|
263
|
+
void Reset() { t0_ = timer_.Before(); }
|
|
264
|
+
|
|
265
|
+
// Also resets the start time to the current time to enable reuse without a
|
|
266
|
+
// second call to the timer.
|
|
267
|
+
timer::Ticks Elapsed() {
|
|
268
|
+
const timer::Ticks t1 = timer_.After();
|
|
269
|
+
const timer::Ticks elapsed = t1 - t0_;
|
|
270
|
+
t0_ = t1;
|
|
271
|
+
return elapsed;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
private:
|
|
275
|
+
const Timer& timer_;
|
|
276
|
+
timer::Ticks t0_;
|
|
277
|
+
};
|
|
278
|
+
|
|
235
279
|
} // namespace hwy
|
|
236
280
|
|
|
237
281
|
#endif // HIGHWAY_HWY_TIMER_H_
|
package/include/lcms2.h
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
//
|
|
24
24
|
//---------------------------------------------------------------------------------
|
|
25
25
|
//
|
|
26
|
-
// Version 2.
|
|
26
|
+
// Version 2.19
|
|
27
27
|
//
|
|
28
28
|
|
|
29
29
|
#ifndef _lcms2_H
|
|
@@ -37,6 +37,13 @@
|
|
|
37
37
|
// "long long" type.
|
|
38
38
|
// #define CMS_DONT_USE_INT64 1
|
|
39
39
|
|
|
40
|
+
// Uncomment this one to enable large file support on file/stream I/O.
|
|
41
|
+
// LittleCMS is still limited by ICC 32-bit offsets and sizes, so the
|
|
42
|
+
// practical maximum remains 4 GiB minus profile overhead. Be careful
|
|
43
|
+
// because such huge profiles have to be loaded into memory and that's
|
|
44
|
+
// usually a very bad idea.
|
|
45
|
+
// #define CMS_LARGE_FILE_SUPPORT 1
|
|
46
|
+
|
|
40
47
|
// Uncomment this if your compiler doesn't work with fast floor function
|
|
41
48
|
// #define CMS_DONT_USE_FAST_FLOOR 1
|
|
42
49
|
|
|
@@ -87,7 +94,7 @@ extern "C" {
|
|
|
87
94
|
#endif
|
|
88
95
|
|
|
89
96
|
// Version/release
|
|
90
|
-
#define LCMS_VERSION
|
|
97
|
+
#define LCMS_VERSION 2190
|
|
91
98
|
|
|
92
99
|
// I will give the chance of redefining basic types for compilers that are not fully C99 compliant
|
|
93
100
|
#ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
|
|
@@ -168,6 +175,9 @@ typedef double cmsFloat64Number;
|
|
|
168
175
|
#ifdef CMS_DONT_USE_INT64
|
|
169
176
|
typedef cmsUInt32Number cmsUInt64Number[2];
|
|
170
177
|
typedef cmsInt32Number cmsInt64Number[2];
|
|
178
|
+
# if defined(CMS_LARGE_FILE_SUPPORT)
|
|
179
|
+
# error "You need int64 for large file support"
|
|
180
|
+
# endif
|
|
171
181
|
#endif
|
|
172
182
|
|
|
173
183
|
// Derivative types
|
|
@@ -504,7 +514,13 @@ typedef enum {
|
|
|
504
514
|
cmsSigLinkClass = 0x6C696E6B, // 'link'
|
|
505
515
|
cmsSigAbstractClass = 0x61627374, // 'abst'
|
|
506
516
|
cmsSigColorSpaceClass = 0x73706163, // 'spac'
|
|
507
|
-
cmsSigNamedColorClass = 0x6e6d636c
|
|
517
|
+
cmsSigNamedColorClass = 0x6e6d636c, // 'nmcl'
|
|
518
|
+
|
|
519
|
+
// iccMAX only
|
|
520
|
+
cmsSigColorEncodingSpaceClass = 0x63656E63, // 'cenc'
|
|
521
|
+
cmsSigMultiplexIdentificationClass = 0x6D696420, // 'mid '
|
|
522
|
+
cmsSigMultiplexLinkClass = 0x6d6c6e6b, // 'mlnk'
|
|
523
|
+
cmsSigMultiplexVisualizationClass = 0x6d766973 // 'mvis'
|
|
508
524
|
|
|
509
525
|
} cmsProfileClassSignature;
|
|
510
526
|
|
|
@@ -1078,8 +1094,12 @@ CMSAPI int CMSEXPORT cmsGetEncodedCMMversion(void);
|
|
|
1078
1094
|
// Support of non-standard functions --------------------------------------------------------------------------------------
|
|
1079
1095
|
|
|
1080
1096
|
CMSAPI int CMSEXPORT cmsstrcasecmp(const char* s1, const char* s2);
|
|
1081
|
-
CMSAPI long int CMSEXPORT cmsfilelength(FILE* f);
|
|
1082
1097
|
|
|
1098
|
+
#ifdef CMS_LARGE_FILE_SUPPORT
|
|
1099
|
+
CMSAPI long long int CMSEXPORT cmsfilelength(FILE* f);
|
|
1100
|
+
#else
|
|
1101
|
+
CMSAPI long int CMSEXPORT cmsfilelength(FILE* f);
|
|
1102
|
+
#endif
|
|
1083
1103
|
|
|
1084
1104
|
// Context handling --------------------------------------------------------------------------------------------------------
|
|
1085
1105
|
|
|
@@ -1502,6 +1522,7 @@ CMSAPI cmsHPROFILE CMSEXPORT cmsCreateProfilePlaceholder(cmsContext Contex
|
|
|
1502
1522
|
CMSAPI cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile);
|
|
1503
1523
|
CMSAPI cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
|
|
1504
1524
|
CMSAPI cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n);
|
|
1525
|
+
CMSAPI cmsBool CMSEXPORT cmsGetTagOffsetAndSize(cmsHPROFILE hProfile, cmsUInt32Number n, cmsUInt32Number* offset, cmsUInt32Number* size);
|
|
1505
1526
|
CMSAPI cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig);
|
|
1506
1527
|
|
|
1507
1528
|
// Read and write pre-formatted data
|
|
@@ -1525,6 +1546,8 @@ CMSAPI void CMSEXPORT cmsGetHeaderAttributes(cmsHPROFILE hProfile,
|
|
|
1525
1546
|
CMSAPI void CMSEXPORT cmsGetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* ProfileID);
|
|
1526
1547
|
CMSAPI cmsBool CMSEXPORT cmsGetHeaderCreationDateTime(cmsHPROFILE hProfile, struct tm *Dest);
|
|
1527
1548
|
CMSAPI cmsUInt32Number CMSEXPORT cmsGetHeaderRenderingIntent(cmsHPROFILE hProfile);
|
|
1549
|
+
CMSAPI cmsUInt32Number CMSEXPORT cmsGetHeaderCMM(cmsHPROFILE hProfile);
|
|
1550
|
+
|
|
1528
1551
|
|
|
1529
1552
|
CMSAPI void CMSEXPORT cmsSetHeaderFlags(cmsHPROFILE hProfile, cmsUInt32Number Flags);
|
|
1530
1553
|
CMSAPI cmsUInt32Number CMSEXPORT cmsGetHeaderManufacturer(cmsHPROFILE hProfile);
|
|
@@ -1867,6 +1890,13 @@ CMSAPI cmsContext CMSEXPORT cmsGetTransformContextID(cmsHTRANSFORM hTransf
|
|
|
1867
1890
|
CMSAPI cmsUInt32Number CMSEXPORT cmsGetTransformInputFormat(cmsHTRANSFORM hTransform);
|
|
1868
1891
|
CMSAPI cmsUInt32Number CMSEXPORT cmsGetTransformOutputFormat(cmsHTRANSFORM hTransform);
|
|
1869
1892
|
|
|
1893
|
+
// Access the optimized pipeline and gamut-check pipeline inside a transform.
|
|
1894
|
+
CMSAPI cmsPipeline* CMSEXPORT cmsGetTransformPipeline(cmsHTRANSFORM hTransform);
|
|
1895
|
+
CMSAPI cmsPipeline* CMSEXPORT cmsGetTransformGamutCheckPipeline(cmsHTRANSFORM hTransform);
|
|
1896
|
+
// Grab colorants
|
|
1897
|
+
CMSAPI cmsNAMEDCOLORLIST* CMSEXPORT cmsGetTransformInputColorants(cmsHTRANSFORM hTransform);
|
|
1898
|
+
CMSAPI cmsNAMEDCOLORLIST* CMSEXPORT cmsGetTransformOutputColorants(cmsHTRANSFORM hTransform);
|
|
1899
|
+
|
|
1870
1900
|
// For backwards compatibility
|
|
1871
1901
|
CMSAPI cmsBool CMSEXPORT cmsChangeBuffersFormat(cmsHTRANSFORM hTransform,
|
|
1872
1902
|
cmsUInt32Number InputFormat,
|
|
@@ -170,7 +170,7 @@ void exif_set_srational (unsigned char *b, ExifByteOrder order,
|
|
|
170
170
|
ExifSRational value);
|
|
171
171
|
|
|
172
172
|
/*! \internal */
|
|
173
|
-
void exif_convert_utf16_to_utf8 (char *out, const unsigned char *in, int
|
|
173
|
+
void exif_convert_utf16_to_utf8 (char *out, unsigned int outlen, const unsigned char *in, unsigned int inlen);
|
|
174
174
|
|
|
175
175
|
/* Please do not use this function outside of the library. */
|
|
176
176
|
|
|
@@ -82,7 +82,12 @@ int heif_context_number_of_sequence_tracks(const heif_context*);
|
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
84
|
* Returns the IDs for each of the tracks stored in the HEIF file.
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
|
+
* The caller MUST allocate `out_track_id_array` with exactly
|
|
87
|
+
* heif_context_number_of_sequence_tracks() entries. The function writes
|
|
88
|
+
* that many IDs unconditionally. Passing a smaller array results in a
|
|
89
|
+
* buffer overflow (undefined behavior); there is no capacity parameter
|
|
90
|
+
* and no truncation.
|
|
86
91
|
*/
|
|
87
92
|
LIBHEIF_API
|
|
88
93
|
void heif_context_get_track_ids(const heif_context* ctx, uint32_t out_track_id_array[]);
|
|
@@ -610,7 +615,12 @@ size_t heif_track_get_number_of_track_reference_types(const heif_track*);
|
|
|
610
615
|
|
|
611
616
|
/**
|
|
612
617
|
* List the reference types used in this track.
|
|
613
|
-
*
|
|
618
|
+
*
|
|
619
|
+
* The caller MUST allocate `out_reference_types` with exactly
|
|
620
|
+
* heif_track_get_number_of_track_reference_types() entries. The function
|
|
621
|
+
* writes that many values unconditionally. Passing a smaller array
|
|
622
|
+
* results in a buffer overflow (undefined behavior); there is no
|
|
623
|
+
* capacity parameter and no truncation.
|
|
614
624
|
*/
|
|
615
625
|
LIBHEIF_API
|
|
616
626
|
void heif_track_get_track_reference_types(const heif_track*, uint32_t out_reference_types[]);
|
|
@@ -311,6 +311,11 @@ int heif_image_get_component_bits_per_pixel(const heif_image*, uint32_t componen
|
|
|
311
311
|
LIBHEIF_API
|
|
312
312
|
uint16_t heif_image_get_component_type(const heif_image*, uint32_t component_idx);
|
|
313
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
|
+
|
|
314
319
|
// TODO
|
|
315
320
|
//LIBHEIF_API
|
|
316
321
|
//heif_error heif_image_get_component_indices_of_interleaved_channel(const heif_image* image, uint32_t* component_indices, uint8_t* nComponents_in_out);
|
|
@@ -323,6 +328,9 @@ heif_error heif_image_add_component(heif_image* image,
|
|
|
323
328
|
int bit_depth,
|
|
324
329
|
uint32_t* out_component_idx);
|
|
325
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).
|
|
326
334
|
LIBHEIF_API
|
|
327
335
|
const uint8_t* heif_image_get_component_readonly(const heif_image*, uint32_t component_idx, size_t* out_stride);
|
|
328
336
|
|
package/include/libpng16/png.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* png.h - header file for PNG reference library
|
|
2
2
|
*
|
|
3
|
-
* libpng version 1.6.
|
|
3
|
+
* libpng version 1.6.58
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2026 Cosmin Truta
|
|
6
6
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
15
15
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
16
16
|
* Glenn Randers-Pehrson
|
|
17
|
-
* libpng versions 1.6.36, December 2018, through 1.6.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.58, April 2026:
|
|
18
18
|
* Cosmin Truta
|
|
19
19
|
* See also "Contributing Authors", below.
|
|
20
20
|
*/
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
* ...
|
|
239
239
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
240
240
|
* ...
|
|
241
|
-
* 1.6.
|
|
241
|
+
* 1.6.58 16 10658 16.so.16.58[.0]
|
|
242
242
|
*
|
|
243
243
|
* Henceforth the source version will match the shared-library major and
|
|
244
244
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
/* Version information for png.h - this should match the version in png.c */
|
|
277
|
-
#define PNG_LIBPNG_VER_STRING "1.6.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.58"
|
|
278
278
|
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
279
279
|
|
|
280
280
|
/* The versions of shared library builds should stay in sync, going forward */
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
286
286
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
287
287
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
288
|
-
#define PNG_LIBPNG_VER_RELEASE
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 58
|
|
289
289
|
|
|
290
290
|
/* This should be zero for a public release, or non-zero for a
|
|
291
291
|
* development version.
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
* From version 1.0.1 it is:
|
|
317
317
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
318
318
|
*/
|
|
319
|
-
#define PNG_LIBPNG_VER
|
|
319
|
+
#define PNG_LIBPNG_VER 10658 /* 1.6.58 */
|
|
320
320
|
|
|
321
321
|
/* Library configuration: these options cannot be changed after
|
|
322
322
|
* the library has been built.
|
|
@@ -426,7 +426,7 @@ extern "C" {
|
|
|
426
426
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
427
427
|
* do not agree upon the version number.
|
|
428
428
|
*/
|
|
429
|
-
typedef char *
|
|
429
|
+
typedef char *png_libpng_version_1_6_58;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
package/include/png.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* png.h - header file for PNG reference library
|
|
2
2
|
*
|
|
3
|
-
* libpng version 1.6.
|
|
3
|
+
* libpng version 1.6.58
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2026 Cosmin Truta
|
|
6
6
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
15
15
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
16
16
|
* Glenn Randers-Pehrson
|
|
17
|
-
* libpng versions 1.6.36, December 2018, through 1.6.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.58, April 2026:
|
|
18
18
|
* Cosmin Truta
|
|
19
19
|
* See also "Contributing Authors", below.
|
|
20
20
|
*/
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
* ...
|
|
239
239
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
240
240
|
* ...
|
|
241
|
-
* 1.6.
|
|
241
|
+
* 1.6.58 16 10658 16.so.16.58[.0]
|
|
242
242
|
*
|
|
243
243
|
* Henceforth the source version will match the shared-library major and
|
|
244
244
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
/* Version information for png.h - this should match the version in png.c */
|
|
277
|
-
#define PNG_LIBPNG_VER_STRING "1.6.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.58"
|
|
278
278
|
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
279
279
|
|
|
280
280
|
/* The versions of shared library builds should stay in sync, going forward */
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
286
286
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
287
287
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
288
|
-
#define PNG_LIBPNG_VER_RELEASE
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 58
|
|
289
289
|
|
|
290
290
|
/* This should be zero for a public release, or non-zero for a
|
|
291
291
|
* development version.
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
* From version 1.0.1 it is:
|
|
317
317
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
318
318
|
*/
|
|
319
|
-
#define PNG_LIBPNG_VER
|
|
319
|
+
#define PNG_LIBPNG_VER 10658 /* 1.6.58 */
|
|
320
320
|
|
|
321
321
|
/* Library configuration: these options cannot be changed after
|
|
322
322
|
* the library has been built.
|
|
@@ -426,7 +426,7 @@ extern "C" {
|
|
|
426
426
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
427
427
|
* do not agree upon the version number.
|
|
428
428
|
*/
|
|
429
|
-
typedef char *
|
|
429
|
+
typedef char *png_libpng_version_1_6_58;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
package/include/pngconf.h
CHANGED
package/include/pnglibconf.h
CHANGED
package/include/tiffconf.h
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* libtiff/tiffconf.h. Generated from tiffconf.h.in by configure. */
|
|
2
1
|
/*
|
|
3
2
|
Configuration defines for installed libtiff.
|
|
4
3
|
This file maintained for backward compatibility. Do not use definitions
|
|
@@ -7,7 +6,7 @@
|
|
|
7
6
|
|
|
8
7
|
/* clang-format off */
|
|
9
8
|
/* clang-format disabled because CMake scripts are very sensitive to the
|
|
10
|
-
* formatting of this file. configure_file variables of type "
|
|
9
|
+
* formatting of this file. configure_file variables of type "" are
|
|
11
10
|
* modified by clang-format and won't be substituted.
|
|
12
11
|
*/
|
|
13
12
|
|
|
@@ -21,28 +20,28 @@
|
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
/* Signed 16-bit type */
|
|
24
|
-
|
|
23
|
+
#define TIFF_INT16_T int16_t
|
|
25
24
|
|
|
26
25
|
/* Signed 32-bit type */
|
|
27
|
-
|
|
26
|
+
#define TIFF_INT32_T int32_t
|
|
28
27
|
|
|
29
28
|
/* Signed 64-bit type */
|
|
30
|
-
|
|
29
|
+
#define TIFF_INT64_T int64_t
|
|
31
30
|
|
|
32
31
|
/* Signed 8-bit type */
|
|
33
|
-
|
|
32
|
+
#define TIFF_INT8_T int8_t
|
|
34
33
|
|
|
35
34
|
/* Unsigned 16-bit type */
|
|
36
|
-
|
|
35
|
+
#define TIFF_UINT16_T uint16_t
|
|
37
36
|
|
|
38
37
|
/* Unsigned 32-bit type */
|
|
39
|
-
|
|
38
|
+
#define TIFF_UINT32_T uint32_t
|
|
40
39
|
|
|
41
40
|
/* Unsigned 64-bit type */
|
|
42
|
-
|
|
41
|
+
#define TIFF_UINT64_T uint64_t
|
|
43
42
|
|
|
44
43
|
/* Unsigned 8-bit type */
|
|
45
|
-
|
|
44
|
+
#define TIFF_UINT8_T uint8_t
|
|
46
45
|
|
|
47
46
|
/* Signed size type */
|
|
48
47
|
#define TIFF_SSIZE_T int32_t
|
package/include/tiffio.h
CHANGED
|
@@ -125,13 +125,13 @@ typedef void *thandle_t; /* client data handle */
|
|
|
125
125
|
*/
|
|
126
126
|
|
|
127
127
|
/* reference white */
|
|
128
|
-
#define D65_X0 (95.
|
|
129
|
-
#define D65_Y0 (100.
|
|
130
|
-
#define D65_Z0 (108.
|
|
128
|
+
#define D65_X0 (95.0470f)
|
|
129
|
+
#define D65_Y0 (100.0f)
|
|
130
|
+
#define D65_Z0 (108.8827f)
|
|
131
131
|
|
|
132
|
-
#define D50_X0 (96.
|
|
133
|
-
#define D50_Y0 (100.
|
|
134
|
-
#define D50_Z0 (82.
|
|
132
|
+
#define D50_X0 (96.4250f)
|
|
133
|
+
#define D50_Y0 (100.0f)
|
|
134
|
+
#define D50_Z0 (82.4680f)
|
|
135
135
|
|
|
136
136
|
/* Structure for holding information about a display device. */
|
|
137
137
|
|
|
@@ -254,7 +254,7 @@ struct _TIFFRGBAImage
|
|
|
254
254
|
* Macros for extracting components from the
|
|
255
255
|
* packed ABGR form returned by TIFFReadRGBAImage.
|
|
256
256
|
*/
|
|
257
|
-
#define TIFFGetR(abgr) ((abgr)&0xff)
|
|
257
|
+
#define TIFFGetR(abgr) ((abgr) & 0xff)
|
|
258
258
|
#define TIFFGetG(abgr) (((abgr) >> 8) & 0xff)
|
|
259
259
|
#define TIFFGetB(abgr) (((abgr) >> 16) & 0xff)
|
|
260
260
|
#define TIFFGetA(abgr) (((abgr) >> 24) & 0xff)
|
|
@@ -269,7 +269,7 @@ struct _TIFFRGBAImage
|
|
|
269
269
|
typedef int (*TIFFInitMethod)(TIFF *, int);
|
|
270
270
|
typedef struct
|
|
271
271
|
{
|
|
272
|
-
char *name;
|
|
272
|
+
const char *name;
|
|
273
273
|
uint16_t scheme;
|
|
274
274
|
TIFFInitMethod init;
|
|
275
275
|
} TIFFCodec;
|
|
@@ -584,6 +584,7 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
584
584
|
tmsize_t cc);
|
|
585
585
|
extern tmsize_t TIFFWriteRawTile(TIFF *tif, uint32_t tile, void *data,
|
|
586
586
|
tmsize_t cc);
|
|
587
|
+
extern uint64_t TIFFGetMaxCompressionRatio(TIFF *tif);
|
|
587
588
|
extern int TIFFDataWidth(
|
|
588
589
|
TIFFDataType); /* table of tag datatype widths within TIFF file. */
|
|
589
590
|
extern void TIFFSetWriteOffset(TIFF *tif, toff_t off);
|
|
@@ -659,7 +660,7 @@ extern int TIFFReadRGBAImageOriented(TIFF *, uint32_t, uint32_t, uint32_t *,
|
|
|
659
660
|
unsigned short field_bit; /* bit in fieldsset bit vector */
|
|
660
661
|
unsigned char field_oktochange; /* if true, can change while writing */
|
|
661
662
|
unsigned char field_passcount; /* if true, pass dir count on set */
|
|
662
|
-
char *field_name;
|
|
663
|
+
const char *field_name; /* ASCII name */
|
|
663
664
|
} TIFFFieldInfo;
|
|
664
665
|
|
|
665
666
|
extern int TIFFMergeFieldInfo(TIFF *, const TIFFFieldInfo[], uint32_t);
|
package/include/tiffvers.h
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/* clang-format disabled because FindTIFF.cmake is very sensitive to the
|
|
7
7
|
* formatting of below line being a single line.
|
|
8
|
-
* Furthermore, configure_file variables of type "
|
|
8
|
+
* Furthermore, configure_file variables of type "" are
|
|
9
9
|
* modified by clang-format and won't be substituted by CMake.
|
|
10
10
|
*/
|
|
11
11
|
#define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.7.1\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc."
|
package/include/ultrahdr_api.h
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Copyright 2024 The Android Open Source Project
|
|
3
3
|
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
5
|
+
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
6
|
+
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
|
7
|
+
* option. This file may not be copied, modified, or distributed
|
|
8
|
+
* except according to those terms.
|
|
15
9
|
*/
|
|
16
10
|
|
|
17
11
|
/** \file ultrahdr_api.h
|
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
|
@@ -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=13
|
|
27
|
+
age=12
|
|
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/libpng.a
CHANGED
|
Binary file
|
package/lib/libpng.la
CHANGED
package/lib/libpng16.a
CHANGED
|
Binary file
|
package/lib/libpng16.la
CHANGED
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
|
|
Binary file
|
package/lib/libwebpdemux.a
CHANGED
|
Binary file
|
package/lib/libwebpmux.a
CHANGED
|
Binary file
|
package/lib/libz.a
CHANGED
|
Binary file
|