@revizly/sharp-libvips-dev 1.0.28 → 1.0.30

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.
Files changed (77) hide show
  1. package/include/expat.h +1 -1
  2. package/include/expat_config.h +3 -3
  3. package/include/expat_external.h +1 -1
  4. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  5. package/include/freetype2/freetype/config/ftheader.h +1 -1
  6. package/include/freetype2/freetype/config/ftoption.h +1 -1
  7. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  8. package/include/freetype2/freetype/config/integer-types.h +1 -1
  9. package/include/freetype2/freetype/config/mac-support.h +1 -1
  10. package/include/freetype2/freetype/config/public-macros.h +1 -1
  11. package/include/freetype2/freetype/freetype.h +2 -2
  12. package/include/freetype2/freetype/ftadvanc.h +1 -1
  13. package/include/freetype2/freetype/ftbbox.h +1 -1
  14. package/include/freetype2/freetype/ftbdf.h +1 -1
  15. package/include/freetype2/freetype/ftbitmap.h +1 -1
  16. package/include/freetype2/freetype/ftbzip2.h +1 -1
  17. package/include/freetype2/freetype/ftcache.h +1 -1
  18. package/include/freetype2/freetype/ftcid.h +1 -1
  19. package/include/freetype2/freetype/ftcolor.h +1 -1
  20. package/include/freetype2/freetype/ftdriver.h +1 -1
  21. package/include/freetype2/freetype/fterrdef.h +1 -1
  22. package/include/freetype2/freetype/fterrors.h +1 -1
  23. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  24. package/include/freetype2/freetype/ftgasp.h +1 -1
  25. package/include/freetype2/freetype/ftglyph.h +1 -1
  26. package/include/freetype2/freetype/ftgxval.h +1 -1
  27. package/include/freetype2/freetype/ftgzip.h +1 -1
  28. package/include/freetype2/freetype/ftimage.h +1 -1
  29. package/include/freetype2/freetype/ftincrem.h +1 -1
  30. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  31. package/include/freetype2/freetype/ftlist.h +1 -1
  32. package/include/freetype2/freetype/ftlogging.h +1 -1
  33. package/include/freetype2/freetype/ftlzw.h +1 -1
  34. package/include/freetype2/freetype/ftmac.h +1 -1
  35. package/include/freetype2/freetype/ftmm.h +1 -1
  36. package/include/freetype2/freetype/ftmodapi.h +1 -1
  37. package/include/freetype2/freetype/ftmoderr.h +1 -1
  38. package/include/freetype2/freetype/ftotval.h +1 -1
  39. package/include/freetype2/freetype/ftoutln.h +1 -1
  40. package/include/freetype2/freetype/ftparams.h +1 -1
  41. package/include/freetype2/freetype/ftpfr.h +1 -1
  42. package/include/freetype2/freetype/ftrender.h +1 -1
  43. package/include/freetype2/freetype/ftsizes.h +1 -1
  44. package/include/freetype2/freetype/ftsnames.h +1 -1
  45. package/include/freetype2/freetype/ftstroke.h +1 -1
  46. package/include/freetype2/freetype/ftsynth.h +1 -1
  47. package/include/freetype2/freetype/ftsystem.h +1 -1
  48. package/include/freetype2/freetype/fttrigon.h +1 -1
  49. package/include/freetype2/freetype/fttypes.h +1 -1
  50. package/include/freetype2/freetype/ftwinfnt.h +1 -1
  51. package/include/freetype2/freetype/otsvg.h +1 -1
  52. package/include/freetype2/freetype/t1tables.h +1 -1
  53. package/include/freetype2/freetype/ttnameid.h +2 -2
  54. package/include/freetype2/freetype/tttables.h +1 -1
  55. package/include/freetype2/freetype/tttags.h +1 -1
  56. package/include/freetype2/ft2build.h +1 -1
  57. package/include/glib-2.0/glib/gslice.h +12 -4
  58. package/include/harfbuzz/hb-features.h +7 -0
  59. package/include/harfbuzz/hb-ot-shape.h +15 -0
  60. package/include/harfbuzz/hb-version.h +3 -3
  61. package/include/libde265/de265-version.h +3 -3
  62. package/include/libde265/de265.h +41 -40
  63. package/include/libpng16/png.h +8 -8
  64. package/include/libpng16/pngconf.h +1 -1
  65. package/include/libpng16/pnglibconf.h +1 -1
  66. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  67. package/include/pango-1.0/pango/pango-features.h +2 -2
  68. package/include/pango-1.0/pango/pango-script.h +2 -0
  69. package/include/png.h +8 -8
  70. package/include/pngconf.h +1 -1
  71. package/include/pnglibconf.h +1 -1
  72. package/include/vips/colour.h +2 -2
  73. package/include/vips/memory.h +1 -1
  74. package/include/vips/version.h +4 -4
  75. package/package.json +1 -1
  76. package/versions.json +11 -11
  77. package/include/libde265/en265.h +0 -218
@@ -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