@img/sharp-libvips-dev-wasm32 1.0.4 → 1.0.6

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 (135) hide show
  1. package/include/aom/aom.h +1 -1
  2. package/include/aom/aom_codec.h +4 -4
  3. package/include/aom/aom_decoder.h +2 -2
  4. package/include/aom/aom_encoder.h +10 -2
  5. package/include/aom/aom_external_partition.h +1 -1
  6. package/include/aom/aom_frame_buffer.h +1 -1
  7. package/include/aom/aom_image.h +25 -13
  8. package/include/aom/aom_integer.h +4 -12
  9. package/include/aom/aomcx.h +62 -4
  10. package/include/aom/aomdx.h +6 -3
  11. package/include/cgif.h +3 -0
  12. package/include/expat.h +1 -1
  13. package/include/expat_config.h +3 -6
  14. package/include/glib-2.0/gio/gappinfo.h +40 -25
  15. package/include/glib-2.0/gio/gasyncresult.h +1 -1
  16. package/include/glib-2.0/gio/gconverter.h +5 -0
  17. package/include/glib-2.0/gio/gdbusintrospection.h +1 -1
  18. package/include/glib-2.0/gio/gfile.h +16 -0
  19. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  20. package/include/glib-2.0/gio/gioenums.h +2 -2
  21. package/include/glib-2.0/gio/gsettings.h +8 -0
  22. package/include/glib-2.0/gio/gvfs.h +2 -2
  23. package/include/glib-2.0/glib/gbookmarkfile.h +1 -1
  24. package/include/glib-2.0/glib/giochannel.h +2 -2
  25. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  26. package/include/glib-2.0/glib/gmacros.h +12 -5
  27. package/include/glib-2.0/glib/gmain.h +145 -54
  28. package/include/glib-2.0/glib/gqsort.h +8 -1
  29. package/include/glib-2.0/glib/gstrfuncs.h +0 -12
  30. package/include/glib-2.0/glib/gstring.h +4 -0
  31. package/include/glib-2.0/glib/gstrvbuilder.h +3 -0
  32. package/include/glib-2.0/glib/gunicode.h +1 -1
  33. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  34. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  35. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  36. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +2 -2
  37. package/include/glib-2.0/gobject/gtype.h +6 -6
  38. package/include/hwy/abort.h +28 -0
  39. package/include/hwy/aligned_allocator.h +48 -1
  40. package/include/hwy/base.h +235 -34
  41. package/include/hwy/detect_compiler_arch.h +84 -10
  42. package/include/hwy/detect_targets.h +95 -29
  43. package/include/hwy/foreach_target.h +12 -1
  44. package/include/hwy/highway.h +205 -50
  45. package/include/hwy/ops/arm_neon-inl.h +841 -99
  46. package/include/hwy/ops/arm_sve-inl.h +413 -141
  47. package/include/hwy/ops/emu128-inl.h +373 -360
  48. package/include/hwy/ops/generic_ops-inl.h +804 -401
  49. package/include/hwy/ops/inside-inl.h +691 -0
  50. package/include/hwy/ops/ppc_vsx-inl.h +456 -166
  51. package/include/hwy/ops/rvv-inl.h +537 -249
  52. package/include/hwy/ops/scalar-inl.h +169 -79
  53. package/include/hwy/ops/set_macros-inl.h +106 -18
  54. package/include/hwy/ops/shared-inl.h +23 -0
  55. package/include/hwy/ops/wasm_128-inl.h +130 -108
  56. package/include/hwy/ops/x86_128-inl.h +1892 -577
  57. package/include/hwy/ops/x86_256-inl.h +625 -184
  58. package/include/hwy/ops/x86_512-inl.h +733 -131
  59. package/include/hwy/targets.h +22 -21
  60. package/include/hwy/timer-inl.h +3 -3
  61. package/include/hwy/timer.h +5 -1
  62. package/include/libheif/heif.h +170 -15
  63. package/include/libheif/heif_items.h +237 -0
  64. package/include/libheif/heif_properties.h +38 -2
  65. package/include/libheif/heif_regions.h +1 -1
  66. package/include/libheif/heif_version.h +2 -2
  67. package/include/resvg.h +16 -9
  68. package/include/tiffio.h +11 -11
  69. package/include/tiffvers.h +4 -4
  70. package/include/vips/util.h +1 -2
  71. package/include/vips/version.h +4 -4
  72. package/include/webp/decode.h +58 -56
  73. package/include/webp/demux.h +25 -21
  74. package/include/webp/encode.h +44 -39
  75. package/include/webp/mux.h +76 -15
  76. package/include/webp/mux_types.h +2 -1
  77. package/include/webp/sharpyuv/sharpyuv.h +77 -8
  78. package/include/webp/types.h +29 -8
  79. package/include/zconf.h +1 -1
  80. package/include/zlib.h +12 -12
  81. package/lib/glib-2.0/include/glibconfig.h +2 -2
  82. package/lib/libaom.a +0 -0
  83. package/lib/libcgif.a +0 -0
  84. package/lib/libexif.a +0 -0
  85. package/lib/libexpat.a +0 -0
  86. package/lib/libexpat.la +1 -1
  87. package/lib/libffi.a +0 -0
  88. package/lib/libgio-2.0.a +0 -0
  89. package/lib/libglib-2.0.a +0 -0
  90. package/lib/libgmodule-2.0.a +0 -0
  91. package/lib/libgobject-2.0.a +0 -0
  92. package/lib/libgthread-2.0.a +0 -0
  93. package/lib/libheif.a +0 -0
  94. package/lib/libhwy.a +0 -0
  95. package/lib/libimagequant.a +0 -0
  96. package/lib/libjpeg.a +0 -0
  97. package/lib/liblcms2.a +0 -0
  98. package/lib/libresvg.a +0 -0
  99. package/lib/libsharpyuv.a +0 -0
  100. package/lib/libsharpyuv.la +4 -4
  101. package/lib/libspng.a +0 -0
  102. package/lib/libtiff.a +0 -0
  103. package/lib/libtiff.la +3 -3
  104. package/lib/libvips-cpp.a +0 -0
  105. package/lib/libvips.a +0 -0
  106. package/lib/libwebp.a +0 -0
  107. package/lib/libwebp.la +2 -2
  108. package/lib/libwebpdemux.a +0 -0
  109. package/lib/libwebpdemux.la +2 -2
  110. package/lib/libwebpmux.a +0 -0
  111. package/lib/libwebpmux.la +4 -4
  112. package/lib/libz.a +0 -0
  113. package/lib/pkgconfig/aom.pc +2 -2
  114. package/lib/pkgconfig/cgif.pc +1 -1
  115. package/lib/pkgconfig/expat.pc +1 -1
  116. package/lib/pkgconfig/gio-2.0.pc +1 -1
  117. package/lib/pkgconfig/glib-2.0.pc +1 -1
  118. package/lib/pkgconfig/gmodule-2.0.pc +1 -1
  119. package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  120. package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  121. package/lib/pkgconfig/gobject-2.0.pc +1 -1
  122. package/lib/pkgconfig/gthread-2.0.pc +1 -1
  123. package/lib/pkgconfig/libheif.pc +1 -10
  124. package/lib/pkgconfig/libhwy.pc +1 -1
  125. package/lib/pkgconfig/libjpeg.pc +3 -3
  126. package/lib/pkgconfig/libsharpyuv.pc +1 -1
  127. package/lib/pkgconfig/libtiff-4.pc +1 -1
  128. package/lib/pkgconfig/libwebp.pc +1 -1
  129. package/lib/pkgconfig/libwebpdemux.pc +1 -1
  130. package/lib/pkgconfig/libwebpmux.pc +1 -1
  131. package/lib/pkgconfig/vips-cpp.pc +1 -1
  132. package/lib/pkgconfig/vips.pc +1 -1
  133. package/lib/pkgconfig/zlib.pc +1 -1
  134. package/package.json +1 -1
  135. package/versions.json +12 -12
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
@@ -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
@@ -30,7 +30,7 @@
30
30
  extern "C" {
31
31
  #endif
32
32
 
33
- #include "aom/aom_codec.h"
33
+ #include "aom/aom_codec.h" // IWYU pragma: export
34
34
  #include "aom/aom_frame_buffer.h"
35
35
 
36
36
  /*!\brief Current ABI version number
@@ -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
@@ -30,7 +30,7 @@
30
30
  extern "C" {
31
31
  #endif
32
32
 
33
- #include "aom/aom_codec.h"
33
+ #include "aom/aom_codec.h" // IWYU pragma: export
34
34
  #include "aom/aom_external_partition.h"
35
35
 
36
36
  /*!\brief Current ABI version number
@@ -637,6 +637,7 @@ typedef struct aom_codec_enc_cfg {
637
637
  /*!\brief Target data rate
638
638
  *
639
639
  * Target bitrate to use for this stream, in kilobits per second.
640
+ * Max allowed value is 2000000
640
641
  */
641
642
  unsigned int rc_target_bitrate;
642
643
 
@@ -801,6 +802,8 @@ typedef struct aom_codec_enc_cfg {
801
802
  * S-Frame.
802
803
  *
803
804
  * Otherwise: the considered frame will be made into an S-Frame.
805
+ *
806
+ * \attention Not implemented.
804
807
  */
805
808
  unsigned int sframe_mode;
806
809
 
@@ -1044,6 +1047,11 @@ aom_fixed_buf_t *aom_codec_get_global_headers(aom_codec_ctx_t *ctx);
1044
1047
  * Interface is not an encoder interface.
1045
1048
  * \retval #AOM_CODEC_INVALID_PARAM
1046
1049
  * A parameter was NULL, the image format is unsupported, etc.
1050
+ *
1051
+ * \note
1052
+ * `duration` is of the unsigned long type, which can be 32 or 64 bits.
1053
+ * `duration` must be less than or equal to UINT32_MAX so that its range is
1054
+ * independent of the size of unsigned long.
1047
1055
  */
1048
1056
  aom_codec_err_t aom_codec_encode(aom_codec_ctx_t *ctx, const aom_image_t *img,
1049
1057
  aom_codec_pts_t pts, unsigned long duration,
@@ -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
@@ -103,7 +103,8 @@ typedef enum aom_transfer_characteristics {
103
103
  AOM_CICP_TC_SMPTE_428 = 17, /**< SMPTE ST 428 */
104
104
  AOM_CICP_TC_HLG = 18, /**< BT.2100 HLG, ARIB STD-B67 */
105
105
  AOM_CICP_TC_RESERVED_19 = 19 /**< For future use (values 19-255) */
106
- } aom_transfer_characteristics_t; /**< alias for enum aom_transfer_function */
106
+ } aom_transfer_characteristics_t; /**< alias for enum
107
+ aom_transfer_characteristics */
107
108
 
108
109
  /*!\brief List of supported matrix coefficients */
109
110
  typedef enum aom_matrix_coefficients {
@@ -125,7 +126,7 @@ typedef enum aom_matrix_coefficients {
125
126
  AOM_CICP_MC_CHROMAT_CL = 13, /**< Chromaticity-derived constant luminance */
126
127
  AOM_CICP_MC_ICTCP = 14, /**< BT.2100 ICtCp */
127
128
  AOM_CICP_MC_RESERVED_15 = 15 /**< For future use (values 15-255) */
128
- } aom_matrix_coefficients_t;
129
+ } aom_matrix_coefficients_t; /**< alias for enum aom_matrix_coefficients */
129
130
 
130
131
  /*!\brief List of supported color range */
131
132
  typedef enum aom_color_range {
@@ -144,7 +145,8 @@ typedef enum aom_chroma_sample_position {
144
145
  /**< sample, between two vertical samples */
145
146
  AOM_CSP_COLOCATED = 2, /**< Co-located with luma(0, 0) sample */
146
147
  AOM_CSP_RESERVED = 3 /**< Reserved value */
147
- } aom_chroma_sample_position_t; /**< alias for enum aom_transfer_function */
148
+ } aom_chroma_sample_position_t; /**< alias for enum aom_chroma_sample_position
149
+ */
148
150
 
149
151
  /*!\brief List of insert flags for Metadata
150
152
  *
@@ -244,10 +246,13 @@ typedef struct aom_image {
244
246
  * is NULL, the storage for the descriptor will be
245
247
  * allocated on the heap.
246
248
  * \param[in] fmt Format for the image
247
- * \param[in] d_w Width of the image
248
- * \param[in] d_h Height of the image
249
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
250
+ * (2^27).
251
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
252
+ * (2^27).
249
253
  * \param[in] align Alignment, in bytes, of the image buffer and
250
- * each row in the image (stride).
254
+ * each row in the image (stride). Must not exceed
255
+ * 65536.
251
256
  *
252
257
  * \return Returns a pointer to the initialized image descriptor. If the img
253
258
  * parameter is non-null, the value of the img parameter will be
@@ -267,10 +272,12 @@ aom_image_t *aom_img_alloc(aom_image_t *img, aom_img_fmt_t fmt,
267
272
  * is NULL, the storage for the descriptor will be
268
273
  * allocated on the heap.
269
274
  * \param[in] fmt Format for the image
270
- * \param[in] d_w Width of the image
271
- * \param[in] d_h Height of the image
275
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
276
+ * (2^27).
277
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
278
+ * (2^27).
272
279
  * \param[in] align Alignment, in bytes, of each row in the image
273
- * (stride).
280
+ * (stride). Must not exceed 65536.
274
281
  * \param[in] img_data Storage to use for the image
275
282
  *
276
283
  * \return Returns a pointer to the initialized image descriptor. If the img
@@ -291,12 +298,17 @@ aom_image_t *aom_img_wrap(aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w,
291
298
  * is NULL, the storage for the descriptor will be
292
299
  * allocated on the heap.
293
300
  * \param[in] fmt Format for the image
294
- * \param[in] d_w Width of the image
295
- * \param[in] d_h Height of the image
301
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
302
+ * (2^27).
303
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
304
+ * (2^27).
296
305
  * \param[in] align Alignment, in bytes, of the image buffer and
297
- * each row in the image (stride).
306
+ * each row in the image (stride). Must not exceed
307
+ * 65536.
298
308
  * \param[in] size_align Alignment, in pixels, of the image width and height.
309
+ * Must not exceed 65536.
299
310
  * \param[in] border A border that is padded on four sides of the image.
311
+ * Must not exceed 65536.
300
312
  *
301
313
  * \return Returns a pointer to the initialized image descriptor. If the img
302
314
  * 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
@@ -12,15 +12,7 @@
12
12
  #define AOM_AOM_AOM_INTEGER_H_
13
13
 
14
14
  /* get ptrdiff_t, size_t, wchar_t, NULL */
15
- #include <stddef.h>
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
15
+ #include <stddef.h> // IWYU pragma: export
24
16
 
25
17
  /* Assume platforms have the C99 standard integer types. */
26
18
 
@@ -33,8 +25,8 @@
33
25
  #endif
34
26
  #endif // __cplusplus
35
27
 
36
- #include <stdint.h>
37
- #include <inttypes.h>
28
+ #include <stdint.h> // IWYU pragma: export
29
+ #include <inttypes.h> // IWYU pragma: export
38
30
 
39
31
  #if defined(__cplusplus)
40
32
  extern "C" {
@@ -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
@@ -1527,12 +1527,49 @@ enum aome_enc_control_id {
1527
1527
  */
1528
1528
  AV1E_SET_BITRATE_ONE_PASS_CBR = 163,
1529
1529
 
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.
1530
+ /*!\brief Codec control to set the maximum number of consecutive frame drops,
1531
+ * in units of frames, allowed for the frame dropper in 1 pass
1532
+ * CBR mode, int parameter. Value of zero has no effect.
1533
+ * \deprecated Use the new control AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR.
1533
1534
  */
1534
1535
  AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR = 164,
1535
1536
 
1537
+ /*!\brief Codec control to set the frame drop mode for SVC,
1538
+ * unsigned int parameter. The valid values are constants of the
1539
+ * AOM_SVC_FRAME_DROP_MODE enum: AOM_LAYER_DROP or AOM_FULL_SUPERFRAME_DROP.
1540
+ */
1541
+ AV1E_SET_SVC_FRAME_DROP_MODE = 165,
1542
+
1543
+ /*!\brief Codec control to set auto tiling, unsigned int parameter.
1544
+ * Value of 1 means encoder will set number of tile_columns and tile_rows,
1545
+ * based on the number of threads and resolution. This will override any
1546
+ * settings set via SET_TILE_COLUMNS/ROWS. If the value is 0 no change is
1547
+ * done, the previous setting (if any) for tile_columns/rows is preserved.
1548
+ */
1549
+ AV1E_SET_AUTO_TILES = 166,
1550
+
1551
+ /*!\brief Codec control to get the high motion content flag, used for
1552
+ * screen content realtime (RTC) encoding, int * parameter.
1553
+ * Returns an integer.
1554
+ * 1 means high motion content flag is set to 1, 0 means set to 0.
1555
+ */
1556
+ AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC = 167,
1557
+
1558
+ /*!\brief Codec control to enable post encode frame drop for RTC encoding,
1559
+ * int parameter.
1560
+ *
1561
+ * Value of 1 means encoder will enable post encode drop. Default is 0 (not
1562
+ * enabled). Post encode drop is only allowed when frame dropping is enabled
1563
+ * (aom_codec_enc_cfg::rc_dropframe_thresh > 0).
1564
+ */
1565
+ AV1E_SET_POSTENCODE_DROP_RTC = 168,
1566
+
1567
+ /*!\brief Codec control to set the maximum number of consecutive frame drops,
1568
+ * in units of time (milliseconds), allowed for the frame dropper in 1 pass
1569
+ * CBR mode, int parameter. Value of zero has no effect.
1570
+ */
1571
+ AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR = 169,
1572
+
1536
1573
  // Any new encoder control IDs should be added above.
1537
1574
  // Maximum allowed encoder control ID is 229.
1538
1575
  // No encoder control ID should be added below.
@@ -1699,6 +1736,12 @@ typedef struct aom_svc_ref_frame_comp_pred {
1699
1736
  int use_comp_pred[3]; /**<Compound reference flag. */
1700
1737
  } aom_svc_ref_frame_comp_pred_t;
1701
1738
 
1739
+ /*!brief Frame drop modes for spatial/quality layer SVC */
1740
+ typedef enum {
1741
+ AOM_LAYER_DROP, /**< Any spatial layer can drop. */
1742
+ AOM_FULL_SUPERFRAME_DROP, /**< Only full superframe can drop. */
1743
+ } AOM_SVC_FRAME_DROP_MODE;
1744
+
1702
1745
  /*!\cond */
1703
1746
  /*!\brief Encoder control function parameter type
1704
1747
  *
@@ -2178,9 +2221,24 @@ AOM_CTRL_USE_TYPE(AV1E_GET_LUMA_CDEF_STRENGTH, int *)
2178
2221
  AOM_CTRL_USE_TYPE(AV1E_SET_BITRATE_ONE_PASS_CBR, unsigned int)
2179
2222
  #define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2180
2223
 
2224
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_FRAME_DROP_MODE, unsigned int)
2225
+ #define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2226
+
2181
2227
  AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR, int)
2182
2228
  #define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2183
2229
 
2230
+ AOM_CTRL_USE_TYPE(AV1E_SET_AUTO_TILES, unsigned int)
2231
+ #define AOM_CTRL_AV1E_SET_AUTO_TILES
2232
+
2233
+ AOM_CTRL_USE_TYPE(AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC, int *)
2234
+ #define AOM_CTRL_AV1E_GET_HIGH_MOTION_CONTENT_SCREEN_RTC
2235
+
2236
+ AOM_CTRL_USE_TYPE(AV1E_SET_POSTENCODE_DROP_RTC, int)
2237
+ #define AOM_CTRL_AV1E_SET_POSTENCODE_DROP_RTC
2238
+
2239
+ AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR, int)
2240
+ #define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_MS_CBR
2241
+
2184
2242
  /*!\endcond */
2185
2243
  /*! @} - end defgroup aom_encoder */
2186
2244
  #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
@@ -234,8 +234,11 @@ enum aom_dec_control_id {
234
234
  */
235
235
  AV1D_GET_IMG_FORMAT,
236
236
 
237
- /*!\brief Codec control function to get the size of the tile, unsigned int*
238
- * parameter
237
+ /*!\brief Codec control function to get the width and height (in pixels) of
238
+ * the tiles in a tile list, unsigned int* parameter
239
+ *
240
+ * Tile width is in the high 16 bits of the output value, and tile height is
241
+ * in the low 16 bits of the output value.
239
242
  */
240
243
  AV1D_GET_TILE_SIZE,
241
244
 
package/include/cgif.h CHANGED
@@ -13,6 +13,9 @@ extern "C" {
13
13
  #define CGIF_ATTR_NO_GLOBAL_TABLE (1uL << 2) // disable global color table (global color table is default)
14
14
  #define CGIF_ATTR_HAS_TRANSPARENCY (1uL << 3) // first entry in color table contains transparency (alpha channel)
15
15
  #define CGIF_ATTR_NO_LOOP (1uL << 4) // don't loop a GIF animation: only play it one time.
16
+
17
+ #define CGIF_GEN_KEEP_IDENT_FRAMES (1uL << 0) // keep frames that are identical to previous frame (default is to drop them)
18
+
16
19
  #define CGIF_FRAME_ATTR_USE_LOCAL_TABLE (1uL << 0) // use a local color table for a frame (local color table is not used by default)
17
20
  #define CGIF_FRAME_ATTR_HAS_ALPHA (1uL << 1) // alpha channel index provided by user (transIndex field)
18
21
  #define CGIF_FRAME_ATTR_HAS_SET_TRANS (1uL << 2) // transparency setting provided by user (transIndex field)
package/include/expat.h CHANGED
@@ -1066,7 +1066,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1066
1066
  */
1067
1067
  #define XML_MAJOR_VERSION 2
1068
1068
  #define XML_MINOR_VERSION 6
1069
- #define XML_MICRO_VERSION 2
1069
+ #define XML_MICRO_VERSION 3
1070
1070
 
1071
1071
  #ifdef __cplusplus
1072
1072
  }
@@ -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.3"
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.3"
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.3"
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
@@ -49,32 +49,47 @@ typedef struct _GAppLaunchContextPrivate GAppLaunchContextPrivate;
49
49
  /**
50
50
  * GAppInfoIface:
51
51
  * @g_iface: The parent interface.
52
- * @dup: Copies a #GAppInfo.
53
- * @equal: Checks two #GAppInfos for equality.
54
- * @get_id: Gets a string identifier for a #GAppInfo.
55
- * @get_name: Gets the name of the application for a #GAppInfo.
56
- * @get_description: Gets a short description for the application described by the #GAppInfo.
57
- * @get_executable: Gets the executable name for the #GAppInfo.
58
- * @get_icon: Gets the #GIcon for the #GAppInfo.
59
- * @launch: Launches an application specified by the #GAppInfo.
60
- * @supports_uris: Indicates whether the application specified supports launching URIs.
61
- * @supports_files: Indicates whether the application specified accepts filename arguments.
52
+ * @dup: Copies a [iface@Gio.AppInfo].
53
+ * @equal: Checks two [iface@Gio.AppInfo]s for equality.
54
+ * @get_id: Gets a string identifier for a [iface@Gio.AppInfo].
55
+ * @get_name: Gets the name of the application for a [iface@Gio.AppInfo].
56
+ * @get_description: Gets a short description for the application described by
57
+ * the [iface@Gio.AppInfo].
58
+ * @get_executable: Gets the executable name for the [iface@Gio.AppInfo].
59
+ * @get_icon: Gets the [iface@Gio.Icon] for the [iface@Gio.AppInfo].
60
+ * @launch: Launches an application specified by the [iface@Gio.AppInfo].
61
+ * @supports_uris: Indicates whether the application specified supports
62
+ * launching URIs.
63
+ * @supports_files: Indicates whether the application specified accepts
64
+ * filename arguments.
62
65
  * @launch_uris: Launches an application with a list of URIs.
63
- * @should_show: Returns whether an application should be shown (e.g. when getting a list of installed applications).
64
- * [FreeDesktop.Org Startup Notification Specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).
65
- * @set_as_default_for_type: Sets an application as default for a given content type.
66
- * @set_as_default_for_extension: Sets an application as default for a given file extension.
67
- * @add_supports_type: Adds to the #GAppInfo information about supported file types.
68
- * @can_remove_supports_type: Checks for support for removing supported file types from a #GAppInfo.
69
- * @remove_supports_type: Removes a supported application type from a #GAppInfo.
70
- * @can_delete: Checks if a #GAppInfo can be deleted. Since 2.20
71
- * @do_delete: Deletes a #GAppInfo. Since 2.20
72
- * @get_commandline: Gets the commandline for the #GAppInfo. Since 2.20
73
- * @get_display_name: Gets the display name for the #GAppInfo. Since 2.24
74
- * @set_as_last_used_for_type: Sets the application as the last used. See g_app_info_set_as_last_used_for_type().
75
- * @get_supported_types: Retrieves the list of content types that @app_info claims to support.
76
- * @launch_uris_async: Asynchronously launches an application with a list of URIs. (Since: 2.60)
77
- * @launch_uris_finish: Finishes an operation started with @launch_uris_async. (Since: 2.60)
66
+ * @should_show: Returns whether an application should be shown (e.g. when
67
+ * getting a list of installed applications).
68
+ * [FreeDesktop.Org Startup Notification Specification](http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt).
69
+ * @set_as_default_for_type: Sets an application as default for a given content
70
+ * type.
71
+ * @set_as_default_for_extension: Sets an application as default for a given
72
+ * file extension.
73
+ * @add_supports_type: Adds to the [iface@Gio.AppInfo] information about
74
+ * supported file types.
75
+ * @can_remove_supports_type: Checks for support for removing supported file
76
+ * types from a [iface@Gio.AppInfo].
77
+ * @remove_supports_type: Removes a supported application type from a
78
+ * [iface@Gio.AppInfo].
79
+ * @can_delete: Checks if a [iface@Gio.AppInfo] can be deleted. (Since 2.20)
80
+ * @do_delete: Deletes a [iface@Gio.AppInfo]. (Since 2.20)
81
+ * @get_commandline: Gets the commandline for the [iface@Gio.AppInfo].
82
+ * (Since 2.20)
83
+ * @get_display_name: Gets the display name for the [iface@Gio.AppInfo].
84
+ * (Since 2.24)
85
+ * @set_as_last_used_for_type: Sets the application as the last used. See
86
+ * [method@Gio.AppInfo.set_as_last_used_for_type].
87
+ * @get_supported_types: Retrieves the list of content types that @app_info
88
+ * claims to support.
89
+ * @launch_uris_async: Asynchronously launches an application with a list of
90
+ * URIs. (Since: 2.60)
91
+ * @launch_uris_finish: Finishes an operation started with @launch_uris_async.
92
+ * (Since: 2.60)
78
93
 
79
94
  * Application Information interface, for operating system portability.
80
95
  */
@@ -46,7 +46,7 @@ typedef struct _GAsyncResultIface GAsyncResultIface;
46
46
  * @get_source_object: Gets the source object that issued the asynchronous operation.
47
47
  * @is_tagged: Checks if a result is tagged with a particular source.
48
48
  *
49
- * Interface definition for #GAsyncResult.
49
+ * Interface definition for [iface@Gio.AsyncResult].
50
50
  **/
51
51
  struct _GAsyncResultIface
52
52
  {
@@ -84,6 +84,11 @@ GConverterResult g_converter_convert (GConverter *converter,
84
84
  GIO_AVAILABLE_IN_ALL
85
85
  void g_converter_reset (GConverter *converter);
86
86
 
87
+ GIO_AVAILABLE_IN_2_82
88
+ GBytes * g_converter_convert_bytes (GConverter *converter,
89
+ GBytes *bytes,
90
+ GError **error);
91
+
87
92
 
88
93
  G_END_DECLS
89
94
 
@@ -79,7 +79,7 @@ struct _GDBusArgInfo
79
79
  * @out_args: (array zero-terminated=1): A pointer to a %NULL-terminated array of pointers to #GDBusArgInfo structures or %NULL if there are no out arguments.
80
80
  * @annotations: (array zero-terminated=1): A pointer to a %NULL-terminated array of pointers to #GDBusAnnotationInfo structures or %NULL if there are no annotations.
81
81
  *
82
- * Information about a method on an D-Bus interface.
82
+ * Information about a method on a D-Bus interface.
83
83
  *
84
84
  * Since: 2.26
85
85
  */
@@ -944,6 +944,14 @@ void g_file_copy_async (GFile
944
944
  gpointer progress_callback_data,
945
945
  GAsyncReadyCallback callback,
946
946
  gpointer user_data);
947
+ GIO_AVAILABLE_IN_2_82
948
+ void g_file_copy_async_with_closures (GFile *source,
949
+ GFile *destination,
950
+ GFileCopyFlags flags,
951
+ int io_priority,
952
+ GCancellable *cancellable,
953
+ GClosure *progress_callback_closure,
954
+ GClosure *ready_callback_closure);
947
955
  GIO_AVAILABLE_IN_ALL
948
956
  gboolean g_file_copy_finish (GFile *file,
949
957
  GAsyncResult *res,
@@ -966,6 +974,14 @@ void g_file_move_async (GFile
966
974
  gpointer progress_callback_data,
967
975
  GAsyncReadyCallback callback,
968
976
  gpointer user_data);
977
+ GIO_AVAILABLE_IN_2_82
978
+ void g_file_move_async_with_closures (GFile *source,
979
+ GFile *destination,
980
+ GFileCopyFlags flags,
981
+ int io_priority,
982
+ GCancellable *cancellable,
983
+ GClosure *progress_callback_closure,
984
+ GClosure *ready_callback_closure);
969
985
  GIO_AVAILABLE_IN_2_72
970
986
  gboolean g_file_move_finish (GFile *file,
971
987
  GAsyncResult *result,
@@ -984,3 +984,37 @@
984
984
  #define GIO_AVAILABLE_ENUMERATOR_IN_2_80
985
985
  #define GIO_AVAILABLE_TYPE_IN_2_80
986
986
  #endif
987
+
988
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_82
989
+ #define GIO_DEPRECATED_IN_2_82 GIO_DEPRECATED
990
+ #define GIO_DEPRECATED_IN_2_82_FOR(f) GIO_DEPRECATED_FOR (f)
991
+ #define GIO_DEPRECATED_MACRO_IN_2_82 GLIB_DEPRECATED_MACRO
992
+ #define GIO_DEPRECATED_MACRO_IN_2_82_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
993
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_82 GLIB_DEPRECATED_ENUMERATOR
994
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_82_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
995
+ #define GIO_DEPRECATED_TYPE_IN_2_82 GLIB_DEPRECATED_TYPE
996
+ #define GIO_DEPRECATED_TYPE_IN_2_82_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
997
+ #else
998
+ #define GIO_DEPRECATED_IN_2_82 _GIO_EXTERN
999
+ #define GIO_DEPRECATED_IN_2_82_FOR(f) _GIO_EXTERN
1000
+ #define GIO_DEPRECATED_MACRO_IN_2_82
1001
+ #define GIO_DEPRECATED_MACRO_IN_2_82_FOR(f)
1002
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_82
1003
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_82_FOR(f)
1004
+ #define GIO_DEPRECATED_TYPE_IN_2_82
1005
+ #define GIO_DEPRECATED_TYPE_IN_2_82_FOR(f)
1006
+ #endif
1007
+
1008
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_82
1009
+ #define GIO_AVAILABLE_IN_2_82 GIO_UNAVAILABLE (2, 82)
1010
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_82 GLIB_UNAVAILABLE_STATIC_INLINE (2, 82)
1011
+ #define GIO_AVAILABLE_MACRO_IN_2_82 GLIB_UNAVAILABLE_MACRO (2, 82)
1012
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_82 GLIB_UNAVAILABLE_ENUMERATOR (2, 82)
1013
+ #define GIO_AVAILABLE_TYPE_IN_2_82 GLIB_UNAVAILABLE_TYPE (2, 82)
1014
+ #else
1015
+ #define GIO_AVAILABLE_IN_2_82 _GIO_EXTERN
1016
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_82
1017
+ #define GIO_AVAILABLE_MACRO_IN_2_82
1018
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_82
1019
+ #define GIO_AVAILABLE_TYPE_IN_2_82
1020
+ #endif
@@ -290,8 +290,8 @@ typedef enum /*< flags >*/ {
290
290
  * assemble/disassemble a virtual drive from several physical
291
291
  * drives.
292
292
  * @G_DRIVE_START_STOP_TYPE_PASSWORD: The start/stop methods will
293
- * unlock/lock the disk (for example using the ATA <quote>SECURITY
294
- * UNLOCK DEVICE</quote> command)
293
+ * unlock/lock the disk (for example using the ATA `SECURITY UNLOCK
294
+ * DEVICE` command)
295
295
  *
296
296
  * Enumeration describing how a drive can be started/stopped.
297
297
  *
@@ -322,6 +322,14 @@ void g_settings_bind_with_mapping (GSettin
322
322
  GSettingsBindSetMapping set_mapping,
323
323
  gpointer user_data,
324
324
  GDestroyNotify destroy);
325
+ GIO_AVAILABLE_IN_2_82
326
+ void g_settings_bind_with_mapping_closures (GSettings *settings,
327
+ const char *key,
328
+ GObject *object,
329
+ const char *property,
330
+ GSettingsBindFlags flags,
331
+ GClosure *get_mapping,
332
+ GClosure *set_mapping);
325
333
  GIO_AVAILABLE_IN_ALL
326
334
  void g_settings_bind_writable (GSettings *settings,
327
335
  const gchar *key,
@@ -42,11 +42,11 @@ G_BEGIN_DECLS
42
42
  * GVfsFileLookupFunc:
43
43
  * @vfs: a #GVfs
44
44
  * @identifier: the identifier to look up a #GFile for. This can either
45
- * be an URI or a parse name as returned by g_file_get_parse_name()
45
+ * be a URI or a parse name as returned by g_file_get_parse_name()
46
46
  * @user_data: user data passed to the function
47
47
  *
48
48
  * This function type is used by g_vfs_register_uri_scheme() to make it
49
- * possible for a client to associate an URI scheme to a different #GFile
49
+ * possible for a client to associate a URI scheme to a different #GFile
50
50
  * implementation.
51
51
  *
52
52
  * The client should return a reference to the new file that has been
@@ -81,7 +81,7 @@ GQuark g_bookmark_file_error_quark (void);
81
81
  * pointed by the URI like its MIME type, the application that is registering
82
82
  * the bookmark and the icon that should be used to represent the bookmark.
83
83
  * The data is stored using the
84
- * [Desktop Bookmark Specification](http://www.gnome.org/~ebassi/bookmark-spec).
84
+ * [Desktop Bookmark Specification](https://www.freedesktop.org/wiki/Specifications/desktop-bookmark-spec/).
85
85
  *
86
86
  * The syntax of the bookmark files is described in detail inside the
87
87
  * Desktop Bookmark Specification, here is a quick summary: bookmark