@pproenca/ffmpeg-darwin-arm64 0.1.7

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 (203) hide show
  1. package/include/aom/aom.h +127 -0
  2. package/include/aom/aom_codec.h +594 -0
  3. package/include/aom/aom_decoder.h +257 -0
  4. package/include/aom/aom_encoder.h +1154 -0
  5. package/include/aom/aom_external_partition.h +452 -0
  6. package/include/aom/aom_frame_buffer.h +84 -0
  7. package/include/aom/aom_image.h +462 -0
  8. package/include/aom/aom_integer.h +60 -0
  9. package/include/aom/aomcx.h +2288 -0
  10. package/include/aom/aomdx.h +607 -0
  11. package/include/dav1d/common.h +94 -0
  12. package/include/dav1d/data.h +117 -0
  13. package/include/dav1d/dav1d.h +329 -0
  14. package/include/dav1d/headers.h +444 -0
  15. package/include/dav1d/picture.h +157 -0
  16. package/include/dav1d/version.h +50 -0
  17. package/include/index.js +1 -0
  18. package/include/libavcodec/ac3_parser.h +36 -0
  19. package/include/libavcodec/adts_parser.h +37 -0
  20. package/include/libavcodec/avcodec.h +3128 -0
  21. package/include/libavcodec/avdct.h +88 -0
  22. package/include/libavcodec/avfft.h +149 -0
  23. package/include/libavcodec/bsf.h +332 -0
  24. package/include/libavcodec/codec.h +382 -0
  25. package/include/libavcodec/codec_desc.h +134 -0
  26. package/include/libavcodec/codec_id.h +669 -0
  27. package/include/libavcodec/codec_par.h +248 -0
  28. package/include/libavcodec/d3d11va.h +109 -0
  29. package/include/libavcodec/defs.h +337 -0
  30. package/include/libavcodec/dirac.h +135 -0
  31. package/include/libavcodec/dv_profile.h +82 -0
  32. package/include/libavcodec/dxva2.h +90 -0
  33. package/include/libavcodec/jni.h +67 -0
  34. package/include/libavcodec/mediacodec.h +103 -0
  35. package/include/libavcodec/packet.h +887 -0
  36. package/include/libavcodec/qsv.h +109 -0
  37. package/include/libavcodec/vdpau.h +171 -0
  38. package/include/libavcodec/version.h +45 -0
  39. package/include/libavcodec/version_major.h +52 -0
  40. package/include/libavcodec/videotoolbox.h +85 -0
  41. package/include/libavcodec/vorbis_parser.h +74 -0
  42. package/include/libavdevice/avdevice.h +397 -0
  43. package/include/libavdevice/version.h +45 -0
  44. package/include/libavdevice/version_major.h +43 -0
  45. package/include/libavfilter/avfilter.h +1379 -0
  46. package/include/libavfilter/buffersink.h +173 -0
  47. package/include/libavfilter/buffersrc.h +215 -0
  48. package/include/libavfilter/version.h +48 -0
  49. package/include/libavfilter/version_major.h +40 -0
  50. package/include/libavformat/avformat.h +3107 -0
  51. package/include/libavformat/avio.h +831 -0
  52. package/include/libavformat/version.h +47 -0
  53. package/include/libavformat/version_major.h +54 -0
  54. package/include/libavutil/adler32.h +63 -0
  55. package/include/libavutil/aes.h +69 -0
  56. package/include/libavutil/aes_ctr.h +99 -0
  57. package/include/libavutil/ambient_viewing_environment.h +72 -0
  58. package/include/libavutil/attributes.h +173 -0
  59. package/include/libavutil/audio_fifo.h +187 -0
  60. package/include/libavutil/avassert.h +78 -0
  61. package/include/libavutil/avconfig.h +6 -0
  62. package/include/libavutil/avstring.h +428 -0
  63. package/include/libavutil/avutil.h +362 -0
  64. package/include/libavutil/base64.h +72 -0
  65. package/include/libavutil/blowfish.h +82 -0
  66. package/include/libavutil/bprint.h +254 -0
  67. package/include/libavutil/bswap.h +105 -0
  68. package/include/libavutil/buffer.h +322 -0
  69. package/include/libavutil/camellia.h +70 -0
  70. package/include/libavutil/cast5.h +80 -0
  71. package/include/libavutil/channel_layout.h +751 -0
  72. package/include/libavutil/common.h +589 -0
  73. package/include/libavutil/cpu.h +145 -0
  74. package/include/libavutil/crc.h +102 -0
  75. package/include/libavutil/csp.h +150 -0
  76. package/include/libavutil/des.h +81 -0
  77. package/include/libavutil/detection_bbox.h +108 -0
  78. package/include/libavutil/dict.h +241 -0
  79. package/include/libavutil/display.h +109 -0
  80. package/include/libavutil/dovi_meta.h +396 -0
  81. package/include/libavutil/downmix_info.h +115 -0
  82. package/include/libavutil/encryption_info.h +205 -0
  83. package/include/libavutil/error.h +129 -0
  84. package/include/libavutil/eval.h +140 -0
  85. package/include/libavutil/executor.h +67 -0
  86. package/include/libavutil/ffversion.h +5 -0
  87. package/include/libavutil/fifo.h +242 -0
  88. package/include/libavutil/file.h +62 -0
  89. package/include/libavutil/film_grain_params.h +322 -0
  90. package/include/libavutil/frame.h +1175 -0
  91. package/include/libavutil/hash.h +264 -0
  92. package/include/libavutil/hdr_dynamic_metadata.h +376 -0
  93. package/include/libavutil/hdr_dynamic_vivid_metadata.h +346 -0
  94. package/include/libavutil/hmac.h +99 -0
  95. package/include/libavutil/hwcontext.h +598 -0
  96. package/include/libavutil/hwcontext_cuda.h +74 -0
  97. package/include/libavutil/hwcontext_d3d11va.h +178 -0
  98. package/include/libavutil/hwcontext_d3d12va.h +142 -0
  99. package/include/libavutil/hwcontext_drm.h +169 -0
  100. package/include/libavutil/hwcontext_dxva2.h +75 -0
  101. package/include/libavutil/hwcontext_mediacodec.h +61 -0
  102. package/include/libavutil/hwcontext_opencl.h +100 -0
  103. package/include/libavutil/hwcontext_qsv.h +87 -0
  104. package/include/libavutil/hwcontext_vaapi.h +117 -0
  105. package/include/libavutil/hwcontext_vdpau.h +44 -0
  106. package/include/libavutil/hwcontext_videotoolbox.h +106 -0
  107. package/include/libavutil/hwcontext_vulkan.h +382 -0
  108. package/include/libavutil/iamf.h +690 -0
  109. package/include/libavutil/imgutils.h +377 -0
  110. package/include/libavutil/intfloat.h +77 -0
  111. package/include/libavutil/intreadwrite.h +677 -0
  112. package/include/libavutil/lfg.h +81 -0
  113. package/include/libavutil/log.h +387 -0
  114. package/include/libavutil/lzo.h +66 -0
  115. package/include/libavutil/macros.h +80 -0
  116. package/include/libavutil/mastering_display_metadata.h +137 -0
  117. package/include/libavutil/mathematics.h +300 -0
  118. package/include/libavutil/md5.h +89 -0
  119. package/include/libavutil/mem.h +607 -0
  120. package/include/libavutil/motion_vector.h +57 -0
  121. package/include/libavutil/murmur3.h +115 -0
  122. package/include/libavutil/opt.h +1187 -0
  123. package/include/libavutil/parseutils.h +197 -0
  124. package/include/libavutil/pixdesc.h +440 -0
  125. package/include/libavutil/pixelutils.h +51 -0
  126. package/include/libavutil/pixfmt.h +716 -0
  127. package/include/libavutil/random_seed.h +57 -0
  128. package/include/libavutil/rational.h +225 -0
  129. package/include/libavutil/rc4.h +69 -0
  130. package/include/libavutil/replaygain.h +50 -0
  131. package/include/libavutil/ripemd.h +83 -0
  132. package/include/libavutil/samplefmt.h +269 -0
  133. package/include/libavutil/sha.h +90 -0
  134. package/include/libavutil/sha512.h +92 -0
  135. package/include/libavutil/spherical.h +243 -0
  136. package/include/libavutil/stereo3d.h +325 -0
  137. package/include/libavutil/tea.h +71 -0
  138. package/include/libavutil/threadmessage.h +115 -0
  139. package/include/libavutil/time.h +56 -0
  140. package/include/libavutil/timecode.h +199 -0
  141. package/include/libavutil/timestamp.h +85 -0
  142. package/include/libavutil/tree.h +137 -0
  143. package/include/libavutil/twofish.h +70 -0
  144. package/include/libavutil/tx.h +210 -0
  145. package/include/libavutil/uuid.h +146 -0
  146. package/include/libavutil/version.h +124 -0
  147. package/include/libavutil/video_enc_params.h +171 -0
  148. package/include/libavutil/video_hint.h +107 -0
  149. package/include/libavutil/xtea.h +94 -0
  150. package/include/libswresample/swresample.h +587 -0
  151. package/include/libswresample/version.h +46 -0
  152. package/include/libswresample/version_major.h +31 -0
  153. package/include/libswscale/swscale.h +460 -0
  154. package/include/libswscale/version.h +44 -0
  155. package/include/libswscale/version_major.h +35 -0
  156. package/include/ogg/config_types.h +26 -0
  157. package/include/ogg/ogg.h +209 -0
  158. package/include/ogg/os_types.h +158 -0
  159. package/include/opus/opus.h +1099 -0
  160. package/include/opus/opus_defines.h +830 -0
  161. package/include/opus/opus_multistream.h +660 -0
  162. package/include/opus/opus_projection.h +568 -0
  163. package/include/opus/opus_types.h +166 -0
  164. package/include/svt-av1/EbDebugMacros.h +88 -0
  165. package/include/svt-av1/EbSvtAv1.h +462 -0
  166. package/include/svt-av1/EbSvtAv1Enc.h +1112 -0
  167. package/include/svt-av1/EbSvtAv1ErrorCodes.h +67 -0
  168. package/include/svt-av1/EbSvtAv1ExtFrameBuf.h +64 -0
  169. package/include/svt-av1/EbSvtAv1Formats.h +126 -0
  170. package/include/svt-av1/EbSvtAv1Metadata.h +156 -0
  171. package/include/vorbis/codec.h +242 -0
  172. package/include/vorbis/vorbisenc.h +435 -0
  173. package/include/vorbis/vorbisfile.h +205 -0
  174. package/include/vpx/vp8.h +136 -0
  175. package/include/vpx/vp8cx.h +1118 -0
  176. package/include/vpx/vp8dx.h +228 -0
  177. package/include/vpx/vpx_codec.h +475 -0
  178. package/include/vpx/vpx_decoder.h +367 -0
  179. package/include/vpx/vpx_encoder.h +1150 -0
  180. package/include/vpx/vpx_ext_ratectrl.h +590 -0
  181. package/include/vpx/vpx_frame_buffer.h +83 -0
  182. package/include/vpx/vpx_image.h +221 -0
  183. package/include/vpx/vpx_integer.h +40 -0
  184. package/include/vpx/vpx_tpl.h +68 -0
  185. package/lib/index.js +1 -0
  186. package/lib/libSvtAv1Enc.a +0 -0
  187. package/lib/libaom.a +0 -0
  188. package/lib/libavcodec.a +0 -0
  189. package/lib/libavdevice.a +0 -0
  190. package/lib/libavfilter.a +0 -0
  191. package/lib/libavformat.a +0 -0
  192. package/lib/libavutil.a +0 -0
  193. package/lib/libdav1d.a +0 -0
  194. package/lib/libogg.a +0 -0
  195. package/lib/libopus.a +0 -0
  196. package/lib/libswresample.a +0 -0
  197. package/lib/libswscale.a +0 -0
  198. package/lib/libvorbis.a +0 -0
  199. package/lib/libvorbisenc.a +0 -0
  200. package/lib/libvorbisfile.a +0 -0
  201. package/lib/libvpx.a +0 -0
  202. package/package.json +35 -0
  203. package/versions.json +1 -0
@@ -0,0 +1,166 @@
1
+ /* (C) COPYRIGHT 1994-2002 Xiph.Org Foundation */
2
+ /* Modified by Jean-Marc Valin */
3
+ /*
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions
6
+ are met:
7
+
8
+ - Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ - Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
19
+ OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ */
27
+ /* opus_types.h based on ogg_types.h from libogg */
28
+
29
+ /**
30
+ @file opus_types.h
31
+ @brief Opus reference implementation types
32
+ */
33
+ #ifndef OPUS_TYPES_H
34
+ #define OPUS_TYPES_H
35
+
36
+ #define opus_int int /* used for counters etc; at least 16 bits */
37
+ #define opus_int64 long long
38
+ #define opus_int8 signed char
39
+
40
+ #define opus_uint unsigned int /* used for counters etc; at least 16 bits */
41
+ #define opus_uint64 unsigned long long
42
+ #define opus_uint8 unsigned char
43
+
44
+ /* Use the real stdint.h if it's there (taken from Paul Hsieh's pstdint.h) */
45
+ #if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_)) || defined (HAVE_STDINT_H))
46
+ #include <stdint.h>
47
+ # undef opus_int64
48
+ # undef opus_int8
49
+ # undef opus_uint64
50
+ # undef opus_uint8
51
+ typedef int8_t opus_int8;
52
+ typedef uint8_t opus_uint8;
53
+ typedef int16_t opus_int16;
54
+ typedef uint16_t opus_uint16;
55
+ typedef int32_t opus_int32;
56
+ typedef uint32_t opus_uint32;
57
+ typedef int64_t opus_int64;
58
+ typedef uint64_t opus_uint64;
59
+ #elif defined(_WIN32)
60
+
61
+ # if defined(__CYGWIN__)
62
+ # include <_G_config.h>
63
+ typedef _G_int32_t opus_int32;
64
+ typedef _G_uint32_t opus_uint32;
65
+ typedef _G_int16 opus_int16;
66
+ typedef _G_uint16 opus_uint16;
67
+ # elif defined(__MINGW32__)
68
+ typedef short opus_int16;
69
+ typedef unsigned short opus_uint16;
70
+ typedef int opus_int32;
71
+ typedef unsigned int opus_uint32;
72
+ # elif defined(__MWERKS__)
73
+ typedef int opus_int32;
74
+ typedef unsigned int opus_uint32;
75
+ typedef short opus_int16;
76
+ typedef unsigned short opus_uint16;
77
+ # else
78
+ /* MSVC/Borland */
79
+ typedef __int32 opus_int32;
80
+ typedef unsigned __int32 opus_uint32;
81
+ typedef __int16 opus_int16;
82
+ typedef unsigned __int16 opus_uint16;
83
+ # endif
84
+
85
+ #elif defined(__MACOS__)
86
+
87
+ # include <sys/types.h>
88
+ typedef SInt16 opus_int16;
89
+ typedef UInt16 opus_uint16;
90
+ typedef SInt32 opus_int32;
91
+ typedef UInt32 opus_uint32;
92
+
93
+ #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */
94
+
95
+ # include <sys/types.h>
96
+ typedef int16_t opus_int16;
97
+ typedef u_int16_t opus_uint16;
98
+ typedef int32_t opus_int32;
99
+ typedef u_int32_t opus_uint32;
100
+
101
+ #elif defined(__BEOS__)
102
+
103
+ /* Be */
104
+ # include <inttypes.h>
105
+ typedef int16 opus_int16;
106
+ typedef u_int16 opus_uint16;
107
+ typedef int32_t opus_int32;
108
+ typedef u_int32_t opus_uint32;
109
+
110
+ #elif defined (__EMX__)
111
+
112
+ /* OS/2 GCC */
113
+ typedef short opus_int16;
114
+ typedef unsigned short opus_uint16;
115
+ typedef int opus_int32;
116
+ typedef unsigned int opus_uint32;
117
+
118
+ #elif defined (DJGPP)
119
+
120
+ /* DJGPP */
121
+ typedef short opus_int16;
122
+ typedef unsigned short opus_uint16;
123
+ typedef int opus_int32;
124
+ typedef unsigned int opus_uint32;
125
+
126
+ #elif defined(R5900)
127
+
128
+ /* PS2 EE */
129
+ typedef int opus_int32;
130
+ typedef unsigned opus_uint32;
131
+ typedef short opus_int16;
132
+ typedef unsigned short opus_uint16;
133
+
134
+ #elif defined(__SYMBIAN32__)
135
+
136
+ /* Symbian GCC */
137
+ typedef signed short opus_int16;
138
+ typedef unsigned short opus_uint16;
139
+ typedef signed int opus_int32;
140
+ typedef unsigned int opus_uint32;
141
+
142
+ #elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X)
143
+
144
+ typedef short opus_int16;
145
+ typedef unsigned short opus_uint16;
146
+ typedef long opus_int32;
147
+ typedef unsigned long opus_uint32;
148
+
149
+ #elif defined(CONFIG_TI_C6X)
150
+
151
+ typedef short opus_int16;
152
+ typedef unsigned short opus_uint16;
153
+ typedef int opus_int32;
154
+ typedef unsigned int opus_uint32;
155
+
156
+ #else
157
+
158
+ /* Give up, take a reasonable guess */
159
+ typedef short opus_int16;
160
+ typedef unsigned short opus_uint16;
161
+ typedef int opus_int32;
162
+ typedef unsigned int opus_uint32;
163
+
164
+ #endif
165
+
166
+ #endif /* OPUS_TYPES_H */
@@ -0,0 +1,88 @@
1
+ /*
2
+ * Copyright(c) 2020 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
+ /*
13
+ * This file contains only debug macros that are used during the development
14
+ * and are supposed to be cleaned up every tag cycle
15
+ * all macros must have the following format:
16
+ * - adding a new feature should be prefixed by FTR_
17
+ * - tuning a feature should be prefixed by TUNE_
18
+ * - enabling a feature should be prefixed by EN_
19
+ * - disabling a feature should be prefixed by DIS_
20
+ * - bug fixes should be prefixed by FIX_
21
+ * - code refactors should be prefixed by RFCTR_
22
+ * - code cleanups should be prefixed by CLN_
23
+ * - optimizations should be prefixed by OPT_
24
+ * - all macros must have a coherent comment explaining what the MACRO is doing
25
+ * - #if 0 / #if 1 are not to be used
26
+ */
27
+
28
+ #ifndef EbDebugMacros_h
29
+ #define EbDebugMacros_h
30
+
31
+ // clang-format off
32
+
33
+ #ifdef __cplusplus
34
+ extern "C" {
35
+ #endif // __cplusplus
36
+
37
+ #define CLN_LP_LVLS 1 // Change --lp input to represent the levels of parallelization that are actually implemented in the code
38
+
39
+ //FOR DEBUGGING - Do not remove
40
+ #define OPT_LD_LATENCY2 1 // Latency optimization for low delay - to keep the Macro for backwards testing until 3.0
41
+ #define LOG_ENC_DONE 0 // log encoder job one
42
+ #define NO_ENCDEC 0 // bypass encDec to test cmpliance of MD. complained achieved when skip_flag is OFF. Port sample code from VCI-SW_AV1_Candidate1 branch
43
+ #define DEBUG_TPL 0 // Prints to debug TPL
44
+ #define DETAILED_FRAME_OUTPUT 0 // Prints detailed frame output from the library for debugging
45
+ #define TUNE_CHROMA_SSIM 0 // Allows for Chroma and SSIM BDR-based Tuning
46
+ #define TUNE_CQP_CHROMA_SSIM 0 // Tune CQP qp scaling towards improved chroma and SSIM BDR
47
+
48
+ #define MIN_PIC_PARALLELIZATION 0 // Use the minimum amount of picture parallelization
49
+ #define SRM_REPORT 0 // Report SRM status
50
+ #define LAD_MG_PRINT 0 // Report LAD
51
+ #define RC_NO_R2R 0 // This is a debugging flag for RC and makes encoder to run with no R2R in RC mode
52
+ // Note that the speed might impacted significantly
53
+ #if RC_NO_R2R
54
+ #define REMOVE_LP1_LPN_DIFF 1 // Disallow single-thread/multi-thread differences
55
+ #else
56
+ #define REMOVE_LP1_LPN_DIFF 0 // Disallow single-thread/multi-thread differences
57
+ #define FTR_KF_ON_FLY_SAMPLE 0 // Sample code to signal KF
58
+ #define FTR_RES_ON_FLY_SAMPLE 0 // Sample functions to change the resolution on the fly
59
+ #define FTR_RATE_ON_FLY_SAMPLE 0 // Sample functions to change bit rate
60
+ #endif
61
+ // Super-resolution debugging code
62
+ #define DEBUG_SCALING 0
63
+ #define DEBUG_TF 0
64
+ #define DEBUG_UPSCALING 0
65
+ #define DEBUG_SUPERRES_RECODE 0
66
+ #define DEBUG_SUPERRES_ENERGY 0
67
+ #define DEBUG_RC_CAP_LOG 0 // Prints for RC cap
68
+
69
+ // Switch frame debugging code
70
+ #define DEBUG_SFRAME 0
71
+
72
+ // Variance boost debugging code
73
+ #define DEBUG_VAR_BOOST 0
74
+ #define DEBUG_VAR_BOOST_QP 0
75
+ #define DEBUG_VAR_BOOST_STATS 0
76
+
77
+ // Quantization matrices
78
+ #define DEBUG_QM_LEVEL 0
79
+ #define DEBUG_STARTUP_MG_SIZE 0
80
+ #define DEBUG_SEGMENT_QP 0
81
+ #define DEBUG_ROI 0
82
+ #ifdef __cplusplus
83
+ }
84
+ #endif // __cplusplus
85
+
86
+ // clang-format on
87
+
88
+ #endif // EbDebugMacros_h