@revizly/sharp-libvips-dev 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/include/cpuinfo.h +2319 -0
- package/include/fontconfig/fontconfig.h +1 -1
- package/include/harfbuzz/hb-common.h +1 -431
- package/include/harfbuzz/hb-deprecated.h +80 -2
- package/include/harfbuzz/hb-draw.h +2 -10
- package/include/harfbuzz/hb-face.h +1 -1
- package/include/harfbuzz/hb-font.h +55 -36
- package/include/harfbuzz/hb-paint.h +5 -3
- package/include/harfbuzz/hb-script-list.h +484 -0
- package/include/harfbuzz/hb-subset.h +5 -2
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/libheif/heif.h +2 -0
- package/include/libheif/heif_version.h +2 -2
- package/include/libxml2/libxml/xmlerror.h +1 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/svt-av1/EbDebugMacros.h +83 -0
- package/include/svt-av1/EbSvtAv1.h +432 -0
- package/include/svt-av1/EbSvtAv1Enc.h +1067 -0
- package/include/svt-av1/EbSvtAv1ErrorCodes.h +67 -0
- package/include/svt-av1/EbSvtAv1Formats.h +126 -0
- package/include/svt-av1/EbSvtAv1Metadata.h +156 -0
- package/package.json +1 -1
- package/versions.json +5 -4
|
@@ -0,0 +1,67 @@
|
|
|
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 EbSvtAv1ErrorCodes_h
|
|
13
|
+
#define EbSvtAv1ErrorCodes_h
|
|
14
|
+
|
|
15
|
+
#ifdef __cplusplus
|
|
16
|
+
extern "C" {
|
|
17
|
+
#endif // __cplusplus
|
|
18
|
+
|
|
19
|
+
#define CHECK_REPORT_ERROR(cond, app_callback_ptr, errorCode) \
|
|
20
|
+
{ \
|
|
21
|
+
if (!(cond)) { \
|
|
22
|
+
(app_callback_ptr)->error_handler(((app_callback_ptr)->handle), (errorCode)); \
|
|
23
|
+
while (1) \
|
|
24
|
+
; \
|
|
25
|
+
} \
|
|
26
|
+
}
|
|
27
|
+
#define CHECK_REPORT_ERROR_NC(app_callback_ptr, errorCode) \
|
|
28
|
+
{ \
|
|
29
|
+
{ \
|
|
30
|
+
(app_callback_ptr)->error_handler(((app_callback_ptr)->handle), (errorCode)); \
|
|
31
|
+
while (1) \
|
|
32
|
+
; \
|
|
33
|
+
} \
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
typedef enum ENCODER_ERROR_CODES {
|
|
37
|
+
|
|
38
|
+
EB_ENC_CL_ERROR2 = 0x0501,
|
|
39
|
+
|
|
40
|
+
EB_ENC_EC_ERROR2 = 0x0701,
|
|
41
|
+
EB_ENC_EC_ERROR29 = 0x0722,
|
|
42
|
+
EB_ENC_RC_ERROR2 = 0x1401,
|
|
43
|
+
//EB_ENC_PM_ERRORS = 0x1300,
|
|
44
|
+
|
|
45
|
+
EB_ENC_PM_ERROR1 = 0x1301,
|
|
46
|
+
EB_ENC_PM_ERROR4 = 0x1304,
|
|
47
|
+
EB_ENC_PM_ERROR5 = 0x1305,
|
|
48
|
+
EB_ENC_PM_ERROR6 = 0x1306,
|
|
49
|
+
EB_ENC_PM_ERROR7 = 0x1307,
|
|
50
|
+
EB_ENC_PM_ERROR8 = 0x1308,
|
|
51
|
+
EB_ENC_PM_ERROR9 = 0x1309,
|
|
52
|
+
EB_ENC_PM_ERROR10 = 0x130a,
|
|
53
|
+
EB_ENC_ROB_OF_ERROR = 0x1601,
|
|
54
|
+
//EB_ENC_PD_ERRORS = 0x2100,
|
|
55
|
+
EB_ENC_PD_ERROR1 = 0x2100,
|
|
56
|
+
EB_ENC_PD_ERROR2 = 0x2101,
|
|
57
|
+
EB_ENC_PD_ERROR3 = 0x2102,
|
|
58
|
+
EB_ENC_PD_ERROR5 = 0x2104,
|
|
59
|
+
EB_ENC_PD_ERROR7 = 0x2106,
|
|
60
|
+
EB_ENC_PD_ERROR8 = 0x2107,
|
|
61
|
+
} ENCODER_ERROR_CODES;
|
|
62
|
+
|
|
63
|
+
#ifdef __cplusplus
|
|
64
|
+
}
|
|
65
|
+
#endif // __cplusplus
|
|
66
|
+
|
|
67
|
+
#endif // EbSvtAv1ErrorCodes_h
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright(c) 2019 Intel Corporation
|
|
3
|
+
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
|
|
4
|
+
*
|
|
5
|
+
* This source code is subject to the terms of the BSD 2 Clause License and
|
|
6
|
+
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
|
|
7
|
+
* was not distributed with this source code in the LICENSE file, you can
|
|
8
|
+
* obtain it at https://www.aomedia.org/license/software-license. If the Alliance for Open
|
|
9
|
+
* Media Patent License 1.0 was not distributed with this source code in the
|
|
10
|
+
* PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
#ifndef EbSvtAv1Formats_h
|
|
14
|
+
#define EbSvtAv1Formats_h
|
|
15
|
+
|
|
16
|
+
#ifdef __cplusplus
|
|
17
|
+
extern "C" {
|
|
18
|
+
#endif // __cplusplus
|
|
19
|
+
|
|
20
|
+
/*!\brief List of supported color primaries */
|
|
21
|
+
typedef enum EbColorPrimaries {
|
|
22
|
+
EB_CICP_CP_RESERVED_0 = 0, /**< For future use */
|
|
23
|
+
EB_CICP_CP_BT_709 = 1, /**< BT.709 */
|
|
24
|
+
EB_CICP_CP_UNSPECIFIED = 2, /**< Unspecified */
|
|
25
|
+
EB_CICP_CP_RESERVED_3 = 3, /**< For future use */
|
|
26
|
+
EB_CICP_CP_BT_470_M = 4, /**< BT.470 System M (historical) */
|
|
27
|
+
EB_CICP_CP_BT_470_B_G = 5, /**< BT.470 System B, G (historical) */
|
|
28
|
+
EB_CICP_CP_BT_601 = 6, /**< BT.601 */
|
|
29
|
+
EB_CICP_CP_SMPTE_240 = 7, /**< SMPTE 240 */
|
|
30
|
+
EB_CICP_CP_GENERIC_FILM = 8, /**< Generic film (color filters using illuminant C) */
|
|
31
|
+
EB_CICP_CP_BT_2020 = 9, /**< BT.2020, BT.2100 */
|
|
32
|
+
EB_CICP_CP_XYZ = 10, /**< SMPTE 428 (CIE 1921 XYZ) */
|
|
33
|
+
EB_CICP_CP_SMPTE_431 = 11, /**< SMPTE RP 431-2 */
|
|
34
|
+
EB_CICP_CP_SMPTE_432 = 12, /**< SMPTE EG 432-1 */
|
|
35
|
+
EB_CICP_CP_RESERVED_13 = 13, /**< For future use (values 13 - 21) */
|
|
36
|
+
EB_CICP_CP_EBU_3213 = 22, /**< EBU Tech. 3213-E */
|
|
37
|
+
EB_CICP_CP_RESERVED_23 = 23, /**< For future use (values 23 - 255) */
|
|
38
|
+
EB_CICP_CP_RESERVED_24 = 24, /**< For future use (values 24 - 255) */
|
|
39
|
+
EB_CICP_CP_RESERVED_25 = 25, /**< For future use (values 25 - 255) */
|
|
40
|
+
EB_CICP_CP_RESERVED_26 = 26 /**< For future use (values 26 - 255) */
|
|
41
|
+
} EbColorPrimaries; /**< alias for enum aom_color_primaries */
|
|
42
|
+
|
|
43
|
+
/*!\brief List of supported transfer functions */
|
|
44
|
+
typedef enum EbTransferCharacteristics {
|
|
45
|
+
EB_CICP_TC_RESERVED_0 = 0, /**< For future use */
|
|
46
|
+
EB_CICP_TC_BT_709 = 1, /**< BT.709 */
|
|
47
|
+
EB_CICP_TC_UNSPECIFIED = 2, /**< Unspecified */
|
|
48
|
+
EB_CICP_TC_RESERVED_3 = 3, /**< For future use */
|
|
49
|
+
EB_CICP_TC_BT_470_M = 4, /**< BT.470 System M (historical) */
|
|
50
|
+
EB_CICP_TC_BT_470_B_G = 5, /**< BT.470 System B, G (historical) */
|
|
51
|
+
EB_CICP_TC_BT_601 = 6, /**< BT.601 */
|
|
52
|
+
EB_CICP_TC_SMPTE_240 = 7, /**< SMPTE 240 M */
|
|
53
|
+
EB_CICP_TC_LINEAR = 8, /**< Linear */
|
|
54
|
+
EB_CICP_TC_LOG_100 = 9, /**< Logarithmic (100 : 1 range) */
|
|
55
|
+
EB_CICP_TC_LOG_100_SQRT10 = 10, /**< Logarithmic (100 * Sqrt(10) : 1 range) */
|
|
56
|
+
EB_CICP_TC_IEC_61966 = 11, /**< IEC 61966-2-4 */
|
|
57
|
+
EB_CICP_TC_BT_1361 = 12, /**< BT.1361 */
|
|
58
|
+
EB_CICP_TC_SRGB = 13, /**< sRGB or sYCC*/
|
|
59
|
+
EB_CICP_TC_BT_2020_10_BIT = 14, /**< BT.2020 10-bit systems */
|
|
60
|
+
EB_CICP_TC_BT_2020_12_BIT = 15, /**< BT.2020 12-bit systems */
|
|
61
|
+
EB_CICP_TC_SMPTE_2084 = 16, /**< SMPTE ST 2084, ITU BT.2100 PQ */
|
|
62
|
+
EB_CICP_TC_SMPTE_428 = 17, /**< SMPTE ST 428 */
|
|
63
|
+
EB_CICP_TC_HLG = 18, /**< BT.2100 HLG, ARIB STD-B67 */
|
|
64
|
+
EB_CICP_TC_RESERVED_19 = 19, /**< For future use (values 19-255) */
|
|
65
|
+
EB_CICP_TC_RESERVED_20 = 20, /**< For future use (values 20-255) */
|
|
66
|
+
EB_CICP_TC_RESERVED_21 = 21, /**< For future use (values 21-255) */
|
|
67
|
+
EB_CICP_TC_RESERVED_22 = 22, /**< For future use (values 22-255) */
|
|
68
|
+
EB_CICP_TC_RESERVED_23 = 23 /**< For future use (values 23-255) */
|
|
69
|
+
} EbTransferCharacteristics; /**< alias for enum aom_transfer_function */
|
|
70
|
+
|
|
71
|
+
/*!\brief List of supported matrix coefficients */
|
|
72
|
+
typedef enum EbMatrixCoefficients {
|
|
73
|
+
EB_CICP_MC_IDENTITY = 0, /**< Identity matrix */
|
|
74
|
+
EB_CICP_MC_BT_709 = 1, /**< BT.709 */
|
|
75
|
+
EB_CICP_MC_UNSPECIFIED = 2, /**< Unspecified */
|
|
76
|
+
EB_CICP_MC_RESERVED_3 = 3, /**< For future use */
|
|
77
|
+
EB_CICP_MC_FCC = 4, /**< US FCC 73.628 */
|
|
78
|
+
EB_CICP_MC_BT_470_B_G = 5, /**< BT.470 System B, G (historical) */
|
|
79
|
+
EB_CICP_MC_BT_601 = 6, /**< BT.601 */
|
|
80
|
+
EB_CICP_MC_SMPTE_240 = 7, /**< SMPTE 240 M */
|
|
81
|
+
EB_CICP_MC_SMPTE_YCGCO = 8, /**< YCgCo */
|
|
82
|
+
EB_CICP_MC_BT_2020_NCL = 9, /**< BT.2020 non-constant luminance, BT.2100 YCbCr */
|
|
83
|
+
EB_CICP_MC_BT_2020_CL = 10, /**< BT.2020 constant luminance */
|
|
84
|
+
EB_CICP_MC_SMPTE_2085 = 11, /**< SMPTE ST 2085 YDzDx */
|
|
85
|
+
EB_CICP_MC_CHROMAT_NCL = 12, /**< Chromaticity-derived non-constant luminance */
|
|
86
|
+
EB_CICP_MC_CHROMAT_CL = 13, /**< Chromaticity-derived constant luminance */
|
|
87
|
+
EB_CICP_MC_ICTCP = 14, /**< BT.2100 ICtCp */
|
|
88
|
+
EB_CICP_MC_RESERVED_15 = 15, /**< For future use (values 15-255) */
|
|
89
|
+
EB_CICP_MC_RESERVED_16 = 16, /**< For future use (values 16-255) */
|
|
90
|
+
EB_CICP_MC_RESERVED_17 = 17, /**< For future use (values 17-255) */
|
|
91
|
+
EB_CICP_MC_RESERVED_18 = 18 /**< For future use (values 18-255) */
|
|
92
|
+
} EbMatrixCoefficients;
|
|
93
|
+
|
|
94
|
+
/*!\brief List of supported color range */
|
|
95
|
+
typedef enum EbColorRange {
|
|
96
|
+
EB_CR_STUDIO_RANGE = 0, /**< Y [16..235], UV [16..240] */
|
|
97
|
+
EB_CR_FULL_RANGE = 1 /**< YUV/RGB [0..255] */
|
|
98
|
+
} EbColorRange; /**< alias for enum aom_color_range */
|
|
99
|
+
|
|
100
|
+
/* AV1 bit depth */
|
|
101
|
+
typedef enum EbBitDepth {
|
|
102
|
+
EB_EIGHT_BIT = 8,
|
|
103
|
+
EB_TEN_BIT = 10,
|
|
104
|
+
EB_TWELVE_BIT = 12,
|
|
105
|
+
EB_FOURTEEN_BIT = 14, // Not supported
|
|
106
|
+
EB_SIXTEEN_BIT = 16, // Not supported
|
|
107
|
+
EB_THIRTYTWO_BIT = 32, // Not supported
|
|
108
|
+
} EbBitDepth;
|
|
109
|
+
|
|
110
|
+
/* AV1 Chroma Format */
|
|
111
|
+
typedef enum EbColorFormat { EB_YUV400, EB_YUV420, EB_YUV422, EB_YUV444 } EbColorFormat;
|
|
112
|
+
|
|
113
|
+
/*!\brief List of chroma sample positions */
|
|
114
|
+
typedef enum EbChromaSamplePosition {
|
|
115
|
+
EB_CSP_UNKNOWN = 0, /**< Unknown */
|
|
116
|
+
EB_CSP_VERTICAL = 1, /**< Horizontally co-located with luma(0, 0)*/
|
|
117
|
+
/**< sample, between two vertical samples */
|
|
118
|
+
EB_CSP_COLOCATED = 2, /**< Co-located with luma(0, 0) sample */
|
|
119
|
+
EB_CSP_RESERVED = 3 /**< Reserved value */
|
|
120
|
+
} EbChromaSamplePosition; /**< alias for enum aom_transfer_function */
|
|
121
|
+
|
|
122
|
+
#ifdef __cplusplus
|
|
123
|
+
}
|
|
124
|
+
#endif // __cplusplus
|
|
125
|
+
|
|
126
|
+
#endif // EbSvtAv1Formats_h
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2021, Alliance for Open Media. All rights reserved
|
|
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 EbSvtAv1Metadata_h
|
|
13
|
+
#define EbSvtAv1Metadata_h
|
|
14
|
+
|
|
15
|
+
#ifdef __cplusplus
|
|
16
|
+
extern "C" {
|
|
17
|
+
#endif // __cplusplus
|
|
18
|
+
|
|
19
|
+
#include <stdio.h>
|
|
20
|
+
#include <string.h> //for 'memcpy'
|
|
21
|
+
#include "EbSvtAv1.h"
|
|
22
|
+
#include "EbSvtAv1Enc.h"
|
|
23
|
+
|
|
24
|
+
struct EbBufferHeaderType;
|
|
25
|
+
|
|
26
|
+
typedef enum EbAv1MetadataType {
|
|
27
|
+
EB_AV1_METADATA_TYPE_AOM_RESERVED_0 = 0,
|
|
28
|
+
EB_AV1_METADATA_TYPE_HDR_CLL = 1,
|
|
29
|
+
EB_AV1_METADATA_TYPE_HDR_MDCV = 2,
|
|
30
|
+
EB_AV1_METADATA_TYPE_SCALABILITY = 3,
|
|
31
|
+
EB_AV1_METADATA_TYPE_ITUT_T35 = 4,
|
|
32
|
+
EB_AV1_METADATA_TYPE_TIMECODE = 5,
|
|
33
|
+
EB_AV1_METADATA_TYPE_FRAME_SIZE = 6,
|
|
34
|
+
} EbAv1MetadataType;
|
|
35
|
+
|
|
36
|
+
/*!\brief Metadata payload. */
|
|
37
|
+
typedef struct SvtMetadata {
|
|
38
|
+
uint32_t type; /**< Metadata type */
|
|
39
|
+
uint8_t *payload; /**< Metadata payload data */
|
|
40
|
+
size_t sz; /**< Metadata payload size */
|
|
41
|
+
} SvtMetadataT;
|
|
42
|
+
|
|
43
|
+
/*!\brief Array of aom_metadata structs for an image. */
|
|
44
|
+
typedef struct SvtMetadataArray {
|
|
45
|
+
size_t sz; /* Number of metadata structs in the list */
|
|
46
|
+
SvtMetadataT **metadata_array; /* Array of metadata structs */
|
|
47
|
+
} SvtMetadataArrayT;
|
|
48
|
+
|
|
49
|
+
/*!\brief Frame size struct in metadata. */
|
|
50
|
+
typedef struct SvtMetadataFrameSize {
|
|
51
|
+
uint16_t width; /**< pixel width of frame */
|
|
52
|
+
uint16_t height; /**< pixel height of frame */
|
|
53
|
+
uint16_t disp_width; /**< display pixel width of frame */
|
|
54
|
+
uint16_t disp_height; /**< display pixel height of frame */
|
|
55
|
+
uint16_t stride; /**< pixel stride of frame */
|
|
56
|
+
uint16_t subsampling_x; /**< subsampling of Cb/Cr in width */
|
|
57
|
+
uint16_t subsampling_y; /**< subsampling of Cb/Cr in height */
|
|
58
|
+
} SvtMetadataFrameSizeT;
|
|
59
|
+
|
|
60
|
+
/*!\brief Allocate memory for SvtMetadataT struct.
|
|
61
|
+
*
|
|
62
|
+
* Allocates storage for the metadata payload, sets its type and copies the
|
|
63
|
+
* payload data into the SvtMetadataT struct. A metadata payload buffer of size
|
|
64
|
+
* sz is allocated and sz bytes are copied from data into the payload buffer.
|
|
65
|
+
*
|
|
66
|
+
* \param[in] type Metadata type
|
|
67
|
+
* \param[in] data Metadata data pointer
|
|
68
|
+
* \param[in] sz Metadata size
|
|
69
|
+
*
|
|
70
|
+
* \return Returns the newly allocated SvtMetadataT struct. If data is NULL,
|
|
71
|
+
* sz is 0, or memory allocation fails, it returns NULL.
|
|
72
|
+
*/
|
|
73
|
+
EB_API SvtMetadataT *svt_metadata_alloc(const uint32_t type, const uint8_t *data, const size_t sz);
|
|
74
|
+
|
|
75
|
+
/*!\brief Free metadata struct.
|
|
76
|
+
*
|
|
77
|
+
* Free metadata struct and its buffer.
|
|
78
|
+
*
|
|
79
|
+
* \param[in] ptr Metadata struct pointer
|
|
80
|
+
*/
|
|
81
|
+
EB_API void svt_metadata_free(void *ptr);
|
|
82
|
+
|
|
83
|
+
/*!\brief Alloc memory for SvtMetadataArrayT struct.
|
|
84
|
+
*
|
|
85
|
+
* Allocate memory for SvtMetadataArrayT struct.
|
|
86
|
+
* If sz is 0 the SvtMetadataArrayT struct's internal buffer list will be
|
|
87
|
+
* NULL, but the SvtMetadataArrayT struct itself will still be allocated.
|
|
88
|
+
* Returns a pointer to the allocated struct or NULL on failure.
|
|
89
|
+
*
|
|
90
|
+
* \param[in] sz Size of internal metadata list buffer
|
|
91
|
+
*/
|
|
92
|
+
EB_API SvtMetadataArrayT *svt_metadata_array_alloc(const size_t sz);
|
|
93
|
+
|
|
94
|
+
/*!\brief Free metadata array struct.
|
|
95
|
+
*
|
|
96
|
+
* Free metadata array struct and all metadata structs inside.
|
|
97
|
+
*
|
|
98
|
+
* \param[in] arr Metadata array struct pointer
|
|
99
|
+
*/
|
|
100
|
+
EB_API void svt_metadata_array_free(void *arr);
|
|
101
|
+
|
|
102
|
+
/*!\brief Add metadata to image.
|
|
103
|
+
*
|
|
104
|
+
* Adds metadata to EbBufferHeaderType.
|
|
105
|
+
* Function makes a copy of the provided data parameter.
|
|
106
|
+
* Metadata insertion point is controlled by insert_flag.
|
|
107
|
+
*
|
|
108
|
+
* \param[in] buffer Buffer descriptor
|
|
109
|
+
* \param[in] type Metadata type
|
|
110
|
+
* \param[in] data Metadata contents
|
|
111
|
+
* \param[in] sz Metadata contents size
|
|
112
|
+
*
|
|
113
|
+
* \return Returns 0 on success. If buffer or data is NULL, sz is 0, or memory
|
|
114
|
+
* allocation fails, it returns -1.
|
|
115
|
+
*/
|
|
116
|
+
EB_API int svt_add_metadata(struct EbBufferHeaderType *buffer, const uint32_t type, const uint8_t *data,
|
|
117
|
+
const size_t sz);
|
|
118
|
+
|
|
119
|
+
/*!\brief Return metadata size.
|
|
120
|
+
*
|
|
121
|
+
* Returns the metadata size of the selected metadata given by type
|
|
122
|
+
*
|
|
123
|
+
* \param[in] metadata Metadata array struct pointer
|
|
124
|
+
* \param[in] type Metadata type descriptor
|
|
125
|
+
*/
|
|
126
|
+
EB_API size_t svt_metadata_size(SvtMetadataArrayT *metadata, const EbAv1MetadataType type);
|
|
127
|
+
|
|
128
|
+
/*!\brief Parse string into EbSvtAv1MasteringDisplayInfo struct.
|
|
129
|
+
*
|
|
130
|
+
* Splits a string in the format of "G(x,y)B(x,y)R(x,Y)WP(x,y)L(max,min)" into
|
|
131
|
+
* a EbSvtAv1MasteringDisplayInfo struct.
|
|
132
|
+
*
|
|
133
|
+
* \param[in] mdi Pointer to EbSvtAv1MasteringDisplayInfo struct
|
|
134
|
+
* \param[in] md_str String to parse
|
|
135
|
+
*
|
|
136
|
+
* \return Returns 1 on success. 0 on failure.
|
|
137
|
+
*/
|
|
138
|
+
EB_API int svt_aom_parse_mastering_display(struct EbSvtAv1MasteringDisplayInfo *mdi, const char *md_str);
|
|
139
|
+
|
|
140
|
+
/*!\brief Parse string into EbContentLightLevel struct.
|
|
141
|
+
*
|
|
142
|
+
* Splits a string in the format of "max_cll,max_fall" into
|
|
143
|
+
* a EbContentLightLevel struct.
|
|
144
|
+
*
|
|
145
|
+
* \param[in] cll Pointer to EbContentLightLevel struct
|
|
146
|
+
* \param[in] cll_str String to parse
|
|
147
|
+
*
|
|
148
|
+
* \return Returns 1 on success. 0 on failure.
|
|
149
|
+
*/
|
|
150
|
+
EB_API int svt_aom_parse_content_light_level(struct EbContentLightLevel *cll, const char *cll_str);
|
|
151
|
+
|
|
152
|
+
#ifdef __cplusplus
|
|
153
|
+
}
|
|
154
|
+
#endif // __cplusplus
|
|
155
|
+
|
|
156
|
+
#endif // EbSvtAv1Metadata_h
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revizly/sharp-libvips-dev",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
"exif": "0.6.25",
|
|
8
8
|
"expat": "2.7.1",
|
|
9
9
|
"ffi": "3.4.8",
|
|
10
|
-
"fontconfig": "2.16.
|
|
10
|
+
"fontconfig": "2.16.2",
|
|
11
11
|
"freetype": "2.13.3",
|
|
12
12
|
"fribidi": "1.0.16",
|
|
13
13
|
"glib": "2.84.1",
|
|
14
|
-
"harfbuzz": "11.0
|
|
15
|
-
"heif": "1.19.
|
|
14
|
+
"harfbuzz": "11.2.0",
|
|
15
|
+
"heif": "1.19.8",
|
|
16
16
|
"highway": "1.2.0",
|
|
17
17
|
"imagequant": "2.4.1",
|
|
18
18
|
"lcms": "2.17",
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
"proxy-libintl": "0.4",
|
|
24
24
|
"rsvg": "2.60.0",
|
|
25
25
|
"spng": "0.7.4",
|
|
26
|
+
"svt-av1": "3.0.2",
|
|
26
27
|
"tiff": "4.7.0",
|
|
27
28
|
"vips": "8.16.1",
|
|
28
29
|
"webp": "1.5.0",
|
|
29
|
-
"xml": "2.14.
|
|
30
|
+
"xml": "2.14.2",
|
|
30
31
|
"zlib-ng": "2.2.4"
|
|
31
32
|
}
|