@revizly/sharp-libvips-dev 1.0.33 → 1.0.35

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 (56) hide show
  1. package/include/fontconfig/fcfreetype.h +14 -0
  2. package/include/fontconfig/fcprivate.h +8 -1
  3. package/include/fontconfig/fontconfig.h +52 -16
  4. package/include/glib-2.0/gio/gdbusconnection.h +2 -8
  5. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  6. package/include/glib-2.0/gio/gioenums.h +5 -4
  7. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  8. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  9. package/include/glib-2.0/glib/gmacros.h +3 -3
  10. package/include/glib-2.0/glib/gmarkup.h +10 -0
  11. package/include/glib-2.0/glib/gmem.h +4 -4
  12. package/include/glib-2.0/glib/gmessages.h +6 -8
  13. package/include/glib-2.0/glib/gsequence.h +2 -2
  14. package/include/glib-2.0/glib/gstrfuncs.h +190 -0
  15. package/include/glib-2.0/glib/gutils.h +9 -0
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  18. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  19. package/include/glib-2.0/gobject/gsignal.h +5 -5
  20. package/include/glib-2.0/gobject/gtype.h +14 -14
  21. package/include/harfbuzz/hb-script-list.h +0 -1
  22. package/include/harfbuzz/hb-version.h +2 -2
  23. package/include/libde265/de265-version.h +2 -2
  24. package/include/libde265/de265.h +35 -9
  25. package/include/libheif/heif.h +2 -0
  26. package/include/libheif/heif_color.h +127 -11
  27. package/include/libheif/heif_components.h +264 -0
  28. package/include/libheif/heif_context.h +2 -1
  29. package/include/libheif/heif_cxx.h +10 -10
  30. package/include/libheif/heif_decoding.h +44 -7
  31. package/include/libheif/heif_encoding.h +15 -9
  32. package/include/libheif/heif_error.h +9 -2
  33. package/include/libheif/heif_export.h +48 -0
  34. package/include/libheif/heif_image.h +81 -66
  35. package/include/libheif/heif_image_handle.h +2 -2
  36. package/include/libheif/heif_items.h +1 -1
  37. package/include/libheif/heif_library.h +8 -16
  38. package/include/libheif/heif_omaf.h +104 -0
  39. package/include/libheif/heif_plugin.h +16 -9
  40. package/include/libheif/heif_properties.h +250 -12
  41. package/include/libheif/heif_security.h +16 -4
  42. package/include/libheif/heif_sequences.h +74 -2
  43. package/include/libheif/heif_tiling.h +2 -2
  44. package/include/libheif/heif_uncompressed.h +44 -332
  45. package/include/libheif/heif_version.h +2 -2
  46. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  47. package/include/svt-av1/EbConfigMacros.h +56 -0
  48. package/include/svt-av1/EbDebugMacros.h +83 -0
  49. package/include/svt-av1/EbSvtAv1.h +436 -0
  50. package/include/svt-av1/EbSvtAv1Enc.h +1082 -0
  51. package/include/svt-av1/EbSvtAv1ErrorCodes.h +67 -0
  52. package/include/svt-av1/EbSvtAv1Formats.h +126 -0
  53. package/include/svt-av1/EbSvtAv1Metadata.h +156 -0
  54. package/package.json +2 -2
  55. package/versions.json +8 -8
  56. package/include/libheif/heif_uncompressed_types.h +0 -143
@@ -0,0 +1,436 @@
1
+ /*
2
+ * Copyright(c) 2019 Intel Corporation
3
+ *
4
+ * This source code is subject to the terms of the BSD 2 Clause License and
5
+ * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6
+ * was not distributed with this source code in the LICENSE file, you can
7
+ * obtain it at https://www.aomedia.org/license/software-license. If the Alliance for Open
8
+ * Media Patent License 1.0 was not distributed with this source code in the
9
+ * PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license.
10
+ */
11
+
12
+ #ifndef EbSvtAv1_h
13
+ #define EbSvtAv1_h
14
+
15
+ #ifdef __cplusplus
16
+ extern "C" {
17
+ #endif // __cplusplus
18
+
19
+ #include <stdbool.h>
20
+ #include <stdint.h>
21
+ #include "EbSvtAv1Formats.h"
22
+ #include "EbConfigMacros.h"
23
+ #include "EbDebugMacros.h"
24
+
25
+ struct SvtMetadataArray;
26
+
27
+ // API Version
28
+ #define SVT_AV1_VERSION_MAJOR 3
29
+ #define SVT_AV1_VERSION_MINOR 1
30
+ #define SVT_AV1_VERSION_PATCHLEVEL 2
31
+
32
+ #define SVT_AV1_CHECK_VERSION(major, minor, patch) \
33
+ (SVT_AV1_VERSION_MAJOR > (major) || (SVT_AV1_VERSION_MAJOR == (major) && SVT_AV1_VERSION_MINOR > (minor)) || \
34
+ (SVT_AV1_VERSION_MAJOR == (major) && SVT_AV1_VERSION_MINOR == (minor) && SVT_AV1_VERSION_PATCHLEVEL >= (patch)))
35
+
36
+ #if defined(_WIN32)
37
+ #define EB_HELPER_EXPORT __declspec(dllexport)
38
+ #define EB_HELPER_IMPORT __declspec(dllimport)
39
+ #elif defined(__GNUC__) && __GNUC__ >= 4
40
+ #define EB_HELPER_EXPORT __attribute__((visibility("default")))
41
+ #define EB_HELPER_IMPORT
42
+ #else
43
+ #define EB_HELPER_EXPORT
44
+ #define EB_HELPER_IMPORT
45
+ #endif
46
+
47
+ #if defined(EB_DLL)
48
+ #if defined(EB_BUILDING_SHARED_LIBS)
49
+ #define EB_API EB_HELPER_EXPORT
50
+ #else
51
+ #define EB_API EB_HELPER_IMPORT
52
+ #endif // if defined(EB_BUILDING_SHARED_LIBS)
53
+ #else
54
+ #define EB_API
55
+ #endif //if defined(EB_DLL)
56
+
57
+ #define EB_MAX_NUM_OPERATING_POINTS 32
58
+
59
+ #define MAX_TEMPORAL_LAYERS 6
60
+
61
+ #define EB_MAX_TEMPORAL_LAYERS MAX_TEMPORAL_LAYERS
62
+
63
+ /********************************
64
+ * Defines
65
+ ********************************/
66
+ #define EB_PICTURE uint32_t
67
+
68
+ typedef enum EbAv1PictureType {
69
+ EB_AV1_INTER_PICTURE = 0,
70
+ EB_AV1_ALT_REF_PICTURE = 1,
71
+ EB_AV1_INTRA_ONLY_PICTURE = 2,
72
+ EB_AV1_KEY_PICTURE = 3,
73
+ EB_AV1_NON_REF_PICTURE = 4,
74
+ EB_AV1_SHOW_EXISTING_PICTURE = 6,
75
+ EB_AV1_FW_KEY_PICTURE = 5,
76
+ EB_AV1_SWITCH_PICTURE = 7,
77
+ EB_AV1_INVALID_PICTURE = 0xFF
78
+ } EbAv1PictureType;
79
+
80
+ typedef struct EbBufferHeaderType {
81
+ // EbBufferHeaderType size
82
+ uint32_t size;
83
+
84
+ // picture (input or output) buffer
85
+ uint8_t *p_buffer;
86
+ uint32_t n_filled_len;
87
+ uint32_t n_alloc_len;
88
+
89
+ // pic private data
90
+ void *p_app_private;
91
+ void *wrapper_ptr;
92
+
93
+ // pic timing param
94
+ uint32_t n_tick_count;
95
+ int64_t dts;
96
+ int64_t pts;
97
+
98
+ // pic info
99
+ uint8_t temporal_layer_index;
100
+ uint32_t qp;
101
+ uint32_t avg_qp;
102
+ EbAv1PictureType pic_type;
103
+ uint64_t luma_sse;
104
+ uint64_t cr_sse;
105
+ uint64_t cb_sse;
106
+ // pic flags
107
+ uint32_t flags;
108
+
109
+ double luma_ssim;
110
+ double cr_ssim;
111
+ double cb_ssim;
112
+
113
+ struct SvtMetadataArray *metadata;
114
+ } EbBufferHeaderType;
115
+
116
+ typedef struct EbComponentType {
117
+ uint32_t size;
118
+ void *p_component_private;
119
+ void *p_application_private;
120
+ } EbComponentType;
121
+
122
+ typedef enum EbErrorType {
123
+ EB_ErrorNone = 0,
124
+ EB_DecUnsupportedBitstream = (int32_t)0x40001000,
125
+ EB_DecNoOutputPicture = (int32_t)0x40001004,
126
+ EB_DecDecodingError = (int32_t)0x40001008,
127
+ EB_Corrupt_Frame = (int32_t)0x4000100C,
128
+ EB_ErrorInsufficientResources = (int32_t)0x80001000,
129
+ EB_ErrorUndefined = (int32_t)0x80001001,
130
+ EB_ErrorInvalidComponent = (int32_t)0x80001004,
131
+ EB_ErrorBadParameter = (int32_t)0x80001005,
132
+ EB_ErrorDestroyThreadFailed = (int32_t)0x80002012,
133
+ EB_ErrorSemaphoreUnresponsive = (int32_t)0x80002021,
134
+ EB_ErrorDestroySemaphoreFailed = (int32_t)0x80002022,
135
+ EB_ErrorCreateMutexFailed = (int32_t)0x80002030,
136
+ EB_ErrorMutexUnresponsive = (int32_t)0x80002031,
137
+ EB_ErrorDestroyMutexFailed = (int32_t)0x80002032,
138
+ EB_NoErrorEmptyQueue = (int32_t)0x80002033,
139
+ EB_NoErrorFifoShutdown = (int32_t)0x80002034,
140
+ EB_ErrorMax = 0x7FFFFFFF
141
+ } EbErrorType;
142
+
143
+ /* AV1 bistream profile (seq_profile syntax element) */
144
+ typedef enum EbAv1SeqProfile { MAIN_PROFILE = 0, HIGH_PROFILE = 1, PROFESSIONAL_PROFILE = 2 } EbAv1SeqProfile;
145
+
146
+ // For 8-bit and 10-bit packed inputs and outputs, the luma, cb, and cr fields should be used
147
+ // for the three input picture planes. However, for 10-bit unpacked planes the
148
+ // lumaExt, cbExt, and crExt fields should be used hold the extra 2-bits of
149
+ // precision while the luma, cb, and cr fields hold the 8-bit data.
150
+ typedef struct EbSvtIOFormat //former EbSvtEncInput
151
+ {
152
+ // Hosts 8 bit or 16 bit input YUV420p / YUV420p10le
153
+ uint8_t *luma;
154
+ uint8_t *cb;
155
+ uint8_t *cr;
156
+ uint32_t y_stride;
157
+ uint32_t cr_stride;
158
+ uint32_t cb_stride;
159
+ } EbSvtIOFormat;
160
+
161
+ typedef struct EbOperatingParametersInfo {
162
+ /*!<Specifies the time interval between the arrival of the first bit in the
163
+ * smoothing buffer and the subsequent removal of the data that belongs to
164
+ * the first coded frame for operating point*/
165
+ uint32_t decoder_buffer_delay;
166
+
167
+ /*!<Specifies, in combination with decoder_buffer_delay[op] syntax element,
168
+ * the first bit arrival time of frames to be decoded to the smoothing
169
+ * buffer */
170
+ uint32_t encoder_buffer_delay;
171
+
172
+ /*!< Equal to 1 indicates that the smoothing buffer operates in low-delay
173
+ * mode for operating point*/
174
+ uint8_t low_delay_mode_flag;
175
+
176
+ } EbOperatingParametersInfo;
177
+
178
+ typedef struct EbAV1OperatingPoint {
179
+ uint32_t op_idc;
180
+ uint32_t seq_level_idx;
181
+ uint32_t seq_tier;
182
+
183
+ /*!< 1 -> Indicates that there is a decoder model associated with operating
184
+ point,
185
+ * 0 -> Indicates that there is not a decoder model associated with
186
+ operating point*/
187
+ uint8_t decoder_model_present_for_this_op;
188
+
189
+ /*!< Operating Parameters Information structure*/
190
+ EbOperatingParametersInfo operating_parameters_info;
191
+
192
+ uint32_t initial_display_delay_present_for_this_op;
193
+ uint32_t initial_display_delay;
194
+
195
+ } EbAv1OperatingPoint;
196
+
197
+ typedef struct EbColorConfig {
198
+ /*!< bit depth */
199
+ EbBitDepth bit_depth;
200
+
201
+ /*!< 1: Indicates that the video does not contain U and V color planes.
202
+ * 0: Indicates that the video contains Y, U, and V color planes. */
203
+ bool mono_chrome;
204
+ /*!< Specify the chroma subsampling format */
205
+ uint8_t subsampling_x;
206
+
207
+ /*!< Specify the chroma subsampling format */
208
+ uint8_t subsampling_y;
209
+ /*!< An integer that is defined by the "Color primaries" section of
210
+ * ISO/IEC 23091-4/ITU-T H.273 */
211
+ EbColorPrimaries color_primaries;
212
+
213
+ /*!< An integer that is defined by the "Transfer characteristics" section
214
+ * of ISO/IEC 23091-4/ITU-T H.273 */
215
+ EbTransferCharacteristics transfer_characteristics;
216
+
217
+ /*!< An integer that is defined by the "Matrix coefficients" section of
218
+ * ISO/IEC 23091-4/ITU-T H.273 */
219
+ EbMatrixCoefficients matrix_coefficients;
220
+
221
+ /*!< 0: shall be referred to as the studio swing representation
222
+ * 1: shall be referred to as the full swing representation */
223
+ EbColorRange color_range;
224
+
225
+ /*!< Specifies the sample position for subsampled streams */
226
+ EbChromaSamplePosition chroma_sample_position;
227
+
228
+ /*!< 1: Indicates that the U and V planes may have separate delta quantizer
229
+ * 0: Indicates that the U and V planes will share the same delta
230
+ quantizer value */
231
+ bool separate_uv_delta_q;
232
+ } EbColorConfig;
233
+
234
+ typedef struct EbTimingInfo {
235
+ /*!< Timing info present flag */
236
+ bool timing_info_present;
237
+
238
+ /*!< Number of time units of a clock operating at the frequency time_scale
239
+ * Hz that corresponds to one increment of a clock tick counter*/
240
+ uint32_t num_units_in_display_tick;
241
+
242
+ /*!< Number of time units that pass in one second*/
243
+ uint32_t time_scale;
244
+
245
+ /*!< Equal to 1 indicates that pictures should be displayed according to
246
+ * their output order with the number of ticks between two consecutive
247
+ * pictures specified by num_ticks_per_picture.*/
248
+ uint8_t equal_picture_interval;
249
+
250
+ /*!< Specifies the number of clock ticks corresponding to output time
251
+ * between two consecutive pictures in the output order.
252
+ * Range - [0 to (1 << 32) - 2]*/
253
+ uint32_t num_ticks_per_picture;
254
+
255
+ } EbTimingInfo;
256
+
257
+ // structure to be allocated at the sample application and passed to the library
258
+ // on a per picture basis through the p_app_private field in the EbBufferHeaderType structure
259
+ // this structure and the data inside would be casted, validated, then copied at the
260
+ // svt_av1_enc_send_picture API call
261
+ typedef enum {
262
+ PRIVATE_DATA, // data to be passed through and written to the bitstream
263
+ //FILM_GRAIN_PARAM, // passing film grain parameters per picture
264
+ REF_FRAME_SCALING_EVENT, // reference frame scaling data per picture
265
+ ROI_MAP_EVENT, // ROI map data per picture
266
+ RES_CHANGE_EVENT, // resolution change data per picture (KF only)
267
+ RATE_CHANGE_EVENT, // Rate change data per picture (KF only)
268
+ PRIVATE_DATA_TYPES // end of private data types
269
+ } PrivDataType;
270
+ typedef struct EbPrivDataNode {
271
+ PrivDataType node_type;
272
+ void *data; // pointer to data structure e.g. EbRefFrameScale or AomFilmGrain
273
+ uint32_t size; // size of data being sent for the library to know how much to copy
274
+ struct EbPrivDataNode *next; // pointer to the next node, NULL if done.
275
+ } EbPrivDataNode;
276
+ typedef struct EbRefFrameScale {
277
+ uint8_t scale_mode; // scaling mode, support for RESIZE_NONE, RESIZE_FIXED and RESIZE_RANDOM
278
+ uint32_t scale_denom; // scaling denominator for non-key frame, from 8~16
279
+ uint32_t scale_kf_denom; // scaling denominator for key frame, from 8~16
280
+ } EbRefFrameScale;
281
+ typedef struct SvtAv1RoiMapEvt {
282
+ uint64_t start_picture_number;
283
+ uint8_t *b64_seg_map;
284
+ int16_t seg_qp[8]; // 8: MAX_SEGMENTS
285
+ int8_t max_seg_id;
286
+ struct SvtAv1RoiMapEvt *next;
287
+ } SvtAv1RoiMapEvt;
288
+ typedef struct SvtAv1RoiMap {
289
+ uint32_t evt_num;
290
+ SvtAv1RoiMapEvt *evt_list;
291
+ SvtAv1RoiMapEvt *cur_evt;
292
+ int16_t *qp_map;
293
+ char *buf;
294
+ } SvtAv1RoiMap;
295
+
296
+ typedef struct SvtAv1InputPicDef {
297
+ uint16_t input_luma_width; // input luma width aligned to 8, this is used during encoding
298
+ uint16_t input_luma_height; // input luma height aligned to 8, this is used during encoding
299
+ uint16_t input_pad_bottom;
300
+ uint16_t input_pad_right;
301
+ } SvtAv1InputPicDef;
302
+ typedef struct SvtAv1RateInfo {
303
+ // Sequence QP used in CRF/CQP algorithm. Over writes the sequence QP.
304
+ uint32_t seq_qp;
305
+ uint32_t target_bit_rate;
306
+ } SvtAv1RateInfo;
307
+
308
+ /*!\brief Structure containing film grain synthesis parameters for a frame
309
+ *
310
+ * This structure contains input parameters for film grain synthesis
311
+ */
312
+ typedef struct {
313
+ // Whether the decoder should apply film grain
314
+ int32_t apply_grain;
315
+
316
+ // Whether the decoder should update the film grain parameters from previous frame
317
+ int32_t update_parameters;
318
+
319
+ // 8 bit values indicating grain scaling points for the luma plane
320
+ int32_t scaling_points_y[14][2];
321
+ int32_t num_y_points; // value: 0..14
322
+
323
+ // 8 bit values indicating grain scaling points for the blue chroma plane
324
+ int32_t scaling_points_cb[10][2];
325
+ int32_t num_cb_points; // value: 0..10
326
+
327
+ // 8 bit values indicating grain scaling points for the red chroma plane
328
+ int32_t scaling_points_cr[10][2];
329
+ int32_t num_cr_points; // value: 0..10
330
+
331
+ // A value by which to shift scaling points, typically 8
332
+ int32_t scaling_shift; // values : 8..11
333
+
334
+ // Number of auto-regressive coefficients
335
+ int32_t ar_coeff_lag; // values: 0..3
336
+
337
+ // 8 bit values representing auto-regressive coefficients for each plane
338
+ int32_t ar_coeffs_y[24];
339
+ int32_t ar_coeffs_cb[25];
340
+ int32_t ar_coeffs_cr[25];
341
+
342
+ // Shift value: AR coeffs range
343
+ // 6: [-2, 2)
344
+ // 7: [-1, 1)
345
+ // 8: [-0.5, 0.5)
346
+ // 9: [-0.25, 0.25)
347
+ int32_t ar_coeff_shift; // values : 6..9
348
+
349
+ // A multiplier for the cb component used in derivation of the
350
+ // input index to the cb component scaling function.
351
+ int32_t cb_mult; // 8 bits
352
+ // A multiplier for the average luma component used in derivation of the input index to the cb
353
+ // component scaling function.
354
+ int32_t cb_luma_mult; // 8 bits
355
+ // An offset used in derivation of the input index to the cb component scaling function.
356
+ int32_t cb_offset; // 9 bits
357
+
358
+ // A multiplier for the cr component used in derivation of the
359
+ // input index to the cr component scaling function.
360
+ int32_t cr_mult; // 8 bits
361
+ // A multiplier for the average luma component used in derivation of the input index to the cr
362
+ // component scaling function.
363
+ int32_t cr_luma_mult; // 8 bits
364
+ // An offset used in derivation of the input index to the cr component scaling function.
365
+ int32_t cr_offset; // 9 bits
366
+
367
+ // Whether overlap between film grain blocks should be applied
368
+ int32_t overlap_flag;
369
+
370
+ // Whether to clip to studio range after film grain is generated
371
+ int32_t clip_to_restricted_range;
372
+
373
+ int32_t bit_depth; // video bit depth
374
+
375
+ // Whether to apply film grain to chroma planes based on the luma plane
376
+ int32_t chroma_scaling_from_luma;
377
+
378
+ // Specifies how much the random numbers should be scaled down during grain synthesis
379
+ int32_t grain_scale_shift;
380
+
381
+ // A random seed for the decoder to use for grain generation
382
+ uint16_t random_seed;
383
+
384
+ // Whether the encoder should ignore the ref frame map when coding film grain
385
+ int32_t ignore_ref;
386
+ } AomFilmGrain;
387
+
388
+ /**
389
+ CPU FLAGS
390
+ */
391
+ typedef uint64_t EbCpuFlags;
392
+ #ifdef ARCH_X86_64
393
+ #define EB_CPU_FLAGS_MMX (1 << 0)
394
+ #define EB_CPU_FLAGS_SSE (1 << 1)
395
+ #define EB_CPU_FLAGS_SSE2 (1 << 2)
396
+ #define EB_CPU_FLAGS_SSE3 (1 << 3)
397
+ #define EB_CPU_FLAGS_SSSE3 (1 << 4)
398
+ #define EB_CPU_FLAGS_SSE4_1 (1 << 5)
399
+ #define EB_CPU_FLAGS_SSE4_2 (1 << 6)
400
+ #define EB_CPU_FLAGS_AVX (1 << 7)
401
+ #define EB_CPU_FLAGS_AVX2 (1 << 8)
402
+ #define EB_CPU_FLAGS_AVX512F (1 << 9)
403
+ #define EB_CPU_FLAGS_AVX512CD (1 << 10)
404
+ #define EB_CPU_FLAGS_AVX512DQ (1 << 11)
405
+ #if !SVT_AV1_CHECK_VERSION(4, 0, 0)
406
+ // Deprecated as they were never used.
407
+ #define EB_CPU_FLAGS_AVX512ER (1 << 12)
408
+ #define EB_CPU_FLAGS_AVX512PF (1 << 13)
409
+ #endif
410
+ #define EB_CPU_FLAGS_AVX512BW (1 << 14)
411
+ #define EB_CPU_FLAGS_AVX512VL (1 << 15)
412
+ // AVX512 extensions supported on Icelake and later (Zen 4 and later on AMD)
413
+ #define EB_CPU_FLAGS_AVX512ICL (1 << 16)
414
+ #elif defined(ARCH_AARCH64)
415
+ // Armv8.0-A mandatory Neon instructions.
416
+ #define EB_CPU_FLAGS_NEON (1 << 0)
417
+ // Armv8.0-A optional CRC32 instructions, mandatory from Armv8.1-A.
418
+ #define EB_CPU_FLAGS_ARM_CRC32 (1 << 1)
419
+ // Armv8.2-A optional Neon dot-product instructions, mandatory from Armv8.4-A.
420
+ #define EB_CPU_FLAGS_NEON_DOTPROD (1 << 2)
421
+ // Armv8.2-A optional Neon i8mm instructions, mandatory from Armv8.6-A.
422
+ #define EB_CPU_FLAGS_NEON_I8MM (1 << 3)
423
+ // Armv8.2-A optional SVE instructions, mandatory from Armv9.0-A.
424
+ #define EB_CPU_FLAGS_SVE (1 << 4)
425
+ // Armv9.0-A SVE2 instructions.
426
+ #define EB_CPU_FLAGS_SVE2 (1 << 5)
427
+
428
+ #endif
429
+ #define EB_CPU_FLAGS_INVALID (1ULL << (sizeof(EbCpuFlags) * 8ULL - 1ULL))
430
+ #define EB_CPU_FLAGS_ALL ((EB_CPU_FLAGS_INVALID >> 1) - 1)
431
+
432
+ #ifdef __cplusplus
433
+ }
434
+ #endif // __cplusplus
435
+
436
+ #endif // EbSvtAv1_h