@revizly/sharp-libvips-dev 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/cplusplus/VImage.cpp +18 -2
  2. package/cplusplus/vips-operators.cpp +79 -3
  3. package/include/aom/aom.h +1 -1
  4. package/include/aom/aom_codec.h +22 -5
  5. package/include/aom/aom_decoder.h +1 -1
  6. package/include/aom/aom_encoder.h +5 -1
  7. package/include/aom/aom_external_partition.h +1 -1
  8. package/include/aom/aom_frame_buffer.h +1 -1
  9. package/include/aom/aom_image.h +4 -2
  10. package/include/aom/aom_integer.h +1 -9
  11. package/include/aom/aomcx.h +64 -9
  12. package/include/aom/aomdx.h +1 -1
  13. package/include/archive.h +2 -2
  14. package/include/archive_entry.h +7 -1
  15. package/include/cairo/cairo-version.h +1 -1
  16. package/include/expat.h +4 -2
  17. package/include/expat_config.h +3 -6
  18. package/include/freetype2/freetype/config/ftconfig.h +1 -1
  19. package/include/freetype2/freetype/config/ftheader.h +1 -1
  20. package/include/freetype2/freetype/config/ftoption.h +17 -1
  21. package/include/freetype2/freetype/config/ftstdlib.h +1 -1
  22. package/include/freetype2/freetype/config/integer-types.h +1 -1
  23. package/include/freetype2/freetype/config/mac-support.h +1 -1
  24. package/include/freetype2/freetype/config/public-macros.h +1 -1
  25. package/include/freetype2/freetype/freetype.h +35 -83
  26. package/include/freetype2/freetype/ftadvanc.h +1 -1
  27. package/include/freetype2/freetype/ftbbox.h +1 -1
  28. package/include/freetype2/freetype/ftbdf.h +1 -1
  29. package/include/freetype2/freetype/ftbitmap.h +1 -1
  30. package/include/freetype2/freetype/ftbzip2.h +1 -1
  31. package/include/freetype2/freetype/ftcache.h +1 -1
  32. package/include/freetype2/freetype/ftcid.h +1 -1
  33. package/include/freetype2/freetype/ftcolor.h +1 -1
  34. package/include/freetype2/freetype/ftdriver.h +75 -1
  35. package/include/freetype2/freetype/fterrdef.h +1 -1
  36. package/include/freetype2/freetype/fterrors.h +1 -1
  37. package/include/freetype2/freetype/ftfntfmt.h +1 -1
  38. package/include/freetype2/freetype/ftgasp.h +1 -1
  39. package/include/freetype2/freetype/ftglyph.h +1 -1
  40. package/include/freetype2/freetype/ftgxval.h +1 -1
  41. package/include/freetype2/freetype/ftgzip.h +1 -1
  42. package/include/freetype2/freetype/ftimage.h +17 -12
  43. package/include/freetype2/freetype/ftincrem.h +1 -1
  44. package/include/freetype2/freetype/ftlcdfil.h +1 -1
  45. package/include/freetype2/freetype/ftlist.h +1 -1
  46. package/include/freetype2/freetype/ftlzw.h +1 -1
  47. package/include/freetype2/freetype/ftmac.h +1 -1
  48. package/include/freetype2/freetype/ftmm.h +31 -2
  49. package/include/freetype2/freetype/ftmodapi.h +1 -1
  50. package/include/freetype2/freetype/ftmoderr.h +1 -1
  51. package/include/freetype2/freetype/ftotval.h +1 -1
  52. package/include/freetype2/freetype/ftoutln.h +2 -2
  53. package/include/freetype2/freetype/ftparams.h +1 -1
  54. package/include/freetype2/freetype/ftpfr.h +1 -1
  55. package/include/freetype2/freetype/ftrender.h +1 -1
  56. package/include/freetype2/freetype/ftsizes.h +1 -1
  57. package/include/freetype2/freetype/ftsnames.h +1 -1
  58. package/include/freetype2/freetype/ftstroke.h +1 -1
  59. package/include/freetype2/freetype/ftsynth.h +1 -1
  60. package/include/freetype2/freetype/ftsystem.h +1 -1
  61. package/include/freetype2/freetype/fttrigon.h +1 -1
  62. package/include/freetype2/freetype/fttypes.h +1 -1
  63. package/include/freetype2/freetype/ftwinfnt.h +1 -1
  64. package/include/freetype2/freetype/otsvg.h +1 -1
  65. package/include/freetype2/freetype/t1tables.h +1 -59
  66. package/include/freetype2/freetype/ttnameid.h +1 -1
  67. package/include/freetype2/freetype/tttables.h +4 -3
  68. package/include/freetype2/freetype/tttags.h +1 -1
  69. package/include/freetype2/ft2build.h +1 -1
  70. package/include/fribidi/fribidi-config.h +2 -2
  71. package/include/fribidi/fribidi-unicode-version.h +3 -3
  72. package/include/gio-unix-2.0/gio/gunixmounts.h +97 -23
  73. package/include/glib-2.0/gio/gappinfo.h +40 -25
  74. package/include/glib-2.0/gio/gasyncresult.h +1 -1
  75. package/include/glib-2.0/gio/gfile.h +4 -0
  76. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  77. package/include/glib-2.0/gio/gioenums.h +2 -2
  78. package/include/glib-2.0/gio/gresource.h +6 -0
  79. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  80. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  81. package/include/glib-2.0/girepository/gitypes.h +1 -0
  82. package/include/glib-2.0/glib/garray.h +1 -1
  83. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  84. package/include/glib-2.0/glib/gmacros.h +8 -2
  85. package/include/glib-2.0/glib/gmain.h +223 -54
  86. package/include/glib-2.0/glib/gmem.h +3 -0
  87. package/include/glib-2.0/glib/gqsort.h +8 -1
  88. package/include/glib-2.0/glib/grefstring.h +4 -0
  89. package/include/glib-2.0/glib/gstdio.h +65 -0
  90. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  91. package/include/glib-2.0/glib/gstring.h +4 -0
  92. package/include/glib-2.0/glib/gunicode.h +17 -1
  93. package/include/glib-2.0/glib/gvariant.h +50 -13
  94. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  95. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  96. package/include/glib-2.0/glib-unix.h +21 -0
  97. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  98. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  99. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +3 -3
  100. package/include/glib-2.0/gobject/gtype.h +5 -5
  101. package/include/harfbuzz/hb-buffer.h +7 -0
  102. package/include/harfbuzz/hb-common.h +18 -0
  103. package/include/harfbuzz/hb-draw.h +1 -1
  104. package/include/harfbuzz/hb-face.h +36 -0
  105. package/include/harfbuzz/hb-ft.h +3 -0
  106. package/include/harfbuzz/hb-version.h +3 -3
  107. package/include/libheif/heif.h +485 -34
  108. package/include/libheif/heif_items.h +237 -0
  109. package/include/libheif/heif_properties.h +58 -2
  110. package/include/libheif/heif_regions.h +1 -1
  111. package/include/libheif/heif_version.h +2 -2
  112. package/include/libpng16/png.h +13 -13
  113. package/include/libpng16/pngconf.h +4 -4
  114. package/include/libpng16/pnglibconf.h +1 -1
  115. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  116. package/include/librsvg-2.0/librsvg/rsvg.h +32 -1
  117. package/include/libxml2/libxml/parser.h +1 -1
  118. package/include/libxml2/libxml/xmlexports.h +2 -2
  119. package/include/libxml2/libxml/xmlversion.h +13 -13
  120. package/include/pixman-1/pixman-version.h +3 -3
  121. package/include/png.h +13 -13
  122. package/include/pngconf.h +4 -4
  123. package/include/pnglibconf.h +1 -1
  124. package/include/tiffio.h +11 -11
  125. package/include/tiffvers.h +4 -4
  126. package/include/vips/VImage8.h +170 -60
  127. package/include/vips/arithmetic.h +9 -0
  128. package/include/vips/basic.h +8 -4
  129. package/include/vips/buf.h +0 -2
  130. package/include/vips/connection.h +0 -2
  131. package/include/vips/conversion.h +0 -3
  132. package/include/vips/create.h +11 -0
  133. package/include/vips/enumtypes.h +3 -3
  134. package/include/vips/foreign.h +4 -18
  135. package/include/vips/header.h +7 -0
  136. package/include/vips/image.h +7 -2
  137. package/include/vips/interpolate.h +2 -3
  138. package/include/vips/memory.h +19 -1
  139. package/include/vips/operation.h +2 -7
  140. package/include/vips/private.h +7 -0
  141. package/include/vips/util.h +7 -17
  142. package/include/vips/version.h +8 -8
  143. package/include/vips/vips.h +11 -5
  144. package/include/vips/vips8 +19 -12
  145. package/include/zlib.h +3 -3
  146. package/package.json +1 -1
  147. package/versions.json +16 -16
@@ -637,7 +637,7 @@ VImage::new_from_source(VSource source, const char *option_string,
637
637
  }
638
638
 
639
639
  VImage
640
- VImage::new_from_memory_steal(void *data, size_t size,
640
+ VImage::new_from_memory_steal(const void *data, size_t size,
641
641
  int width, int height, int bands, VipsBandFormat format)
642
642
  {
643
643
  VipsImage *image;
@@ -647,7 +647,7 @@ VImage::new_from_memory_steal(void *data, size_t size,
647
647
  throw(VError());
648
648
 
649
649
  g_signal_connect(image, "postclose",
650
- G_CALLBACK(vips_image_free_buffer), data);
650
+ G_CALLBACK(vips_image_free_buffer), const_cast<void *>(data));
651
651
 
652
652
  return VImage(image);
653
653
  }
@@ -1592,4 +1592,20 @@ operator>>=(VImage &a, const std::vector<double> b)
1592
1592
  return a;
1593
1593
  }
1594
1594
 
1595
+ // Compat operations
1596
+
1597
+ VImage
1598
+ VImage::new_from_memory_steal(void *data, size_t size,
1599
+ int width, int height, int bands, VipsBandFormat format)
1600
+ {
1601
+ return new_from_memory_steal(static_cast<const void *>(data), size,
1602
+ width, height, bands, format);
1603
+ }
1604
+
1605
+ void
1606
+ VImage::rawsave_fd(int fd, VOption *options) const
1607
+ {
1608
+ rawsave_target(VTarget::new_to_descriptor(fd), options);
1609
+ }
1610
+
1595
1611
  VIPS_NAMESPACE_END
@@ -255,6 +255,18 @@ VImage::add(VImage right, VOption *options) const
255
255
  return out;
256
256
  }
257
257
 
258
+ VImage
259
+ VImage::addalpha(VOption *options) const
260
+ {
261
+ VImage out;
262
+
263
+ call("addalpha", (options ? options : VImage::option())
264
+ ->set("in", *this)
265
+ ->set("out", &out));
266
+
267
+ return out;
268
+ }
269
+
258
270
  VImage
259
271
  VImage::affine(std::vector<double> matrix, VOption *options) const
260
272
  {
@@ -517,6 +529,18 @@ VImage::cast(VipsBandFormat format, VOption *options) const
517
529
  return out;
518
530
  }
519
531
 
532
+ VImage
533
+ VImage::clamp(VOption *options) const
534
+ {
535
+ VImage out;
536
+
537
+ call("clamp", (options ? options : VImage::option())
538
+ ->set("in", *this)
539
+ ->set("out", &out));
540
+
541
+ return out;
542
+ }
543
+
520
544
  VImage
521
545
  VImage::colourspace(VipsInterpretation space, VOption *options) const
522
546
  {
@@ -2327,6 +2351,19 @@ VImage::max(VOption *options) const
2327
2351
  return out;
2328
2352
  }
2329
2353
 
2354
+ VImage
2355
+ VImage::maxpair(VImage right, VOption *options) const
2356
+ {
2357
+ VImage out;
2358
+
2359
+ call("maxpair", (options ? options : VImage::option())
2360
+ ->set("left", *this)
2361
+ ->set("out", &out)
2362
+ ->set("right", right));
2363
+
2364
+ return out;
2365
+ }
2366
+
2330
2367
  VImage
2331
2368
  VImage::measure(int h, int v, VOption *options) const
2332
2369
  {
@@ -2369,6 +2406,19 @@ VImage::min(VOption *options) const
2369
2406
  return out;
2370
2407
  }
2371
2408
 
2409
+ VImage
2410
+ VImage::minpair(VImage right, VOption *options) const
2411
+ {
2412
+ VImage out;
2413
+
2414
+ call("minpair", (options ? options : VImage::option())
2415
+ ->set("left", *this)
2416
+ ->set("out", &out)
2417
+ ->set("right", right));
2418
+
2419
+ return out;
2420
+ }
2421
+
2372
2422
  VImage
2373
2423
  VImage::morph(VImage mask, VipsOperationMorphology morph, VOption *options) const
2374
2424
  {
@@ -2884,12 +2934,24 @@ VImage::rawsave(const char *filename, VOption *options) const
2884
2934
  ->set("filename", filename));
2885
2935
  }
2886
2936
 
2937
+ VipsBlob *
2938
+ VImage::rawsave_buffer(VOption *options) const
2939
+ {
2940
+ VipsBlob *buffer;
2941
+
2942
+ call("rawsave_buffer", (options ? options : VImage::option())
2943
+ ->set("in", *this)
2944
+ ->set("buffer", &buffer));
2945
+
2946
+ return buffer;
2947
+ }
2948
+
2887
2949
  void
2888
- VImage::rawsave_fd(int fd, VOption *options) const
2950
+ VImage::rawsave_target(VTarget target, VOption *options) const
2889
2951
  {
2890
- call("rawsave_fd", (options ? options : VImage::option())
2952
+ call("rawsave_target", (options ? options : VImage::option())
2891
2953
  ->set("in", *this)
2892
- ->set("fd", fd));
2954
+ ->set("target", target));
2893
2955
  }
2894
2956
 
2895
2957
  VImage
@@ -3161,6 +3223,20 @@ VImage::scharr(VOption *options) const
3161
3223
  return out;
3162
3224
  }
3163
3225
 
3226
+ VImage
3227
+ VImage::sdf(int width, int height, VipsSdfShape shape, VOption *options)
3228
+ {
3229
+ VImage out;
3230
+
3231
+ call("sdf", (options ? options : VImage::option())
3232
+ ->set("out", &out)
3233
+ ->set("width", width)
3234
+ ->set("height", height)
3235
+ ->set("shape", shape));
3236
+
3237
+ return out;
3238
+ }
3239
+
3164
3240
  VImage
3165
3241
  VImage::sequential(VOption *options) const
3166
3242
  {
package/include/aom/aom.h CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -102,7 +102,7 @@ extern "C" {
102
102
 
103
103
  /*!\brief Decorator indicating a function is deprecated */
104
104
  #ifndef AOM_DEPRECATED
105
- #if defined(__GNUC__) && __GNUC__
105
+ #if defined(__GNUC__)
106
106
  #define AOM_DEPRECATED __attribute__((deprecated))
107
107
  #elif defined(_MSC_VER)
108
108
  #define AOM_DEPRECATED
@@ -112,7 +112,7 @@ extern "C" {
112
112
  #endif /* AOM_DEPRECATED */
113
113
 
114
114
  #ifndef AOM_DECLSPEC_DEPRECATED
115
- #if defined(__GNUC__) && __GNUC__
115
+ #if defined(__GNUC__)
116
116
  #define AOM_DECLSPEC_DEPRECATED /**< \copydoc #AOM_DEPRECATED */
117
117
  #elif defined(_MSC_VER)
118
118
  /*!\brief \copydoc #AOM_DEPRECATED */
@@ -132,7 +132,7 @@ extern "C" {
132
132
 
133
133
  /*!\brief Decorator indicating that given struct/union/enum is packed */
134
134
  #ifndef ATTRIBUTE_PACKED
135
- #if defined(__GNUC__) && __GNUC__
135
+ #if defined(__GNUC__)
136
136
  #define ATTRIBUTE_PACKED __attribute__((packed))
137
137
  #elif defined(_MSC_VER)
138
138
  #define ATTRIBUTE_PACKED
@@ -223,10 +223,27 @@ typedef long aom_codec_caps_t;
223
223
  * Certain codec features must be known at initialization time, to allow for
224
224
  * proper memory allocation.
225
225
  *
226
- * The available flags are specified by AOM_CODEC_USE_* defines.
226
+ * The available flags are specified by AOM_CODEC_USE_* defines. The bits are
227
+ * allocated as follows:
228
+ * 0x1 - 0x80: codec (common to decoder and encoder)
229
+ * 0x100 - 0x8000: decoder
230
+ * 0x10000 - 0x800000: encoder
227
231
  */
228
232
  typedef long aom_codec_flags_t;
229
233
 
234
+ // Experimental feature policy
235
+ //
236
+ // New features may be marked as experimental. Experimental features are not
237
+ // part of the stable API and may be modified or removed in a future release.
238
+ // Experimental features are made available only if you pass the
239
+ // AOM_CODEC_USE_EXPERIMENTAL flag to the codec init function.
240
+ //
241
+ // If you use experimental features, you must rebuild your code whenever you
242
+ // update to a new libaom release, and you must be prepared to modify your code
243
+ // when an experimental feature you use is modified or removed. If you are not
244
+ // sure, DO NOT use experimental features.
245
+ #define AOM_CODEC_USE_EXPERIMENTAL 0x1 /**< Enables experimental features */
246
+
230
247
  /*!\brief Time Stamp Type
231
248
  *
232
249
  * An integer, which when multiplied by the stream's time base, provides
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -78,6 +78,8 @@ extern "C" {
78
78
  */
79
79
  #define AOM_CODEC_USE_PSNR 0x10000 /**< Calculate PSNR on each frame */
80
80
  #define AOM_CODEC_USE_HIGHBITDEPTH 0x40000 /**< Use high bitdepth */
81
+ // 0x80000 was used for the experimental feature AOM_CODEC_USE_PRESET during
82
+ // libaom v3.11.0 development but was removed before the release.
81
83
 
82
84
  /*!\brief Generic fixed size buffer structure
83
85
  *
@@ -802,6 +804,8 @@ typedef struct aom_codec_enc_cfg {
802
804
  * S-Frame.
803
805
  *
804
806
  * Otherwise: the considered frame will be made into an S-Frame.
807
+ *
808
+ * \attention Not implemented.
805
809
  */
806
810
  unsigned int sframe_mode;
807
811
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2021, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2021, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -278,7 +278,9 @@ aom_image_t *aom_img_alloc(aom_image_t *img, aom_img_fmt_t fmt,
278
278
  * (2^27).
279
279
  * \param[in] align Alignment, in bytes, of each row in the image
280
280
  * (stride). Must not exceed 65536.
281
- * \param[in] img_data Storage to use for the image
281
+ * \param[in] img_data Storage to use for the image. The storage must
282
+ * outlive the returned image descriptor; it can be
283
+ * disposed of after calling aom_img_free().
282
284
  *
283
285
  * \return Returns a pointer to the initialized image descriptor. If the img
284
286
  * parameter is non-null, the value of the img parameter will be
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -14,14 +14,6 @@
14
14
  /* get ptrdiff_t, size_t, wchar_t, NULL */
15
15
  #include <stddef.h> // IWYU pragma: export
16
16
 
17
- #if defined(_MSC_VER)
18
- #define AOM_FORCE_INLINE __forceinline
19
- #define AOM_INLINE __inline
20
- #else
21
- #define AOM_FORCE_INLINE __inline__ __attribute__((always_inline))
22
- #define AOM_INLINE inline
23
- #endif
24
-
25
17
  /* Assume platforms have the C99 standard integer types. */
26
18
 
27
19
  #if defined(__cplusplus)
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
@@ -1280,8 +1280,7 @@ enum aome_enc_control_id {
1280
1280
  */
1281
1281
  AV1E_SET_SVC_PARAMS = 132,
1282
1282
 
1283
- /*!\brief Codec control function to set reference frame config:
1284
- * the ref_idx and the refresh flags for each buffer slot.
1283
+ /*!\brief Codec control function to set the reference frame config,
1285
1284
  * aom_svc_ref_frame_config_t* parameter
1286
1285
  */
1287
1286
  AV1E_SET_SVC_REF_FRAME_CONFIG = 133,
@@ -1527,9 +1526,10 @@ enum aome_enc_control_id {
1527
1526
  */
1528
1527
  AV1E_SET_BITRATE_ONE_PASS_CBR = 163,
1529
1528
 
1530
- /*!\brief Codec control to set the maximum number of consecutive frame drops
1531
- * allowed for the frame dropper in 1 pass CBR mode, int parameter. Value of
1532
- * zero has no effect.
1529
+ /*!\brief Codec control to set the maximum number of consecutive frame drops,
1530
+ * in units of frames, allowed for the frame dropper in 1 pass
1531
+ * CBR mode, int parameter. Value of zero has no effect.
1532
+ * \deprecated Use the new control AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR.
1533
1533
  */
1534
1534
  AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR = 164,
1535
1535
 
@@ -1539,6 +1539,36 @@ enum aome_enc_control_id {
1539
1539
  */
1540
1540
  AV1E_SET_SVC_FRAME_DROP_MODE = 165,
1541
1541
 
1542
+ /*!\brief Codec control to set auto tiling, unsigned int parameter.
1543
+ * Value of 1 means encoder will set number of tile_columns and tile_rows,
1544
+ * based on the number of threads and resolution. This will override any
1545
+ * settings set via SET_TILE_COLUMNS/ROWS. If the value is 0 no change is
1546
+ * done, the previous setting (if any) for tile_columns/rows is preserved.
1547
+ */
1548
+ AV1E_SET_AUTO_TILES = 166,
1549
+
1550
+ /*!\brief Codec control to get the high motion content flag, used for
1551
+ * screen content realtime (RTC) encoding, int * parameter.
1552
+ * Returns an integer.
1553
+ * 1 means high motion content flag is set to 1, 0 means set to 0.
1554
+ */
1555
+ AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC = 167,
1556
+
1557
+ /*!\brief Codec control to enable post encode frame drop for RTC encoding,
1558
+ * int parameter.
1559
+ *
1560
+ * Value of 1 means encoder will enable post encode drop. Default is 0 (not
1561
+ * enabled). Post encode drop is only allowed when frame dropping is enabled
1562
+ * (aom_codec_enc_cfg::rc_dropframe_thresh > 0).
1563
+ */
1564
+ AV1E_SET_POSTENCODE_DROP_RTC = 168,
1565
+
1566
+ /*!\brief Codec control to set the maximum number of consecutive frame drops,
1567
+ * in units of time (milliseconds), allowed for the frame dropper in 1 pass
1568
+ * CBR mode, int parameter. Value of zero has no effect.
1569
+ */
1570
+ AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR = 169,
1571
+
1542
1572
  // Any new encoder control IDs should be added above.
1543
1573
  // Maximum allowed encoder control ID is 229.
1544
1574
  // No encoder control ID should be added below.
@@ -1690,12 +1720,25 @@ typedef struct aom_svc_params {
1690
1720
 
1691
1721
  /*!brief Parameters for setting ref frame config */
1692
1722
  typedef struct aom_svc_ref_frame_config {
1693
- // 7 references: The index 0 - 6 refers to the references:
1723
+ // Three arrays need to be set: reference[], ref_id[], refresh[].
1724
+ // reference[i]: is a boolean flag to indicate which of the 7 possible
1725
+ // references are used for prediction. Values are 0 (not used as reference)
1726
+ // or 1 (use as reference). The index 0 - 6 refers to the references:
1694
1727
  // last(0), last2(1), last3(2), golden(3), bwdref(4), altref2(5), altref(6).
1728
+ // ref_idx[i]: maps a reference to one of the 8 buffers slots, values are
1729
+ // 0 - 7. The ref_idx for a unused reference (reference[i] = 1, and not used
1730
+ // for refresh, see below) can be set to the ref_idx of the first reference
1731
+ // used (usually LAST).
1732
+ // refresh[i] is a boolean flag to indicate if a buffer is updated/refreshed
1733
+ // with the current encoded frame. Values are 0 (no refresh) or 1 (refresh).
1734
+ // The refresh is done internally by looking at the ref_idx[j], for j = 0 - 6,
1735
+ // so to refresh a buffer slot (i) a reference must be mapped to that slot
1736
+ // (i = ref_idx[j]).
1737
+ // Examples for usage (for RTC encoding) are in: examples/svc_encoder_rtc.c.
1695
1738
  int reference[7]; /**< Reference flag for each of the 7 references. */
1696
- /*! Buffer slot index for each of 7 references indexed above. */
1739
+ /*! Buffer slot index (0..7) for each of 7 references indexed above. */
1697
1740
  int ref_idx[7];
1698
- int refresh[8]; /**< Refresh flag for each of the 8 slots. */
1741
+ int refresh[8]; /**< Refresh flag for each of the 8 buffer slots. */
1699
1742
  } aom_svc_ref_frame_config_t;
1700
1743
 
1701
1744
  /*!brief Parameters for setting ref frame compound prediction */
@@ -2196,6 +2239,18 @@ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_FRAME_DROP_MODE, unsigned int)
2196
2239
  AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR, int)
2197
2240
  #define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2198
2241
 
2242
+ AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_TILES, unsigned int)
2243
+ #define AOM_CTRL_AV1E_SET_AUTO_TILES
2244
+
2245
+ AOM_CTRL_USE_TYPE(AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC, int *)
2246
+ #define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2247
+
2248
+ AOM_CTRL_USE_TYPE(AV1E_SET_POSTENCODE_DROP_RTC, int)
2249
+ #define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2250
+
2251
+ AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR, int)
2252
+ #define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2253
+
2199
2254
  /*!\endcond */
2200
2255
  /*! @} - end defgroup aom_encoder */
2201
2256
  #ifdef __cplusplus
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016, Alliance for Open Media. All rights reserved
2
+ * Copyright (c) 2016, Alliance for Open Media. All rights reserved.
3
3
  *
4
4
  * This source code is subject to the terms of the BSD 2 Clause License and
5
5
  * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
package/include/archive.h CHANGED
@@ -34,7 +34,7 @@
34
34
  * assert that ARCHIVE_VERSION_NUMBER >= 2012108.
35
35
  */
36
36
  /* Note: Compiler will complain if this does not match archive_entry.h! */
37
- #define ARCHIVE_VERSION_NUMBER 3007004
37
+ #define ARCHIVE_VERSION_NUMBER 3007007
38
38
 
39
39
  #include <sys/stat.h>
40
40
  #include <stddef.h> /* for wchar_t */
@@ -155,7 +155,7 @@ __LA_DECL int archive_version_number(void);
155
155
  /*
156
156
  * Textual name/version of the library, useful for version displays.
157
157
  */
158
- #define ARCHIVE_VERSION_ONLY_STRING "3.7.4"
158
+ #define ARCHIVE_VERSION_ONLY_STRING "3.7.7"
159
159
  #define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
160
160
  __LA_DECL const char * archive_version_string(void);
161
161
 
@@ -28,7 +28,7 @@
28
28
  #define ARCHIVE_ENTRY_H_INCLUDED
29
29
 
30
30
  /* Note: Compiler will complain if this does not match archive.h! */
31
- #define ARCHIVE_VERSION_NUMBER 3007004
31
+ #define ARCHIVE_VERSION_NUMBER 3007007
32
32
 
33
33
  /*
34
34
  * Note: archive_entry.h is for use outside of libarchive; the
@@ -259,9 +259,11 @@ __LA_DECL int archive_entry_gid_is_set(struct archive_entry *);
259
259
  __LA_DECL const char *archive_entry_gname(struct archive_entry *);
260
260
  __LA_DECL const char *archive_entry_gname_utf8(struct archive_entry *);
261
261
  __LA_DECL const wchar_t *archive_entry_gname_w(struct archive_entry *);
262
+ __LA_DECL void archive_entry_set_link_to_hardlink(struct archive_entry *);
262
263
  __LA_DECL const char *archive_entry_hardlink(struct archive_entry *);
263
264
  __LA_DECL const char *archive_entry_hardlink_utf8(struct archive_entry *);
264
265
  __LA_DECL const wchar_t *archive_entry_hardlink_w(struct archive_entry *);
266
+ __LA_DECL int archive_entry_hardlink_is_set(struct archive_entry *);
265
267
  __LA_DECL la_int64_t archive_entry_ino(struct archive_entry *);
266
268
  __LA_DECL la_int64_t archive_entry_ino64(struct archive_entry *);
267
269
  __LA_DECL int archive_entry_ino_is_set(struct archive_entry *);
@@ -275,6 +277,7 @@ __LA_DECL const char *archive_entry_pathname_utf8(struct archive_entry *);
275
277
  __LA_DECL const wchar_t *archive_entry_pathname_w(struct archive_entry *);
276
278
  __LA_DECL __LA_MODE_T archive_entry_perm(struct archive_entry *);
277
279
  __LA_DECL int archive_entry_perm_is_set(struct archive_entry *);
280
+ __LA_DECL int archive_entry_rdev_is_set(struct archive_entry *);
278
281
  __LA_DECL dev_t archive_entry_rdev(struct archive_entry *);
279
282
  __LA_DECL dev_t archive_entry_rdevmajor(struct archive_entry *);
280
283
  __LA_DECL dev_t archive_entry_rdevminor(struct archive_entry *);
@@ -283,6 +286,7 @@ __LA_DECL const wchar_t *archive_entry_sourcepath_w(struct archive_entry *);
283
286
  __LA_DECL la_int64_t archive_entry_size(struct archive_entry *);
284
287
  __LA_DECL int archive_entry_size_is_set(struct archive_entry *);
285
288
  __LA_DECL const char *archive_entry_strmode(struct archive_entry *);
289
+ __LA_DECL void archive_entry_set_link_to_symlink(struct archive_entry *);
286
290
  __LA_DECL const char *archive_entry_symlink(struct archive_entry *);
287
291
  __LA_DECL const char *archive_entry_symlink_utf8(struct archive_entry *);
288
292
  __LA_DECL int archive_entry_symlink_type(struct archive_entry *);
@@ -324,6 +328,8 @@ __LA_DECL void archive_entry_set_fflags(struct archive_entry *,
324
328
  /* Note that all recognized tokens are processed, regardless. */
325
329
  __LA_DECL const char *archive_entry_copy_fflags_text(struct archive_entry *,
326
330
  const char *);
331
+ __LA_DECL const char *archive_entry_copy_fflags_text_len(struct archive_entry *,
332
+ const char *, size_t);
327
333
  __LA_DECL const wchar_t *archive_entry_copy_fflags_text_w(struct archive_entry *,
328
334
  const wchar_t *);
329
335
  __LA_DECL void archive_entry_set_gid(struct archive_entry *, la_int64_t);
@@ -3,6 +3,6 @@
3
3
 
4
4
  #define CAIRO_VERSION_MAJOR 1
5
5
  #define CAIRO_VERSION_MINOR 18
6
- #define CAIRO_VERSION_MICRO 0
6
+ #define CAIRO_VERSION_MICRO 2
7
7
 
8
8
  #endif
package/include/expat.h CHANGED
@@ -130,7 +130,9 @@ enum XML_Error {
130
130
  /* Added in 2.3.0. */
131
131
  XML_ERROR_NO_BUFFER,
132
132
  /* Added in 2.4.0. */
133
- XML_ERROR_AMPLIFICATION_LIMIT_BREACH
133
+ XML_ERROR_AMPLIFICATION_LIMIT_BREACH,
134
+ /* Added in 2.6.4. */
135
+ XML_ERROR_NOT_STARTED,
134
136
  };
135
137
 
136
138
  enum XML_Content_Type {
@@ -1066,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1066
1068
  */
1067
1069
  #define XML_MAJOR_VERSION 2
1068
1070
  #define XML_MINOR_VERSION 6
1069
- #define XML_MICRO_VERSION 2
1071
+ #define XML_MICRO_VERSION 4
1070
1072
 
1071
1073
  #ifdef __cplusplus
1072
1074
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.6.2"
86
+ #define PACKAGE_STRING "expat 2.6.4"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.6.2"
95
+ #define PACKAGE_VERSION "2.6.4"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.6.2"
103
+ #define VERSION "2.6.4"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -140,7 +140,4 @@
140
140
  /* Define to `long int' if <sys/types.h> does not define. */
141
141
  /* #undef off_t */
142
142
 
143
- /* Define to `unsigned int' if <sys/types.h> does not define. */
144
- /* #undef size_t */
145
-
146
143
  #endif // ndef EXPAT_CONFIG_H
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * ANSI-specific configuration file (specification only).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Build macros of the FreeType 2 library.
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * User-selectable configuration macros (specification only).
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -757,6 +757,22 @@ FT_BEGIN_HEADER
757
757
  #endif
758
758
 
759
759
 
760
+ /**************************************************************************
761
+ *
762
+ * Option `TT_CONFIG_OPTION_GPOS_KERNING` enables a basic GPOS kerning
763
+ * implementation (for TrueType fonts only). With this defined, FreeType
764
+ * is able to get kerning pair data from the GPOS 'kern' feature as well as
765
+ * legacy 'kern' tables; without this defined, FreeType will only be able
766
+ * to use legacy 'kern' tables.
767
+ *
768
+ * Note that FreeType does not support more advanced GPOS layout features;
769
+ * even the 'kern' feature implemented here doesn't handle more
770
+ * sophisticated kerning variants. Use a higher-level library like
771
+ * HarfBuzz instead for that.
772
+ */
773
+ /* #define TT_CONFIG_OPTION_GPOS_KERNING */
774
+
775
+
760
776
  /*************************************************************************/
761
777
  /*************************************************************************/
762
778
  /**** ****/
@@ -5,7 +5,7 @@
5
5
  * ANSI-specific library and header configuration file (specification
6
6
  * only).
7
7
  *
8
- * Copyright (C) 2002-2023 by
8
+ * Copyright (C) 2002-2024 by
9
9
  * David Turner, Robert Wilhelm, and Werner Lemberg.
10
10
  *
11
11
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * FreeType integer types definitions.
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Mac/OS X support configuration header.
6
6
  *
7
- * Copyright (C) 1996-2023 by
7
+ * Copyright (C) 1996-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Define a set of compiler macros used in public FreeType headers.
6
6
  *
7
- * Copyright (C) 2020-2023 by
7
+ * Copyright (C) 2020-2024 by
8
8
  * David Turner, Robert Wilhelm, and Werner Lemberg.
9
9
  *
10
10
  * This file is part of the FreeType project, and may only be used,