@revizly/sharp-libvips-dev 1.0.1 → 1.0.3
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/expat.h +21 -10
- package/include/expat_config.h +11 -5
- package/include/ffi.h +12 -25
- package/include/freetype2/freetype/config/ftoption.h +1 -1
- package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -2
- package/include/glib-2.0/gio/gapplication.h +6 -0
- package/include/glib-2.0/gio/giotypes.h +0 -1
- package/include/glib-2.0/girepository/giarginfo.h +23 -6
- package/include/glib-2.0/girepository/gibaseinfo.h +44 -18
- package/include/glib-2.0/girepository/gicallableinfo.h +26 -16
- package/include/glib-2.0/girepository/gicallbackinfo.h +17 -2
- package/include/glib-2.0/girepository/giconstantinfo.h +19 -4
- package/include/glib-2.0/girepository/gienuminfo.h +20 -21
- package/include/glib-2.0/girepository/gifieldinfo.h +22 -7
- package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
- package/include/glib-2.0/girepository/gifunctioninfo.h +22 -7
- package/include/glib-2.0/girepository/giinterfaceinfo.h +33 -18
- package/include/glib-2.0/girepository/giobjectinfo.h +41 -26
- package/include/glib-2.0/girepository/gipropertyinfo.h +18 -3
- package/include/glib-2.0/girepository/giregisteredtypeinfo.h +22 -11
- package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
- package/include/glib-2.0/girepository/girepository.h +53 -62
- package/include/glib-2.0/girepository/girffi.h +8 -7
- package/include/glib-2.0/girepository/gisignalinfo.h +18 -3
- package/include/glib-2.0/girepository/gistructinfo.h +26 -11
- package/include/glib-2.0/girepository/gitypeinfo.h +29 -16
- package/include/glib-2.0/girepository/gitypelib.h +9 -13
- package/include/glib-2.0/girepository/gitypes.h +52 -104
- package/include/glib-2.0/girepository/giunioninfo.h +28 -12
- package/include/glib-2.0/girepository/giunresolvedinfo.h +17 -2
- package/include/glib-2.0/girepository/givalueinfo.h +65 -0
- package/include/glib-2.0/girepository/givfuncinfo.h +23 -8
- package/include/glib-2.0/glib/deprecated/gthread.h +9 -5
- package/include/glib-2.0/glib/gbitlock.h +31 -0
- package/include/glib-2.0/glib/gmessages.h +8 -0
- package/include/glib-2.0/glib/gslice.h +2 -0
- package/include/glib-2.0/glib/gstrfuncs.h +24 -18
- package/include/glib-2.0/glib/gthread.h +191 -3
- package/include/glib-2.0/glib-unix.h +7 -1
- package/include/glib-2.0/gobject/genums.h +6 -6
- package/include/glib-2.0/gobject/glib-types.h +11 -0
- package/include/glib-2.0/gobject/gsignal.h +16 -6
- package/include/hwy/aligned_allocator.h +171 -6
- package/include/hwy/base.h +1765 -543
- package/include/hwy/cache_control.h +24 -6
- package/include/hwy/detect_compiler_arch.h +23 -2
- package/include/hwy/detect_targets.h +56 -13
- package/include/hwy/foreach_target.h +24 -0
- package/include/hwy/highway.h +20 -3
- package/include/hwy/ops/arm_neon-inl.h +1086 -667
- package/include/hwy/ops/arm_sve-inl.h +1091 -235
- package/include/hwy/ops/emu128-inl.h +271 -196
- package/include/hwy/ops/generic_ops-inl.h +2270 -399
- package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
- package/include/hwy/ops/rvv-inl.h +1043 -311
- package/include/hwy/ops/scalar-inl.h +189 -159
- package/include/hwy/ops/set_macros-inl.h +66 -6
- package/include/hwy/ops/shared-inl.h +175 -56
- package/include/hwy/ops/wasm_128-inl.h +153 -136
- package/include/hwy/ops/x86_128-inl.h +1647 -646
- package/include/hwy/ops/x86_256-inl.h +1003 -370
- package/include/hwy/ops/x86_512-inl.h +948 -353
- package/include/hwy/per_target.h +4 -0
- package/include/hwy/profiler.h +648 -0
- package/include/hwy/robust_statistics.h +2 -2
- package/include/hwy/targets.h +18 -11
- package/include/hwy/timer.h +11 -0
- package/include/libde265/de265-version.h +36 -0
- package/include/libde265/de265.h +453 -0
- package/include/libde265/en265.h +218 -0
- package/include/libpng16/png.h +32 -29
- package/include/libpng16/pngconf.h +2 -2
- package/include/libpng16/pnglibconf.h +7 -2
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/librsvg-2.0/librsvg/rsvg.h +7 -1
- package/include/libxml2/libxml/parser.h +16 -7
- package/include/libxml2/libxml/xmlIO.h +0 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/pango-1.0/pango/pango-features.h +3 -3
- package/include/pango-1.0/pango/pango-fontmap.h +7 -0
- package/include/pixman-1/pixman-version.h +2 -2
- package/include/png.h +32 -29
- package/include/pngconf.h +2 -2
- package/include/pnglibconf.h +7 -2
- package/include/vips/connection.h +9 -3
- package/include/vips/util.h +0 -9
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +12 -11
- package/include/glib-2.0/glib/gwin32.h +0 -142
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* H.265 video codec.
|
|
3
|
+
* Copyright (c) 2013-2014 struktur AG, Dirk Farin <farin@struktur.de>
|
|
4
|
+
*
|
|
5
|
+
* Authors: Dirk Farin <farin@struktur.de>
|
|
6
|
+
*
|
|
7
|
+
* This file is part of libde265.
|
|
8
|
+
*
|
|
9
|
+
* libde265 is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU Lesser General Public License as
|
|
11
|
+
* published by the Free Software Foundation, either version 3 of
|
|
12
|
+
* the License, or (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* libde265 is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU Lesser General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
20
|
+
* along with libde265. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
#ifndef EN265_H
|
|
24
|
+
#define EN265_H
|
|
25
|
+
|
|
26
|
+
#ifdef __cplusplus
|
|
27
|
+
extern "C" {
|
|
28
|
+
#endif
|
|
29
|
+
|
|
30
|
+
#include <libde265/de265.h>
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// ========== encoder context ==========
|
|
34
|
+
|
|
35
|
+
struct en265_encoder_context; // private structure
|
|
36
|
+
|
|
37
|
+
/* Get a new encoder context. Must be freed with en265_free_encoder(). */
|
|
38
|
+
LIBDE265_API en265_encoder_context* en265_new_encoder(void);
|
|
39
|
+
|
|
40
|
+
/* Free encoder context. May only be called once on a context. */
|
|
41
|
+
LIBDE265_API de265_error en265_free_encoder(en265_encoder_context*);
|
|
42
|
+
|
|
43
|
+
/* The alloc_userdata pointer will be given to the release_func(). */
|
|
44
|
+
/*
|
|
45
|
+
LIBDE265_API void en265_set_image_release_function(en265_encoder_context*,
|
|
46
|
+
void (*release_func)(en265_encoder_context*,
|
|
47
|
+
struct de265_image*,
|
|
48
|
+
void* userdata),
|
|
49
|
+
void* alloc_userdata);
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
// ========== encoder parameters ==========
|
|
53
|
+
|
|
54
|
+
LIBDE265_API de265_error en265_set_parameter_bool(en265_encoder_context*,
|
|
55
|
+
const char* parametername,int value);
|
|
56
|
+
LIBDE265_API de265_error en265_set_parameter_int(en265_encoder_context*,
|
|
57
|
+
const char* parametername,int value);
|
|
58
|
+
LIBDE265_API de265_error en265_set_parameter_string(en265_encoder_context*,
|
|
59
|
+
const char* parametername,const char* value);
|
|
60
|
+
LIBDE265_API de265_error en265_set_parameter_choice(en265_encoder_context*,
|
|
61
|
+
const char* parametername,const char* value);
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
LIBDE265_API const char** en265_list_parameters(en265_encoder_context*);
|
|
65
|
+
|
|
66
|
+
enum en265_parameter_type {
|
|
67
|
+
en265_parameter_bool,
|
|
68
|
+
en265_parameter_int,
|
|
69
|
+
en265_parameter_string,
|
|
70
|
+
en265_parameter_choice
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
LIBDE265_API enum en265_parameter_type en265_get_parameter_type(en265_encoder_context*,
|
|
74
|
+
const char* parametername);
|
|
75
|
+
|
|
76
|
+
LIBDE265_API const char** en265_list_parameter_choices(en265_encoder_context*,
|
|
77
|
+
const char* parametername);
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// --- convenience functions for command-line parameters ---
|
|
81
|
+
|
|
82
|
+
LIBDE265_API de265_error en265_parse_command_line_parameters(en265_encoder_context*,
|
|
83
|
+
int* argc, char** argv);
|
|
84
|
+
LIBDE265_API void en265_show_parameters(en265_encoder_context*);
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
// ========== encoding loop ==========
|
|
89
|
+
|
|
90
|
+
LIBDE265_API de265_error en265_start_encoder(en265_encoder_context*, int number_of_threads);
|
|
91
|
+
|
|
92
|
+
// If we have provided our own memory release function, no image memory will be allocated.
|
|
93
|
+
LIBDE265_API struct de265_image* en265_allocate_image(en265_encoder_context*,
|
|
94
|
+
int width, int height,
|
|
95
|
+
enum de265_chroma chroma,
|
|
96
|
+
de265_PTS pts, void* image_userdata);
|
|
97
|
+
|
|
98
|
+
LIBDE265_API void* de265_alloc_image_plane(struct de265_image* img, int cIdx,
|
|
99
|
+
void* inputdata, int inputstride, void *userdata);
|
|
100
|
+
LIBDE265_API void de265_free_image_plane(struct de265_image* img, int cIdx);
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
// Request a specification of the image memory layout for an image of the specified dimensions.
|
|
104
|
+
LIBDE265_API void en265_get_image_spec(en265_encoder_context*,
|
|
105
|
+
int width, int height, enum de265_chroma chroma,
|
|
106
|
+
struct de265_image_spec* out_spec);
|
|
107
|
+
|
|
108
|
+
// Image memory layout specification for an image returned by en265_allocate_image().
|
|
109
|
+
/* TODO: do we need this?
|
|
110
|
+
LIBDE265_API void de265_get_image_spec_from_image(de265_image* img, struct de265_image_spec* spec);
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
LIBDE265_API de265_error en265_push_image(en265_encoder_context*,
|
|
115
|
+
struct de265_image*); // non-blocking
|
|
116
|
+
|
|
117
|
+
LIBDE265_API de265_error en265_push_eof(en265_encoder_context*);
|
|
118
|
+
|
|
119
|
+
// block when there are more than max_input_images in the input queue
|
|
120
|
+
LIBDE265_API de265_error en265_block_on_input_queue_length(en265_encoder_context*,
|
|
121
|
+
int max_pending_images,
|
|
122
|
+
int timeout_ms);
|
|
123
|
+
|
|
124
|
+
LIBDE265_API de265_error en265_trim_input_queue(en265_encoder_context*, int max_pending_images);
|
|
125
|
+
|
|
126
|
+
LIBDE265_API int en265_current_input_queue_length(en265_encoder_context*);
|
|
127
|
+
|
|
128
|
+
// Run encoder in main thread. Only use this when not using background threads.
|
|
129
|
+
LIBDE265_API de265_error en265_encode(en265_encoder_context*);
|
|
130
|
+
|
|
131
|
+
enum en265_encoder_state
|
|
132
|
+
{
|
|
133
|
+
EN265_STATE_IDLE,
|
|
134
|
+
EN265_STATE_WAITING_FOR_INPUT,
|
|
135
|
+
EN265_STATE_WORKING,
|
|
136
|
+
EN265_STATE_OUTPUT_QUEUE_FULL,
|
|
137
|
+
EN265_STATE_EOS
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
LIBDE265_API enum en265_encoder_state en265_get_encoder_state(en265_encoder_context*);
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
enum en265_packet_content_type {
|
|
145
|
+
EN265_PACKET_VPS,
|
|
146
|
+
EN265_PACKET_SPS,
|
|
147
|
+
EN265_PACKET_PPS,
|
|
148
|
+
EN265_PACKET_SEI,
|
|
149
|
+
EN265_PACKET_SLICE,
|
|
150
|
+
EN265_PACKET_SKIPPED_IMAGE
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
enum en265_nal_unit_type {
|
|
155
|
+
EN265_NUT_TRAIL_N = 0,
|
|
156
|
+
EN265_NUT_TRAIL_R = 1,
|
|
157
|
+
EN265_NUT_TSA_N = 2,
|
|
158
|
+
EN265_NUT_TSA_R = 3,
|
|
159
|
+
EN265_NUT_STSA_N = 4,
|
|
160
|
+
EN265_NUT_STSA_R = 5,
|
|
161
|
+
EN265_NUT_RADL_N = 6,
|
|
162
|
+
EN265_NUT_RADL_R = 7,
|
|
163
|
+
EN265_NUT_RASL_N = 8,
|
|
164
|
+
EN265_NUT_RASL_R = 9,
|
|
165
|
+
EN265_NUT_BLA_W_LP = 16,
|
|
166
|
+
EN265_NUT_BLA_W_RADL= 17,
|
|
167
|
+
EN265_NUT_BLA_N_LP = 18,
|
|
168
|
+
EN265_NUT_IDR_W_RADL= 19,
|
|
169
|
+
EN265_NUT_IDR_N_LP = 20,
|
|
170
|
+
EN265_NUT_CRA = 21,
|
|
171
|
+
EN265_NUT_VPS = 32,
|
|
172
|
+
EN265_NUT_SPS = 33,
|
|
173
|
+
EN265_NUT_PPS = 34,
|
|
174
|
+
EN265_NUT_AUD = 35,
|
|
175
|
+
EN265_NUT_EOS = 36,
|
|
176
|
+
EN265_NUT_EOB = 37,
|
|
177
|
+
EN265_NUT_FD = 38,
|
|
178
|
+
EN265_NUT_PREFIX_SEI = 39,
|
|
179
|
+
EN265_NUT_SUFFIX_SEI = 40
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
struct en265_packet
|
|
184
|
+
{
|
|
185
|
+
int version; // currently: 1
|
|
186
|
+
|
|
187
|
+
const uint8_t* data;
|
|
188
|
+
int length;
|
|
189
|
+
|
|
190
|
+
int frame_number;
|
|
191
|
+
|
|
192
|
+
enum en265_packet_content_type content_type;
|
|
193
|
+
char complete_picture : 1;
|
|
194
|
+
char final_slice : 1;
|
|
195
|
+
char dependent_slice : 1;
|
|
196
|
+
|
|
197
|
+
enum en265_nal_unit_type nal_unit_type;
|
|
198
|
+
unsigned char nuh_layer_id;
|
|
199
|
+
unsigned char nuh_temporal_id;
|
|
200
|
+
|
|
201
|
+
en265_encoder_context* encoder_context;
|
|
202
|
+
|
|
203
|
+
const struct de265_image* input_image;
|
|
204
|
+
const struct de265_image* reconstruction;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
// timeout_ms - timeout in milliseconds. 0 - no timeout, -1 - block forever
|
|
208
|
+
LIBDE265_API struct en265_packet* en265_get_packet(en265_encoder_context*, int timeout_ms);
|
|
209
|
+
LIBDE265_API void en265_free_packet(en265_encoder_context*, struct en265_packet*);
|
|
210
|
+
|
|
211
|
+
LIBDE265_API int en265_number_of_queued_packets(en265_encoder_context*);
|
|
212
|
+
|
|
213
|
+
#ifdef __cplusplus
|
|
214
|
+
}
|
|
215
|
+
#endif
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
#endif
|
package/include/libpng16/png.h
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/* png.h - header file for PNG reference library
|
|
3
3
|
*
|
|
4
|
-
* libpng version 1.6.
|
|
4
|
+
* libpng version 1.6.43
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2018-
|
|
6
|
+
* Copyright (c) 2018-2024 Cosmin Truta
|
|
7
7
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
8
8
|
* Copyright (c) 1996-1997 Andreas Dilger
|
|
9
9
|
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
16
16
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
17
17
|
* Glenn Randers-Pehrson
|
|
18
|
-
* libpng versions 1.6.36, December 2018, through 1.6.
|
|
18
|
+
* libpng versions 1.6.36, December 2018, through 1.6.43, February 2024:
|
|
19
19
|
* Cosmin Truta
|
|
20
20
|
* See also "Contributing Authors", below.
|
|
21
21
|
*/
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* PNG Reference Library License version 2
|
|
28
28
|
* ---------------------------------------
|
|
29
29
|
*
|
|
30
|
-
* * Copyright (c) 1995-
|
|
31
|
-
* * Copyright (c) 2018-
|
|
30
|
+
* * Copyright (c) 1995-2024 The PNG Reference Library Authors.
|
|
31
|
+
* * Copyright (c) 2018-2024 Cosmin Truta.
|
|
32
32
|
* * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
|
33
33
|
* * Copyright (c) 1996-1997 Andreas Dilger.
|
|
34
34
|
* * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
* ...
|
|
240
240
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
241
241
|
* ...
|
|
242
|
-
* 1.6.
|
|
242
|
+
* 1.6.43 16 10643 16.so.16.43[.0]
|
|
243
243
|
*
|
|
244
244
|
* Henceforth the source version will match the shared-library major and
|
|
245
245
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -255,9 +255,6 @@
|
|
|
255
255
|
* to the info_ptr or png_ptr members through png.h, and the compiled
|
|
256
256
|
* application is loaded with a different version of the library.
|
|
257
257
|
*
|
|
258
|
-
* DLLNUM will change each time there are forward or backward changes
|
|
259
|
-
* in binary compatibility (e.g., when a new feature is added).
|
|
260
|
-
*
|
|
261
258
|
* See libpng.txt or libpng.3 for more information. The PNG specification
|
|
262
259
|
* is available as a W3C Recommendation and as an ISO/IEC Standard; see
|
|
263
260
|
* <https://www.w3.org/TR/2003/REC-PNG-20031110/>
|
|
@@ -278,19 +275,21 @@
|
|
|
278
275
|
*/
|
|
279
276
|
|
|
280
277
|
/* Version information for png.h - this should match the version in png.c */
|
|
281
|
-
#define PNG_LIBPNG_VER_STRING "1.6.
|
|
282
|
-
#define PNG_HEADER_VERSION_STRING " libpng version
|
|
278
|
+
#define PNG_LIBPNG_VER_STRING "1.6.43"
|
|
279
|
+
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
283
280
|
|
|
284
|
-
|
|
285
|
-
#define
|
|
281
|
+
/* The versions of shared library builds should stay in sync, going forward */
|
|
282
|
+
#define PNG_LIBPNG_VER_SHAREDLIB 16
|
|
283
|
+
#define PNG_LIBPNG_VER_SONUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
|
|
284
|
+
#define PNG_LIBPNG_VER_DLLNUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
|
|
286
285
|
|
|
287
286
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
288
287
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
289
288
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
290
|
-
#define PNG_LIBPNG_VER_RELEASE
|
|
289
|
+
#define PNG_LIBPNG_VER_RELEASE 43
|
|
291
290
|
|
|
292
291
|
/* This should be zero for a public release, or non-zero for a
|
|
293
|
-
* development version.
|
|
292
|
+
* development version.
|
|
294
293
|
*/
|
|
295
294
|
#define PNG_LIBPNG_VER_BUILD 0
|
|
296
295
|
|
|
@@ -318,7 +317,7 @@
|
|
|
318
317
|
* From version 1.0.1 it is:
|
|
319
318
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
320
319
|
*/
|
|
321
|
-
#define PNG_LIBPNG_VER
|
|
320
|
+
#define PNG_LIBPNG_VER 10643 /* 1.6.43 */
|
|
322
321
|
|
|
323
322
|
/* Library configuration: these options cannot be changed after
|
|
324
323
|
* the library has been built.
|
|
@@ -428,7 +427,7 @@ extern "C" {
|
|
|
428
427
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
429
428
|
* do not agree upon the version number.
|
|
430
429
|
*/
|
|
431
|
-
typedef char*
|
|
430
|
+
typedef char* png_libpng_version_1_6_43;
|
|
432
431
|
|
|
433
432
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
434
433
|
*
|
|
@@ -849,7 +848,7 @@ PNG_FUNCTION(void, (PNGCAPI *png_longjmp_ptr), PNGARG((jmp_buf, int)), typedef);
|
|
|
849
848
|
#define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 /* read only */
|
|
850
849
|
/* Added to libpng-1.5.4 */
|
|
851
850
|
#define PNG_TRANSFORM_EXPAND_16 0x4000 /* read only */
|
|
852
|
-
#if
|
|
851
|
+
#if ~0U > 0xffffU /* or else this might break on a 16-bit machine */
|
|
853
852
|
#define PNG_TRANSFORM_SCALE_16 0x8000 /* read only */
|
|
854
853
|
#endif
|
|
855
854
|
|
|
@@ -908,15 +907,15 @@ PNG_EXPORT(2, void, png_set_sig_bytes, (png_structrp png_ptr, int num_bytes));
|
|
|
908
907
|
/* Check sig[start] through sig[start + num_to_check - 1] to see if it's a
|
|
909
908
|
* PNG file. Returns zero if the supplied bytes match the 8-byte PNG
|
|
910
909
|
* signature, and non-zero otherwise. Having num_to_check == 0 or
|
|
911
|
-
* start > 7 will always fail (
|
|
910
|
+
* start > 7 will always fail (i.e. return non-zero).
|
|
912
911
|
*/
|
|
913
912
|
PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
|
|
914
913
|
size_t num_to_check));
|
|
915
914
|
|
|
916
915
|
/* Simple signature checking function. This is the same as calling
|
|
917
|
-
* png_check_sig(sig, n) :=
|
|
916
|
+
* png_check_sig(sig, n) := (png_sig_cmp(sig, 0, n) == 0).
|
|
918
917
|
*/
|
|
919
|
-
#define png_check_sig(sig, n)
|
|
918
|
+
#define png_check_sig(sig, n) (png_sig_cmp((sig), 0, (n)) == 0) /* DEPRECATED */
|
|
920
919
|
|
|
921
920
|
/* Allocate and initialize png_ptr struct for reading, and any other memory. */
|
|
922
921
|
PNG_EXPORTA(4, png_structp, png_create_read_struct,
|
|
@@ -1730,12 +1729,9 @@ PNG_EXPORT(97, void, png_free, (png_const_structrp png_ptr, png_voidp ptr));
|
|
|
1730
1729
|
PNG_EXPORT(98, void, png_free_data, (png_const_structrp png_ptr,
|
|
1731
1730
|
png_inforp info_ptr, png_uint_32 free_me, int num));
|
|
1732
1731
|
|
|
1733
|
-
/* Reassign responsibility for freeing existing data, whether allocated
|
|
1732
|
+
/* Reassign the responsibility for freeing existing data, whether allocated
|
|
1734
1733
|
* by libpng or by the application; this works on the png_info structure passed
|
|
1735
|
-
* in,
|
|
1736
|
-
*
|
|
1737
|
-
* It is unlikely that this function works correctly as of 1.6.0 and using it
|
|
1738
|
-
* may result either in memory leaks or double free of allocated data.
|
|
1734
|
+
* in, without changing the state for other png_info structures.
|
|
1739
1735
|
*/
|
|
1740
1736
|
PNG_EXPORT(99, void, png_data_freer, (png_const_structrp png_ptr,
|
|
1741
1737
|
png_inforp info_ptr, int freer, png_uint_32 mask));
|
|
@@ -3207,11 +3203,18 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
|
|
|
3207
3203
|
#ifdef PNG_MIPS_MSA_API_SUPPORTED
|
|
3208
3204
|
# define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
|
|
3209
3205
|
#endif
|
|
3210
|
-
#
|
|
3206
|
+
#ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
|
|
3207
|
+
# define PNG_IGNORE_ADLER32 8 /* SOFTWARE: disable Adler32 check on IDAT */
|
|
3208
|
+
#endif
|
|
3211
3209
|
#ifdef PNG_POWERPC_VSX_API_SUPPORTED
|
|
3212
|
-
# define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions
|
|
3210
|
+
# define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions
|
|
3211
|
+
* supported */
|
|
3213
3212
|
#endif
|
|
3214
|
-
#
|
|
3213
|
+
#ifdef PNG_MIPS_MMI_API_SUPPORTED
|
|
3214
|
+
# define PNG_MIPS_MMI 12 /* HARDWARE: MIPS MMI SIMD instructions supported */
|
|
3215
|
+
#endif
|
|
3216
|
+
|
|
3217
|
+
#define PNG_OPTION_NEXT 14 /* Next option - numbers must be even */
|
|
3215
3218
|
|
|
3216
3219
|
/* Return values: NOTE: there are four values and 'off' is *not* zero */
|
|
3217
3220
|
#define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/* pngconf.h - machine-configurable file for libpng
|
|
3
3
|
*
|
|
4
|
-
* libpng version 1.6.
|
|
4
|
+
* libpng version 1.6.43
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2018-
|
|
6
|
+
* Copyright (c) 2018-2024 Cosmin Truta
|
|
7
7
|
* Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
|
|
8
8
|
* Copyright (c) 1996-1997 Andreas Dilger
|
|
9
9
|
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* pnglibconf.h - library build configuration */
|
|
2
2
|
|
|
3
|
-
/* libpng version 1.6.
|
|
3
|
+
/* libpng version 1.6.43 */
|
|
4
4
|
|
|
5
|
-
/* Copyright (c) 2018-
|
|
5
|
+
/* Copyright (c) 2018-2024 Cosmin Truta */
|
|
6
6
|
/* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
|
|
7
7
|
|
|
8
8
|
/* This code is released under the libpng license. */
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
#define PNG_COLORSPACE_SUPPORTED
|
|
28
28
|
#define PNG_CONSOLE_IO_SUPPORTED
|
|
29
29
|
#define PNG_CONVERT_tIME_SUPPORTED
|
|
30
|
+
/*#undef PNG_DISABLE_ADLER32_CHECK_SUPPORTED*/
|
|
30
31
|
#define PNG_EASY_ACCESS_SUPPORTED
|
|
31
32
|
/*#undef PNG_ERROR_NUMBERS_SUPPORTED*/
|
|
32
33
|
#define PNG_ERROR_TEXT_SUPPORTED
|
|
@@ -41,6 +42,10 @@
|
|
|
41
42
|
#define PNG_INCH_CONVERSIONS_SUPPORTED
|
|
42
43
|
#define PNG_INFO_IMAGE_SUPPORTED
|
|
43
44
|
#define PNG_IO_STATE_SUPPORTED
|
|
45
|
+
/*#undef PNG_MIPS_MMI_API_SUPPORTED*/
|
|
46
|
+
/*#undef PNG_MIPS_MMI_CHECK_SUPPORTED*/
|
|
47
|
+
/*#undef PNG_MIPS_MSA_API_SUPPORTED*/
|
|
48
|
+
/*#undef PNG_MIPS_MSA_CHECK_SUPPORTED*/
|
|
44
49
|
#define PNG_MNG_FEATURES_SUPPORTED
|
|
45
50
|
#define PNG_POINTER_INDEXING_SUPPORTED
|
|
46
51
|
/*#undef PNG_POWERPC_VSX_API_SUPPORTED*/
|
|
@@ -798,9 +798,14 @@ gboolean rsvg_handle_has_sub (RsvgHandle *handle, const char *id);
|
|
|
798
798
|
* @RSVG_UNIT_MM: millimeters
|
|
799
799
|
* @RSVG_UNIT_PT: points, or 1/72 inch
|
|
800
800
|
* @RSVG_UNIT_PC: picas, or 1/6 inch (12 points)
|
|
801
|
+
* @RSVG_UNIT_CH: advance measure of a '0' character (depends on the text orientation)
|
|
801
802
|
*
|
|
802
803
|
* Units for the `RsvgLength` struct. These have the same meaning as [CSS length
|
|
803
804
|
* units](https://www.w3.org/TR/CSS21/syndata.html#length-units).
|
|
805
|
+
*
|
|
806
|
+
* If you test for the values of this enum, please note that librsvg may add other units in the future
|
|
807
|
+
* as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with
|
|
808
|
+
* a `default` case in a `switch()` statement).
|
|
804
809
|
*/
|
|
805
810
|
typedef enum {
|
|
806
811
|
RSVG_UNIT_PERCENT,
|
|
@@ -811,7 +816,8 @@ typedef enum {
|
|
|
811
816
|
RSVG_UNIT_CM,
|
|
812
817
|
RSVG_UNIT_MM,
|
|
813
818
|
RSVG_UNIT_PT,
|
|
814
|
-
RSVG_UNIT_PC
|
|
819
|
+
RSVG_UNIT_PC,
|
|
820
|
+
RSVG_UNIT_CH,
|
|
815
821
|
} RsvgUnit;
|
|
816
822
|
|
|
817
823
|
/**
|
|
@@ -859,10 +859,16 @@ XMLPUBFUN const char *const *__xmlParserVersion(void);
|
|
|
859
859
|
XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
|
|
860
860
|
XML_OP(xmlParserDebugEntities, int, XML_DEPRECATED) \
|
|
861
861
|
XML_OP(xmlPedanticParserDefaultValue, int, XML_DEPRECATED) \
|
|
862
|
-
XML_OP(xmlSubstituteEntitiesDefaultValue, int, XML_DEPRECATED)
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
862
|
+
XML_OP(xmlSubstituteEntitiesDefaultValue, int, XML_DEPRECATED)
|
|
863
|
+
|
|
864
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
|
865
|
+
#define XML_GLOBALS_PARSER_OUTPUT \
|
|
866
|
+
XML_OP(xmlIndentTreeOutput, int, XML_NO_ATTR) \
|
|
867
|
+
XML_OP(xmlTreeIndentString, const char *, XML_NO_ATTR) \
|
|
868
|
+
XML_OP(xmlSaveNoEmptyTags, int, XML_NO_ATTR)
|
|
869
|
+
#else
|
|
870
|
+
#define XML_GLOBALS_PARSER_OUTPUT
|
|
871
|
+
#endif
|
|
866
872
|
|
|
867
873
|
#ifdef LIBXML_SAX1_ENABLED
|
|
868
874
|
#define XML_GLOBALS_PARSER_SAX1 \
|
|
@@ -873,6 +879,7 @@ XMLPUBFUN const char *const *__xmlParserVersion(void);
|
|
|
873
879
|
|
|
874
880
|
#define XML_GLOBALS_PARSER \
|
|
875
881
|
XML_GLOBALS_PARSER_CORE \
|
|
882
|
+
XML_GLOBALS_PARSER_OUTPUT \
|
|
876
883
|
XML_GLOBALS_PARSER_SAX1
|
|
877
884
|
|
|
878
885
|
#define XML_OP XML_DECLARE_GLOBAL
|
|
@@ -896,9 +903,11 @@ XML_GLOBALS_PARSER
|
|
|
896
903
|
XML_GLOBAL_MACRO(xmlPedanticParserDefaultValue)
|
|
897
904
|
#define xmlSubstituteEntitiesDefaultValue \
|
|
898
905
|
XML_GLOBAL_MACRO(xmlSubstituteEntitiesDefaultValue)
|
|
899
|
-
#
|
|
900
|
-
|
|
901
|
-
|
|
906
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
|
907
|
+
#define xmlIndentTreeOutput XML_GLOBAL_MACRO(xmlIndentTreeOutput)
|
|
908
|
+
#define xmlTreeIndentString XML_GLOBAL_MACRO(xmlTreeIndentString)
|
|
909
|
+
#define xmlSaveNoEmptyTags XML_GLOBAL_MACRO(xmlSaveNoEmptyTags)
|
|
910
|
+
#endif
|
|
902
911
|
#endif
|
|
903
912
|
/** DOC_ENABLE */
|
|
904
913
|
|
|
@@ -218,7 +218,6 @@ XMLPUBFUN xmlParserInputBufferPtr
|
|
|
218
218
|
XMLPUBFUN xmlParserInputBufferPtr
|
|
219
219
|
xmlParserInputBufferCreateMem (const char *mem, int size,
|
|
220
220
|
xmlCharEncoding enc);
|
|
221
|
-
XML_DEPRECATED
|
|
222
221
|
XMLPUBFUN xmlParserInputBufferPtr
|
|
223
222
|
xmlParserInputBufferCreateStatic (const char *mem, int size,
|
|
224
223
|
xmlCharEncoding enc);
|
|
@@ -29,21 +29,21 @@ XMLPUBFUN void xmlCheckVersion(int version);
|
|
|
29
29
|
*
|
|
30
30
|
* the version string like "1.2.3"
|
|
31
31
|
*/
|
|
32
|
-
#define LIBXML_DOTTED_VERSION "2.12.
|
|
32
|
+
#define LIBXML_DOTTED_VERSION "2.12.6"
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* LIBXML_VERSION:
|
|
36
36
|
*
|
|
37
37
|
* the version number: 1.2.3 value is 10203
|
|
38
38
|
*/
|
|
39
|
-
#define LIBXML_VERSION
|
|
39
|
+
#define LIBXML_VERSION 21206
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* LIBXML_VERSION_STRING:
|
|
43
43
|
*
|
|
44
44
|
* the version number string, 1.2.3 value is "10203"
|
|
45
45
|
*/
|
|
46
|
-
#define LIBXML_VERSION_STRING "
|
|
46
|
+
#define LIBXML_VERSION_STRING "21206"
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* LIBXML_VERSION_EXTRA:
|
|
@@ -58,7 +58,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
|
|
|
58
58
|
* Macro to check that the libxml version in use is compatible with
|
|
59
59
|
* the version the software has been compiled against
|
|
60
60
|
*/
|
|
61
|
-
#define LIBXML_TEST_VERSION xmlCheckVersion(
|
|
61
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(21206);
|
|
62
62
|
|
|
63
63
|
#ifndef VMS
|
|
64
64
|
#if 0
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
#define PANGO_FEATURES_H
|
|
3
3
|
|
|
4
4
|
#define PANGO_VERSION_MAJOR 1
|
|
5
|
-
#define PANGO_VERSION_MINOR
|
|
6
|
-
#define PANGO_VERSION_MICRO
|
|
5
|
+
#define PANGO_VERSION_MINOR 52
|
|
6
|
+
#define PANGO_VERSION_MICRO 1
|
|
7
7
|
|
|
8
|
-
#define PANGO_VERSION_STRING "1.
|
|
8
|
+
#define PANGO_VERSION_STRING "1.52.1"
|
|
9
9
|
|
|
10
10
|
#endif /* PANGO_FEATURES_H */
|
|
@@ -124,6 +124,13 @@ PANGO_AVAILABLE_IN_1_46
|
|
|
124
124
|
PangoFontFamily *pango_font_map_get_family (PangoFontMap *fontmap,
|
|
125
125
|
const char *name);
|
|
126
126
|
|
|
127
|
+
PANGO_AVAILABLE_IN_1_52
|
|
128
|
+
PangoFont * pango_font_map_reload_font (PangoFontMap *fontmap,
|
|
129
|
+
PangoFont *font,
|
|
130
|
+
double scale,
|
|
131
|
+
PangoContext *context,
|
|
132
|
+
const char *variations);
|
|
133
|
+
|
|
127
134
|
|
|
128
135
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref)
|
|
129
136
|
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
|
|
34
34
|
#define PIXMAN_VERSION_MAJOR 0
|
|
35
35
|
#define PIXMAN_VERSION_MINOR 43
|
|
36
|
-
#define PIXMAN_VERSION_MICRO
|
|
36
|
+
#define PIXMAN_VERSION_MICRO 4
|
|
37
37
|
|
|
38
|
-
#define PIXMAN_VERSION_STRING "0.43.
|
|
38
|
+
#define PIXMAN_VERSION_STRING "0.43.4"
|
|
39
39
|
|
|
40
40
|
#define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
|
|
41
41
|
((major) * 10000) \
|