@pproenca/ffmpeg-darwin-x64 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,221 @@
1
+ /*
2
+ * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ /*!\file
12
+ * \brief Describes the vpx image descriptor and associated operations
13
+ *
14
+ */
15
+ #ifndef VPX_VPX_VPX_IMAGE_H_
16
+ #define VPX_VPX_VPX_IMAGE_H_
17
+
18
+ #ifdef __cplusplus
19
+ extern "C" {
20
+ #endif
21
+
22
+ /*!\brief Current ABI version number
23
+ *
24
+ * \internal
25
+ * If this file is altered in any way that changes the ABI, this value
26
+ * must be bumped. Examples include, but are not limited to, changing
27
+ * types, removing or reassigning enums, adding/removing/rearranging
28
+ * fields to structures
29
+ */
30
+ #define VPX_IMAGE_ABI_VERSION (5) /**<\hideinitializer*/
31
+
32
+ #define VPX_IMG_FMT_PLANAR 0x100 /**< Image is a planar format. */
33
+ #define VPX_IMG_FMT_UV_FLIP 0x200 /**< V plane precedes U in memory. */
34
+ #define VPX_IMG_FMT_HAS_ALPHA 0x400 /**< Image has an alpha channel. */
35
+ #define VPX_IMG_FMT_HIGHBITDEPTH 0x800 /**< Image uses 16bit framebuffer. */
36
+
37
+ /*!\brief List of supported image formats */
38
+ typedef enum vpx_img_fmt {
39
+ VPX_IMG_FMT_NONE,
40
+ VPX_IMG_FMT_YV12 =
41
+ VPX_IMG_FMT_PLANAR | VPX_IMG_FMT_UV_FLIP | 1, /**< planar YVU */
42
+ VPX_IMG_FMT_I420 = VPX_IMG_FMT_PLANAR | 2,
43
+ VPX_IMG_FMT_I422 = VPX_IMG_FMT_PLANAR | 5,
44
+ VPX_IMG_FMT_I444 = VPX_IMG_FMT_PLANAR | 6,
45
+ VPX_IMG_FMT_I440 = VPX_IMG_FMT_PLANAR | 7,
46
+ VPX_IMG_FMT_NV12 = VPX_IMG_FMT_PLANAR | 9,
47
+ VPX_IMG_FMT_I42016 = VPX_IMG_FMT_I420 | VPX_IMG_FMT_HIGHBITDEPTH,
48
+ VPX_IMG_FMT_I42216 = VPX_IMG_FMT_I422 | VPX_IMG_FMT_HIGHBITDEPTH,
49
+ VPX_IMG_FMT_I44416 = VPX_IMG_FMT_I444 | VPX_IMG_FMT_HIGHBITDEPTH,
50
+ VPX_IMG_FMT_I44016 = VPX_IMG_FMT_I440 | VPX_IMG_FMT_HIGHBITDEPTH
51
+ } vpx_img_fmt_t; /**< alias for enum vpx_img_fmt */
52
+
53
+ /*!\brief List of supported color spaces */
54
+ typedef enum vpx_color_space {
55
+ VPX_CS_UNKNOWN = 0, /**< Unknown */
56
+ VPX_CS_BT_601 = 1, /**< BT.601 */
57
+ VPX_CS_BT_709 = 2, /**< BT.709 */
58
+ VPX_CS_SMPTE_170 = 3, /**< SMPTE.170 */
59
+ VPX_CS_SMPTE_240 = 4, /**< SMPTE.240 */
60
+ VPX_CS_BT_2020 = 5, /**< BT.2020 */
61
+ VPX_CS_RESERVED = 6, /**< Reserved */
62
+ VPX_CS_SRGB = 7 /**< sRGB */
63
+ } vpx_color_space_t; /**< alias for enum vpx_color_space */
64
+
65
+ /*!\brief List of supported color range */
66
+ typedef enum vpx_color_range {
67
+ VPX_CR_STUDIO_RANGE = 0, /**<- Y [16..235], UV [16..240] (bit depth 8) */
68
+ /**<- Y [64..940], UV [64..960] (bit depth 10) */
69
+ /**<- Y [256..3760], UV [256..3840] (bit depth 12) */
70
+ VPX_CR_FULL_RANGE = 1 /**<- YUV/RGB [0..255] (bit depth 8) */
71
+ /**<- YUV/RGB [0..1023] (bit depth 10) */
72
+ /**<- YUV/RGB [0..4095] (bit depth 12) */
73
+ } vpx_color_range_t; /**< alias for enum vpx_color_range */
74
+
75
+ /**\brief Image Descriptor */
76
+ typedef struct vpx_image {
77
+ vpx_img_fmt_t fmt; /**< Image Format */
78
+ vpx_color_space_t cs; /**< Color Space */
79
+ vpx_color_range_t range; /**< Color Range */
80
+
81
+ /* Image storage dimensions */
82
+ unsigned int w; /**< Stored image width */
83
+ unsigned int h; /**< Stored image height */
84
+ unsigned int bit_depth; /**< Stored image bit-depth */
85
+
86
+ /* Image display dimensions */
87
+ unsigned int d_w; /**< Displayed image width */
88
+ unsigned int d_h; /**< Displayed image height */
89
+
90
+ /* Image intended rendering dimensions */
91
+ unsigned int r_w; /**< Intended rendering image width */
92
+ unsigned int r_h; /**< Intended rendering image height */
93
+
94
+ /* Chroma subsampling info */
95
+ unsigned int x_chroma_shift; /**< subsampling order, X */
96
+ unsigned int y_chroma_shift; /**< subsampling order, Y */
97
+
98
+ /* Image data pointers. */
99
+ #define VPX_PLANE_PACKED 0 /**< To be used for all packed formats */
100
+ #define VPX_PLANE_Y 0 /**< Y (Luminance) plane */
101
+ #define VPX_PLANE_U 1 /**< U (Chroma) plane */
102
+ #define VPX_PLANE_V 2 /**< V (Chroma) plane */
103
+ #define VPX_PLANE_ALPHA 3 /**< A (Transparency) plane */
104
+ unsigned char *planes[4]; /**< pointer to the top left pixel for each plane */
105
+ int stride[4]; /**< stride between rows for each plane */
106
+
107
+ int bps; /**< bits per sample (for packed formats) */
108
+
109
+ /*!\brief The following member may be set by the application to associate
110
+ * data with this image.
111
+ */
112
+ void *user_priv;
113
+
114
+ /* The following members should be treated as private. */
115
+ unsigned char *img_data; /**< private */
116
+ int img_data_owner; /**< private */
117
+ int self_allocd; /**< private */
118
+
119
+ void *fb_priv; /**< Frame buffer data associated with the image. */
120
+ } vpx_image_t; /**< alias for struct vpx_image */
121
+
122
+ /**\brief Representation of a rectangle on a surface */
123
+ typedef struct vpx_image_rect {
124
+ unsigned int x; /**< leftmost column */
125
+ unsigned int y; /**< topmost row */
126
+ unsigned int w; /**< width */
127
+ unsigned int h; /**< height */
128
+ } vpx_image_rect_t; /**< alias for struct vpx_image_rect */
129
+
130
+ /*!\brief Open a descriptor, allocating storage for the underlying image
131
+ *
132
+ * Returns a descriptor for storing an image of the given format. The
133
+ * storage for the descriptor is allocated on the heap.
134
+ *
135
+ * \param[in] img Pointer to storage for descriptor. If this parameter
136
+ * is NULL, the storage for the descriptor will be
137
+ * allocated on the heap.
138
+ * \param[in] fmt Format for the image
139
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
140
+ * (2^27).
141
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
142
+ * (2^27).
143
+ * \param[in] align Alignment, in bytes, of the image buffer and
144
+ * each row in the image (stride). Must not exceed
145
+ * 65536.
146
+ *
147
+ * \return Returns a pointer to the initialized image descriptor. If the img
148
+ * parameter is non-null, the value of the img parameter will be
149
+ * returned.
150
+ */
151
+ vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt,
152
+ unsigned int d_w, unsigned int d_h,
153
+ unsigned int align);
154
+
155
+ /*!\brief Open a descriptor, using existing storage for the underlying image
156
+ *
157
+ * Returns a descriptor for storing an image of the given format. The
158
+ * storage for descriptor has been allocated elsewhere, and a descriptor is
159
+ * desired to "wrap" that storage.
160
+ *
161
+ * \param[in] img Pointer to storage for descriptor. If this
162
+ * parameter is NULL, the storage for the descriptor
163
+ * will be allocated on the heap.
164
+ * \param[in] fmt Format for the image
165
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
166
+ * (2^27).
167
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
168
+ * (2^27).
169
+ * \param[in] stride_align Alignment, in bytes, of each row in the image
170
+ * (stride). Must not exceed 65536.
171
+ * \param[in] img_data Storage to use for the image. The storage must
172
+ * outlive the returned image descriptor; it can be
173
+ * disposed of after calling vpx_img_free().
174
+ *
175
+ * \return Returns a pointer to the initialized image descriptor. If the img
176
+ * parameter is non-null, the value of the img parameter will be
177
+ * returned.
178
+ */
179
+ vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w,
180
+ unsigned int d_h, unsigned int stride_align,
181
+ unsigned char *img_data);
182
+
183
+ /*!\brief Set the rectangle identifying the displayed portion of the image
184
+ *
185
+ * Updates the displayed rectangle (aka viewport) on the image surface to
186
+ * match the specified coordinates and size. Specifically, sets img->d_w,
187
+ * img->d_h, and elements of the img->planes[] array.
188
+ *
189
+ * \param[in] img Image descriptor
190
+ * \param[in] x leftmost column
191
+ * \param[in] y topmost row
192
+ * \param[in] w width
193
+ * \param[in] h height
194
+ *
195
+ * \return 0 if the requested rectangle is valid, nonzero (-1) otherwise.
196
+ */
197
+ int vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y,
198
+ unsigned int w, unsigned int h);
199
+
200
+ /*!\brief Flip the image vertically (top for bottom)
201
+ *
202
+ * Adjusts the image descriptor's pointers and strides to make the image
203
+ * be referenced upside-down.
204
+ *
205
+ * \param[in] img Image descriptor
206
+ */
207
+ void vpx_img_flip(vpx_image_t *img);
208
+
209
+ /*!\brief Close an image descriptor
210
+ *
211
+ * Frees all allocated storage associated with an image descriptor.
212
+ *
213
+ * \param[in] img Image descriptor
214
+ */
215
+ void vpx_img_free(vpx_image_t *img);
216
+
217
+ #ifdef __cplusplus
218
+ } // extern "C"
219
+ #endif
220
+
221
+ #endif // VPX_VPX_VPX_IMAGE_H_
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ #ifndef VPX_VPX_VPX_INTEGER_H_
12
+ #define VPX_VPX_VPX_INTEGER_H_
13
+
14
+ /* get ptrdiff_t, size_t, wchar_t, NULL */
15
+ #include <stddef.h> // IWYU pragma: export
16
+
17
+ #if defined(_MSC_VER)
18
+ #define VPX_FORCE_INLINE __forceinline
19
+ #define VPX_INLINE __inline
20
+ #else
21
+ #define VPX_FORCE_INLINE __inline__ __attribute__((always_inline))
22
+ // TODO(jbb): Allow a way to force inline off for older compilers.
23
+ #define VPX_INLINE inline
24
+ #endif
25
+
26
+ /* Assume platforms have the C99 standard integer types. */
27
+
28
+ #if defined(__cplusplus)
29
+ #if !defined(__STDC_FORMAT_MACROS)
30
+ #define __STDC_FORMAT_MACROS
31
+ #endif
32
+ #if !defined(__STDC_LIMIT_MACROS)
33
+ #define __STDC_LIMIT_MACROS
34
+ #endif
35
+ #endif // __cplusplus
36
+
37
+ #include <inttypes.h> // IWYU pragma: export
38
+ #include <stdint.h> // IWYU pragma: export
39
+
40
+ #endif // VPX_VPX_VPX_INTEGER_H_
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Copyright (c) 2023 The WebM project authors. All Rights Reserved.
3
+ *
4
+ * Use of this source code is governed by a BSD-style license
5
+ * that can be found in the LICENSE file in the root of the source
6
+ * tree. An additional intellectual property rights grant can be found
7
+ * in the file PATENTS. All contributing project authors may
8
+ * be found in the AUTHORS file in the root of the source tree.
9
+ */
10
+
11
+ /*!\file
12
+ * \brief Describes the TPL stats descriptor and associated operations
13
+ *
14
+ */
15
+ #ifndef VPX_VPX_VPX_TPL_H_
16
+ #define VPX_VPX_VPX_TPL_H_
17
+
18
+ #include "./vpx_integer.h"
19
+ #include "./vpx_codec.h"
20
+
21
+ #ifdef __cplusplus
22
+ extern "C" {
23
+ #endif
24
+
25
+ /*!\brief Current ABI version number
26
+ *
27
+ * \internal
28
+ * If this file is altered in any way that changes the ABI, this value
29
+ * must be bumped. Examples include, but are not limited to, changing
30
+ * types, removing or reassigning enums, adding/removing/rearranging
31
+ * fields to structures
32
+ */
33
+ #define VPX_TPL_ABI_VERSION 4 /**<\hideinitializer*/
34
+
35
+ /*!\brief Temporal dependency model stats for each block before propagation */
36
+ typedef struct VpxTplBlockStats {
37
+ int16_t row; /**< Pixel row of the top left corner */
38
+ int16_t col; /**< Pixel col of the top left corner */
39
+ int64_t intra_cost; /**< Intra cost */
40
+ int64_t inter_cost; /**< Inter cost */
41
+ int16_t mv_r; /**< Motion vector row */
42
+ int16_t mv_c; /**< Motion vector col */
43
+ int64_t srcrf_rate; /**< Rate from source ref frame */
44
+ int64_t srcrf_dist; /**< Distortion from source ref frame */
45
+ int64_t inter_pred_err; /**< Inter prediction error */
46
+ int64_t intra_pred_err; /**< Intra prediction error */
47
+ int ref_frame_index; /**< Ref frame index in the ref frame buffer */
48
+ } VpxTplBlockStats;
49
+
50
+ /*!\brief Temporal dependency model stats for each frame before propagation */
51
+ typedef struct VpxTplFrameStats {
52
+ int frame_width; /**< Frame width */
53
+ int frame_height; /**< Frame height */
54
+ int num_blocks; /**< Number of blocks. Size of block_stats_list */
55
+ VpxTplBlockStats *block_stats_list; /**< List of tpl stats for each block */
56
+ } VpxTplFrameStats;
57
+
58
+ /*!\brief Temporal dependency model stats for each GOP before propagation */
59
+ typedef struct VpxTplGopStats {
60
+ int size; /**< GOP size, also the size of frame_stats_list. */
61
+ VpxTplFrameStats *frame_stats_list; /**< List of tpl stats for each frame */
62
+ } VpxTplGopStats;
63
+
64
+ #ifdef __cplusplus
65
+ } // extern "C"
66
+ #endif
67
+
68
+ #endif // VPX_VPX_VPX_TPL_H_
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = __dirname;
Binary file
package/lib/libaom.a ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/lib/libdav1d.a ADDED
Binary file
package/lib/libogg.a ADDED
Binary file
package/lib/libopus.a ADDED
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/lib/libvpx.a ADDED
Binary file
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@pproenca/ffmpeg-darwin-x64",
3
+ "version": "0.1.7",
4
+ "description": "Prebuilt FFmpeg with BSD codecs (VP8/9, AV1, Opus, Vorbis) for darwin-x64",
5
+ "author": "Pedro Proenca",
6
+ "homepage": "https://github.com/pproenca/ffmpeg-prebuilds",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/pproenca/ffmpeg-prebuilds.git",
10
+ "directory": "npm/darwin-x64"
11
+ },
12
+ "license": "BSD-3-Clause",
13
+ "preferUnplugged": true,
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "files": [
18
+ "lib",
19
+ "include",
20
+ "versions.json"
21
+ ],
22
+ "type": "commonjs",
23
+ "exports": {
24
+ "./lib": "./lib/index.js",
25
+ "./include": "./include/index.js",
26
+ "./package": "./package.json",
27
+ "./versions": "./versions.json"
28
+ },
29
+ "os": [
30
+ "darwin"
31
+ ],
32
+ "cpu": [
33
+ "x64"
34
+ ]
35
+ }
package/versions.json ADDED
@@ -0,0 +1 @@
1
+ {"ffmpeg": "n7.1", "platform": "darwin-x64", "license": "BSD", "tier": "bsd", "codecs": "libvpx aom dav1d svt-av1 opus ogg vorbis"}