@revizly/sharp-libvips-dev 1.0.28 → 1.0.29
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/expat.h +1 -1
- package/include/expat_config.h +3 -3
- package/include/expat_external.h +1 -1
- package/include/freetype2/freetype/config/ftconfig.h +1 -1
- package/include/freetype2/freetype/config/ftheader.h +1 -1
- package/include/freetype2/freetype/config/ftoption.h +1 -1
- package/include/freetype2/freetype/config/ftstdlib.h +1 -1
- package/include/freetype2/freetype/config/integer-types.h +1 -1
- package/include/freetype2/freetype/config/mac-support.h +1 -1
- package/include/freetype2/freetype/config/public-macros.h +1 -1
- package/include/freetype2/freetype/freetype.h +2 -2
- package/include/freetype2/freetype/ftadvanc.h +1 -1
- package/include/freetype2/freetype/ftbbox.h +1 -1
- package/include/freetype2/freetype/ftbdf.h +1 -1
- package/include/freetype2/freetype/ftbitmap.h +1 -1
- package/include/freetype2/freetype/ftbzip2.h +1 -1
- package/include/freetype2/freetype/ftcache.h +1 -1
- package/include/freetype2/freetype/ftcid.h +1 -1
- package/include/freetype2/freetype/ftcolor.h +1 -1
- package/include/freetype2/freetype/ftdriver.h +1 -1
- package/include/freetype2/freetype/fterrdef.h +1 -1
- package/include/freetype2/freetype/fterrors.h +1 -1
- package/include/freetype2/freetype/ftfntfmt.h +1 -1
- package/include/freetype2/freetype/ftgasp.h +1 -1
- package/include/freetype2/freetype/ftglyph.h +1 -1
- package/include/freetype2/freetype/ftgxval.h +1 -1
- package/include/freetype2/freetype/ftgzip.h +1 -1
- package/include/freetype2/freetype/ftimage.h +1 -1
- package/include/freetype2/freetype/ftincrem.h +1 -1
- package/include/freetype2/freetype/ftlcdfil.h +1 -1
- package/include/freetype2/freetype/ftlist.h +1 -1
- package/include/freetype2/freetype/ftlogging.h +1 -1
- package/include/freetype2/freetype/ftlzw.h +1 -1
- package/include/freetype2/freetype/ftmac.h +1 -1
- package/include/freetype2/freetype/ftmm.h +1 -1
- package/include/freetype2/freetype/ftmodapi.h +1 -1
- package/include/freetype2/freetype/ftmoderr.h +1 -1
- package/include/freetype2/freetype/ftotval.h +1 -1
- package/include/freetype2/freetype/ftoutln.h +1 -1
- package/include/freetype2/freetype/ftparams.h +1 -1
- package/include/freetype2/freetype/ftpfr.h +1 -1
- package/include/freetype2/freetype/ftrender.h +1 -1
- package/include/freetype2/freetype/ftsizes.h +1 -1
- package/include/freetype2/freetype/ftsnames.h +1 -1
- package/include/freetype2/freetype/ftstroke.h +1 -1
- package/include/freetype2/freetype/ftsynth.h +1 -1
- package/include/freetype2/freetype/ftsystem.h +1 -1
- package/include/freetype2/freetype/fttrigon.h +1 -1
- package/include/freetype2/freetype/fttypes.h +1 -1
- package/include/freetype2/freetype/ftwinfnt.h +1 -1
- package/include/freetype2/freetype/otsvg.h +1 -1
- package/include/freetype2/freetype/t1tables.h +1 -1
- package/include/freetype2/freetype/ttnameid.h +2 -2
- package/include/freetype2/freetype/tttables.h +1 -1
- package/include/freetype2/freetype/tttags.h +1 -1
- package/include/freetype2/ft2build.h +1 -1
- package/include/glib-2.0/glib/gslice.h +12 -4
- package/include/harfbuzz/hb-ot-shape.h +15 -0
- package/include/harfbuzz/hb-version.h +2 -2
- package/include/libde265/de265-version.h +3 -3
- package/include/libde265/de265.h +41 -40
- package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
- package/include/pango-1.0/pango/pango-features.h +2 -2
- package/include/pango-1.0/pango/pango-script.h +2 -0
- package/include/vips/colour.h +2 -2
- package/include/vips/memory.h +1 -1
- package/include/vips/version.h +4 -4
- package/package.json +1 -1
- package/versions.json +9 -9
- package/include/libde265/en265.h +0 -218
|
@@ -54,6 +54,21 @@ hb_ot_shape_plan_get_feature_tags (hb_shape_plan_t *shape_plan,
|
|
|
54
54
|
unsigned int *tag_count, /* IN/OUT */
|
|
55
55
|
hb_tag_t *tags /* OUT */);
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* HB_OT_SHAPE_BUFFER_FORMAT_SERIAL:
|
|
59
|
+
*
|
|
60
|
+
* The serial number of the current internal buffer format.
|
|
61
|
+
*
|
|
62
|
+
* The serial number will increase when internal #hb_glyph_info_t and
|
|
63
|
+
* #hb_glyph_position_t members change their format.
|
|
64
|
+
*
|
|
65
|
+
* Since: 13.2.0
|
|
66
|
+
*/
|
|
67
|
+
#define HB_OT_SHAPE_BUFFER_FORMAT_SERIAL 1
|
|
68
|
+
|
|
69
|
+
HB_EXTERN unsigned int
|
|
70
|
+
hb_ot_shape_get_buffer_format_serial (void);
|
|
71
|
+
|
|
57
72
|
HB_END_DECLS
|
|
58
73
|
|
|
59
74
|
#endif /* HB_OT_SHAPE_H */
|
|
@@ -47,7 +47,7 @@ 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 2
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
|
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "13.
|
|
63
|
+
#define HB_VERSION_STRING "13.2.1"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
/* de265-version.h
|
|
22
22
|
*
|
|
23
|
-
* This file was generated by
|
|
23
|
+
* This file was generated by cmake when libde265 was built.
|
|
24
24
|
*
|
|
25
25
|
* DO NOT EDIT THIS FILE.
|
|
26
26
|
*/
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
#define LIBDE265_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBDE265_NUMERIC_VERSION
|
|
31
|
+
#define LIBDE265_NUMERIC_VERSION 0x1001800
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBDE265_VERSION "1.0.
|
|
34
|
+
#define LIBDE265_VERSION "1.0.18"
|
|
35
35
|
|
|
36
36
|
#endif
|
package/include/libde265/de265.h
CHANGED
|
@@ -146,7 +146,8 @@ typedef enum {
|
|
|
146
146
|
DE265_WARNING_CHROMA_OF_CURRENT_IMAGE_DOES_NOT_MATCH_SPS=1030,
|
|
147
147
|
DE265_WARNING_BIT_DEPTH_OF_CURRENT_IMAGE_DOES_NOT_MATCH_SPS=1031,
|
|
148
148
|
DE265_WARNING_REFERENCE_IMAGE_CHROMA_FORMAT_DOES_NOT_MATCH=1032,
|
|
149
|
-
DE265_WARNING_INVALID_SLICE_HEADER_INDEX_ACCESS=1033
|
|
149
|
+
DE265_WARNING_INVALID_SLICE_HEADER_INDEX_ACCESS=1033,
|
|
150
|
+
DE265_WARNING_INVALID_TU_BLOCK_SPLIT=1034
|
|
150
151
|
} de265_error;
|
|
151
152
|
|
|
152
153
|
LIBDE265_API const char* de265_get_error_text(de265_error err);
|
|
@@ -165,42 +166,42 @@ LIBDE265_API void de265_set_verbosity(int level);
|
|
|
165
166
|
But you may want to check the chroma format anyway for future compatibility.
|
|
166
167
|
*/
|
|
167
168
|
|
|
168
|
-
struct de265_image;
|
|
169
|
+
typedef struct de265_image de265_image;
|
|
169
170
|
|
|
170
|
-
enum de265_chroma {
|
|
171
|
+
typedef enum de265_chroma {
|
|
171
172
|
de265_chroma_mono=0,
|
|
172
173
|
de265_chroma_420=1,
|
|
173
174
|
de265_chroma_422=2,
|
|
174
175
|
de265_chroma_444=3
|
|
175
|
-
};
|
|
176
|
+
} de265_chroma;
|
|
176
177
|
|
|
177
178
|
typedef int64_t de265_PTS;
|
|
178
179
|
|
|
179
180
|
|
|
180
|
-
LIBDE265_API int de265_get_image_width(const
|
|
181
|
-
LIBDE265_API int de265_get_image_height(const
|
|
182
|
-
LIBDE265_API
|
|
183
|
-
LIBDE265_API int de265_get_bits_per_pixel(const
|
|
181
|
+
LIBDE265_API int de265_get_image_width(const de265_image*,int channel);
|
|
182
|
+
LIBDE265_API int de265_get_image_height(const de265_image*,int channel);
|
|
183
|
+
LIBDE265_API de265_chroma de265_get_chroma_format(const de265_image*);
|
|
184
|
+
LIBDE265_API int de265_get_bits_per_pixel(const de265_image*,int channel);
|
|
184
185
|
/* The |out_stride| is returned as "bytes per line" if a non-NULL parameter is given. */
|
|
185
|
-
LIBDE265_API const uint8_t* de265_get_image_plane(const
|
|
186
|
-
LIBDE265_API void* de265_get_image_plane_user_data(const
|
|
187
|
-
LIBDE265_API de265_PTS de265_get_image_PTS(const
|
|
188
|
-
LIBDE265_API void* de265_get_image_user_data(const
|
|
189
|
-
LIBDE265_API void de265_set_image_user_data(
|
|
186
|
+
LIBDE265_API const uint8_t* de265_get_image_plane(const de265_image*, int channel, int* out_stride);
|
|
187
|
+
LIBDE265_API void* de265_get_image_plane_user_data(const de265_image*, int channel);
|
|
188
|
+
LIBDE265_API de265_PTS de265_get_image_PTS(const de265_image*);
|
|
189
|
+
LIBDE265_API void* de265_get_image_user_data(const de265_image*);
|
|
190
|
+
LIBDE265_API void de265_set_image_user_data(de265_image*, void *user_data);
|
|
190
191
|
|
|
191
192
|
/* Get NAL-header information of this frame. You can pass in NULL pointers if you
|
|
192
193
|
do not need this piece of information.
|
|
193
194
|
*/
|
|
194
|
-
LIBDE265_API void de265_get_image_NAL_header(const
|
|
195
|
+
LIBDE265_API void de265_get_image_NAL_header(const de265_image*,
|
|
195
196
|
int* nal_unit_type,
|
|
196
197
|
const char** nal_unit_name, // textual description of 'nal_unit_type'
|
|
197
198
|
int* nuh_layer_id,
|
|
198
199
|
int* nuh_temporal_id);
|
|
199
200
|
|
|
200
|
-
LIBDE265_API int de265_get_image_full_range_flag(const
|
|
201
|
-
LIBDE265_API int de265_get_image_colour_primaries(const
|
|
202
|
-
LIBDE265_API int de265_get_image_transfer_characteristics(const
|
|
203
|
-
LIBDE265_API int de265_get_image_matrix_coefficients(const
|
|
201
|
+
LIBDE265_API int de265_get_image_full_range_flag(const de265_image*);
|
|
202
|
+
LIBDE265_API int de265_get_image_colour_primaries(const de265_image*);
|
|
203
|
+
LIBDE265_API int de265_get_image_transfer_characteristics(const de265_image*);
|
|
204
|
+
LIBDE265_API int de265_get_image_matrix_coefficients(const de265_image*);
|
|
204
205
|
|
|
205
206
|
|
|
206
207
|
/* === decoder === */
|
|
@@ -298,12 +299,12 @@ LIBDE265_API void de265_reset(de265_decoder_context*);
|
|
|
298
299
|
/* Return next decoded picture, if there is any. If no complete picture has been
|
|
299
300
|
decoded yet, NULL is returned. You should call de265_release_next_picture() to
|
|
300
301
|
advance to the next picture. */
|
|
301
|
-
LIBDE265_API const
|
|
302
|
+
LIBDE265_API const de265_image* de265_peek_next_picture(de265_decoder_context*); // may return NULL
|
|
302
303
|
|
|
303
304
|
/* Get next decoded picture and remove this picture from the decoder output queue.
|
|
304
305
|
Returns NULL is there is no decoded picture ready.
|
|
305
306
|
You can use the picture only until you call any other de265_* function. */
|
|
306
|
-
LIBDE265_API const
|
|
307
|
+
LIBDE265_API const de265_image* de265_get_next_picture(de265_decoder_context*); // may return NULL
|
|
307
308
|
|
|
308
309
|
/* Release the current decoded picture for reuse in the decoder. You should not
|
|
309
310
|
use the data anymore after calling this function. */
|
|
@@ -313,16 +314,16 @@ LIBDE265_API void de265_release_next_picture(de265_decoder_context*);
|
|
|
313
314
|
LIBDE265_API de265_error de265_get_warning(de265_decoder_context*);
|
|
314
315
|
|
|
315
316
|
|
|
316
|
-
enum de265_image_format {
|
|
317
|
+
typedef enum de265_image_format {
|
|
317
318
|
de265_image_format_mono8 = 1,
|
|
318
319
|
de265_image_format_YUV420P8 = 2,
|
|
319
320
|
de265_image_format_YUV422P8 = 3,
|
|
320
321
|
de265_image_format_YUV444P8 = 4
|
|
321
|
-
};
|
|
322
|
+
} de265_image_format;
|
|
322
323
|
|
|
323
|
-
struct de265_image_spec
|
|
324
|
+
typedef struct de265_image_spec
|
|
324
325
|
{
|
|
325
|
-
|
|
326
|
+
de265_image_format format;
|
|
326
327
|
int width;
|
|
327
328
|
int height;
|
|
328
329
|
int alignment;
|
|
@@ -336,27 +337,27 @@ struct de265_image_spec
|
|
|
336
337
|
|
|
337
338
|
int visible_width; // convenience, width - crop_left - crop_right
|
|
338
339
|
int visible_height; // convenience, height - crop_top - crop_bottom
|
|
339
|
-
};
|
|
340
|
+
} de265_image_spec;
|
|
340
341
|
|
|
341
|
-
struct de265_image_allocation
|
|
342
|
+
typedef struct de265_image_allocation
|
|
342
343
|
{
|
|
343
344
|
int (*get_buffer)(de265_decoder_context* ctx, // first parameter deprecated
|
|
344
|
-
|
|
345
|
-
|
|
345
|
+
de265_image_spec* spec,
|
|
346
|
+
de265_image* img,
|
|
346
347
|
void* userdata);
|
|
347
348
|
void (*release_buffer)(de265_decoder_context* ctx, // first parameter deprecated
|
|
348
|
-
|
|
349
|
+
de265_image* img,
|
|
349
350
|
void* userdata);
|
|
350
|
-
};
|
|
351
|
+
} de265_image_allocation;
|
|
351
352
|
|
|
352
353
|
/* The user data pointer will be given to the get_buffer() and release_buffer() functions
|
|
353
354
|
in de265_image_allocation. */
|
|
354
355
|
LIBDE265_API void de265_set_image_allocation_functions(de265_decoder_context*,
|
|
355
|
-
|
|
356
|
+
de265_image_allocation*,
|
|
356
357
|
void* userdata);
|
|
357
|
-
LIBDE265_API const
|
|
358
|
+
LIBDE265_API const de265_image_allocation *de265_get_default_image_allocation_functions(void);
|
|
358
359
|
|
|
359
|
-
LIBDE265_API void de265_set_image_plane(
|
|
360
|
+
LIBDE265_API void de265_set_image_plane(de265_image* img, int cIdx, void* mem, int stride, void *userdata);
|
|
360
361
|
|
|
361
362
|
|
|
362
363
|
/* --- frame dropping API ---
|
|
@@ -388,7 +389,7 @@ LIBDE265_API int de265_change_framerate(de265_decoder_context*,int more_vs_less
|
|
|
388
389
|
|
|
389
390
|
/* --- decoding parameters --- */
|
|
390
391
|
|
|
391
|
-
enum de265_param {
|
|
392
|
+
typedef enum de265_param {
|
|
392
393
|
DE265_DECODER_PARAM_BOOL_SEI_CHECK_HASH=0, // (bool) Perform SEI hash check on decoded pictures.
|
|
393
394
|
DE265_DECODER_PARAM_DUMP_SPS_HEADERS=1, // (int) Dump headers to specified file-descriptor.
|
|
394
395
|
DE265_DECODER_PARAM_DUMP_VPS_HEADERS=2,
|
|
@@ -401,10 +402,10 @@ enum de265_param {
|
|
|
401
402
|
DE265_DECODER_PARAM_DISABLE_SAO=8 // (bool) disable SAO filter
|
|
402
403
|
//DE265_DECODER_PARAM_DISABLE_MC_RESIDUAL_IDCT=9, // (bool) disable decoding of IDCT residuals in MC blocks
|
|
403
404
|
//DE265_DECODER_PARAM_DISABLE_INTRA_RESIDUAL_IDCT=10 // (bool) disable decoding of IDCT residuals in MC blocks
|
|
404
|
-
};
|
|
405
|
+
} de265_param;
|
|
405
406
|
|
|
406
407
|
// sorted such that a large ID includes all optimizations from lower IDs
|
|
407
|
-
enum de265_acceleration {
|
|
408
|
+
typedef enum de265_acceleration {
|
|
408
409
|
de265_acceleration_SCALAR = 0, // only fallback implementation
|
|
409
410
|
de265_acceleration_MMX = 10,
|
|
410
411
|
de265_acceleration_SSE = 20,
|
|
@@ -415,16 +416,16 @@ enum de265_acceleration {
|
|
|
415
416
|
de265_acceleration_ARM = 70,
|
|
416
417
|
de265_acceleration_NEON = 80,
|
|
417
418
|
de265_acceleration_AUTO = 10000
|
|
418
|
-
};
|
|
419
|
+
} de265_acceleration;
|
|
419
420
|
|
|
420
421
|
|
|
421
422
|
/* Set decoding parameters. */
|
|
422
|
-
LIBDE265_API void de265_set_parameter_bool(de265_decoder_context*,
|
|
423
|
+
LIBDE265_API void de265_set_parameter_bool(de265_decoder_context*, de265_param param, int value);
|
|
423
424
|
|
|
424
|
-
LIBDE265_API void de265_set_parameter_int(de265_decoder_context*,
|
|
425
|
+
LIBDE265_API void de265_set_parameter_int(de265_decoder_context*, de265_param param, int value);
|
|
425
426
|
|
|
426
427
|
/* Get decoding parameters. */
|
|
427
|
-
LIBDE265_API int de265_get_parameter_bool(de265_decoder_context*,
|
|
428
|
+
LIBDE265_API int de265_get_parameter_bool(de265_decoder_context*, de265_param param);
|
|
428
429
|
|
|
429
430
|
|
|
430
431
|
|
|
@@ -325,6 +325,8 @@ gboolean pango_script_iter_next (PangoScriptIter *iter);
|
|
|
325
325
|
PANGO_AVAILABLE_IN_1_4
|
|
326
326
|
void pango_script_iter_free (PangoScriptIter *iter);
|
|
327
327
|
|
|
328
|
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoScriptIter, pango_script_iter_free)
|
|
329
|
+
|
|
328
330
|
#include <pango/pango-language.h>
|
|
329
331
|
|
|
330
332
|
PANGO_AVAILABLE_IN_1_4
|
package/include/vips/colour.h
CHANGED
|
@@ -217,8 +217,8 @@ int vips_Oklab2Oklch(VipsImage *in, VipsImage **out, ...)
|
|
|
217
217
|
G_GNUC_NULL_TERMINATED;
|
|
218
218
|
|
|
219
219
|
VIPS_API
|
|
220
|
-
int vips_uhdr2scRGB(VipsImage *in, VipsImage **out, ...)
|
|
221
|
-
G_GNUC_NULL_TERMINATED
|
|
220
|
+
int vips_uhdr2scRGB(VipsImage *in, VipsImage **out, ...)
|
|
221
|
+
G_GNUC_NULL_TERMINATED;
|
|
222
222
|
|
|
223
223
|
VIPS_API
|
|
224
224
|
int vips_profile_load(const char *name, VipsBlob **profile, ...)
|
package/include/vips/memory.h
CHANGED
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.1"
|
|
8
|
+
#define VIPS_VERSION_STRING "8.18.1"
|
|
9
9
|
#define VIPS_MAJOR_VERSION (8)
|
|
10
10
|
#define VIPS_MINOR_VERSION (18)
|
|
11
|
-
#define VIPS_MICRO_VERSION (
|
|
11
|
+
#define VIPS_MICRO_VERSION (1)
|
|
12
12
|
|
|
13
13
|
/* The ABI version, as used for library versioning.
|
|
14
14
|
*/
|
|
15
15
|
#define VIPS_LIBRARY_CURRENT (62)
|
|
16
|
-
#define VIPS_LIBRARY_REVISION (
|
|
16
|
+
#define VIPS_LIBRARY_REVISION (1)
|
|
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.29",
|
|
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,30 +1,30 @@
|
|
|
1
1
|
{
|
|
2
|
-
"aom": "3.13.
|
|
2
|
+
"aom": "3.13.2",
|
|
3
3
|
"archive": "3.8.6",
|
|
4
4
|
"cairo": "1.18.4",
|
|
5
5
|
"cgif": "0.5.2",
|
|
6
|
-
"de265": "1.0.
|
|
6
|
+
"de265": "1.0.18",
|
|
7
7
|
"exif": "0.6.25",
|
|
8
|
-
"expat": "2.7.
|
|
8
|
+
"expat": "2.7.5",
|
|
9
9
|
"ffi": "3.5.2",
|
|
10
10
|
"fontconfig": "2.17.1",
|
|
11
|
-
"freetype": "2.14.
|
|
11
|
+
"freetype": "2.14.3",
|
|
12
12
|
"fribidi": "1.0.16",
|
|
13
|
-
"glib": "2.
|
|
14
|
-
"harfbuzz": "13.
|
|
13
|
+
"glib": "2.88.0",
|
|
14
|
+
"harfbuzz": "13.2.1",
|
|
15
15
|
"heif": "1.21.2",
|
|
16
16
|
"highway": "1.3.0",
|
|
17
17
|
"imagequant": "2.4.1",
|
|
18
18
|
"lcms": "2.18",
|
|
19
19
|
"mozjpeg": "0826579",
|
|
20
|
-
"pango": "1.57.
|
|
20
|
+
"pango": "1.57.1",
|
|
21
21
|
"pixman": "0.46.4",
|
|
22
22
|
"png": "1.6.55",
|
|
23
23
|
"proxy-libintl": "0.5",
|
|
24
|
-
"rsvg": "2.62.
|
|
24
|
+
"rsvg": "2.62.1",
|
|
25
25
|
"tiff": "4.7.1",
|
|
26
26
|
"uhdr": "8cbc983",
|
|
27
|
-
"vips": "8.18.
|
|
27
|
+
"vips": "8.18.1",
|
|
28
28
|
"webp": "1.6.0",
|
|
29
29
|
"xml2": "2.15.2",
|
|
30
30
|
"zlib-ng": "2.3.3"
|
package/include/libde265/en265.h
DELETED
|
@@ -1,218 +0,0 @@
|
|
|
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
|