@imferno/wasm 3.0.2-beta.e660398 → 3.0.2-beta.e9bac53

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/README.md CHANGED
@@ -118,7 +118,7 @@ All exports are **async** (WASM must be initialized before use).
118
118
  | Field | Values | Default |
119
119
  |-------|--------|---------|
120
120
  | `coreSpec` | `"auto"`, `"v2013"`, `"v2016"`, `"v2020"` | auto-detect |
121
- | `app2eSpec` | `"auto"`, `"none"`, `"v2020"`, `"v2021"`, `"v2023"` | auto-detect |
121
+ | `app2eSpec` | `"auto"`, `"none"`, `"v2014"`, `"v2016"`, `"v2020"`, `"v2023"`, `"v2026"` | auto-detect |
122
122
  | `rules` | ESLint-style rules object (`{ [code]: severity }`) | all enabled |
123
123
 
124
124
  Rule severities: `"critical"`, `"error"`, `"warning"`, `"info"`, `"off"`.
package/codes.d.ts CHANGED
@@ -191,15 +191,90 @@ export declare const codes: {
191
191
  readonly CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound";
192
192
  readonly DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId";
193
193
  };
194
+ readonly ST2067_21_2014: {
195
+ readonly ColorSystem: "ST2067-21:2014:6.1/ColorSystem";
196
+ readonly BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel";
197
+ readonly WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel";
198
+ readonly ColorRange: "ST2067-21:2014:6.1.4/ColorRange";
199
+ readonly ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification";
200
+ readonly AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch";
201
+ };
202
+ readonly ST2067_21_2016: {
203
+ readonly ColorSystem: "ST2067-21:2016:6.1/ColorSystem";
204
+ readonly ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues";
205
+ readonly BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel";
206
+ readonly WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel";
207
+ readonly ColorRange: "ST2067-21:2016:6.3/ColorRange";
208
+ readonly ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification";
209
+ readonly AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch";
210
+ readonly MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL";
211
+ };
194
212
  readonly ST2067_21_2020: {
213
+ readonly FrameRate: "ST2067-21:2020:5.2/FrameRate";
214
+ readonly Resolution: "ST2067-21:2020:5.2/Resolution";
215
+ readonly ColorSystem: "ST2067-21:2020:6.2/ColorSystem";
216
+ readonly RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth";
217
+ readonly RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight";
218
+ readonly RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate";
219
+ readonly RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout";
220
+ readonly RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries";
221
+ readonly RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic";
222
+ readonly RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression";
223
+ readonly RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth";
224
+ readonly AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency";
225
+ readonly CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing";
226
+ readonly ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing";
227
+ readonly FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance";
228
+ readonly FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout";
229
+ readonly FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced";
230
+ readonly ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset";
231
+ readonly ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset";
232
+ readonly ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset";
233
+ readonly SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight";
234
+ readonly SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth";
235
+ readonly SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset";
236
+ readonly SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset";
237
+ readonly StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset";
238
+ readonly TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing";
239
+ readonly TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown";
240
+ readonly CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown";
241
+ readonly ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown";
242
+ readonly J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired";
243
+ readonly AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef";
244
+ readonly AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef";
245
+ readonly ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef";
246
+ readonly ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef";
247
+ readonly Palette: "ST2067-21:2020:6.3/Palette";
248
+ readonly PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout";
249
+ readonly ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection";
250
+ readonly ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues";
251
+ readonly AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth";
252
+ readonly ColorSiting: "ST2067-21:2020:6.4/ColorSiting";
253
+ readonly ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth";
254
+ readonly HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling";
255
+ readonly PaddingBits: "ST2067-21:2020:6.4/PaddingBits";
256
+ readonly ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder";
257
+ readonly VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling";
258
+ readonly BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel";
259
+ readonly ColorRange: "ST2067-21:2020:6.4.3/ColorRange";
260
+ readonly WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel";
261
+ readonly CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle";
262
+ readonly J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout";
263
+ readonly JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor";
264
+ readonly J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed";
265
+ readonly J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution";
266
+ readonly J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution";
267
+ readonly J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution";
268
+ readonly J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed";
269
+ readonly ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification";
270
+ readonly HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence";
195
271
  readonly AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch";
272
+ readonly SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple";
273
+ readonly MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL";
196
274
  };
197
275
  readonly ST2067_21_2023: {
198
276
  readonly FrameRate: "ST2067-21:2023:5.2/FrameRate";
199
277
  readonly Resolution: "ST2067-21:2023:5.2/Resolution";
200
- readonly EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag";
201
- readonly MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag";
202
- readonly RegionCode: "ST2067-21:2023:5.3/RegionCode";
203
278
  readonly ColorSystem: "ST2067-21:2023:6.2/ColorSystem";
204
279
  readonly RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth";
205
280
  readonly RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight";
@@ -209,8 +284,6 @@ export declare const codes: {
209
284
  readonly RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic";
210
285
  readonly RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression";
211
286
  readonly RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth";
212
- readonly RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount";
213
- readonly RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits";
214
287
  readonly AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency";
215
288
  readonly CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing";
216
289
  readonly ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing";
@@ -248,27 +321,81 @@ export declare const codes: {
248
321
  readonly BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel";
249
322
  readonly ColorRange: "ST2067-21:2023:6.4.3/ColorRange";
250
323
  readonly WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel";
251
- readonly AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate";
252
- readonly QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits";
253
324
  readonly CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle";
254
325
  readonly J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout";
255
326
  readonly J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities";
256
327
  readonly JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor";
257
- readonly J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed";
258
328
  readonly J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution";
259
329
  readonly J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution";
260
330
  readonly J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution";
331
+ readonly J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed";
261
332
  readonly ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification";
262
- readonly ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency";
263
- readonly ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI";
264
333
  readonly HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence";
265
334
  readonly AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch";
266
335
  readonly SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple";
267
336
  readonly MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL";
268
337
  };
269
- readonly ST2067_21_2025: {
270
- readonly FNTimedText: "ST2067-21:2025:5.6/FNTimedText";
271
- readonly HICTimedText: "ST2067-21:2025:5.6/HICTimedText";
338
+ readonly ST2067_21_2026: {
339
+ readonly FrameRate: "ST2067-21:2026:6.2.1/FrameRate";
340
+ readonly Resolution: "ST2067-21:2026:6.2.1/Resolution";
341
+ readonly ColorSystem: "ST2067-21:2026:7.2/ColorSystem";
342
+ readonly RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth";
343
+ readonly RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight";
344
+ readonly RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate";
345
+ readonly RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout";
346
+ readonly RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries";
347
+ readonly RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic";
348
+ readonly RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression";
349
+ readonly RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth";
350
+ readonly CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing";
351
+ readonly ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing";
352
+ readonly FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance";
353
+ readonly FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout";
354
+ readonly FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced";
355
+ readonly ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset";
356
+ readonly ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset";
357
+ readonly ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset";
358
+ readonly SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight";
359
+ readonly SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth";
360
+ readonly SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset";
361
+ readonly SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset";
362
+ readonly StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset";
363
+ readonly TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing";
364
+ readonly TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown";
365
+ readonly CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown";
366
+ readonly ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown";
367
+ readonly J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired";
368
+ readonly AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef";
369
+ readonly AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef";
370
+ readonly ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef";
371
+ readonly ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef";
372
+ readonly Palette: "ST2067-21:2026:7.3.1/Palette";
373
+ readonly PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout";
374
+ readonly ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection";
375
+ readonly ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues";
376
+ readonly AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth";
377
+ readonly ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting";
378
+ readonly ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth";
379
+ readonly HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling";
380
+ readonly PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits";
381
+ readonly ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder";
382
+ readonly VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling";
383
+ readonly BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel";
384
+ readonly ColorRange: "ST2067-21:2026:7.4.3/ColorRange";
385
+ readonly WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel";
386
+ readonly CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle";
387
+ readonly J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout";
388
+ readonly J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities";
389
+ readonly JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor";
390
+ readonly J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution";
391
+ readonly J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution";
392
+ readonly J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution";
393
+ readonly J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution";
394
+ readonly ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification";
395
+ readonly AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch";
396
+ readonly HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence";
397
+ readonly SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple";
398
+ readonly MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL";
272
399
  };
273
400
  readonly ST2067_201_2019: {
274
401
  readonly CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden";
@@ -307,7 +434,6 @@ export declare const codes: {
307
434
  readonly AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid";
308
435
  readonly SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing";
309
436
  readonly SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid";
310
- readonly ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero";
311
437
  readonly SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing";
312
438
  readonly MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing";
313
439
  readonly MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid";
package/codes.js CHANGED
@@ -191,15 +191,90 @@ export const codes = {
191
191
  CplNotFound: "ST2067-9:2018:7.3.1.1/CplNotFound",
192
192
  DuplicateCplId: "ST2067-9:2018:7.3.1.1/DuplicateCplId",
193
193
  },
194
+ ST2067_21_2014: {
195
+ ColorSystem: "ST2067-21:2014:6.1/ColorSystem",
196
+ BlackRefLevel: "ST2067-21:2014:6.1.4/BlackRefLevel",
197
+ WhiteRefLevel: "ST2067-21:2014:6.1.4/WhiteRefLevel",
198
+ ColorRange: "ST2067-21:2014:6.1.4/ColorRange",
199
+ ApplicationIdentification: "ST2067-21:2014:7/ApplicationIdentification",
200
+ AppIdMismatch: "ST2067-21:2014:7/AppIdMismatch",
201
+ },
202
+ ST2067_21_2016: {
203
+ ColorSystem: "ST2067-21:2016:6.1/ColorSystem",
204
+ ComponentRefValues: "ST2067-21:2016:6.2/ComponentRefValues",
205
+ BlackRefLevel: "ST2067-21:2016:6.3/BlackRefLevel",
206
+ WhiteRefLevel: "ST2067-21:2016:6.3/WhiteRefLevel",
207
+ ColorRange: "ST2067-21:2016:6.3/ColorRange",
208
+ ApplicationIdentification: "ST2067-21:2016:7.1/ApplicationIdentification",
209
+ AppIdMismatch: "ST2067-21:2016:7.1/AppIdMismatch",
210
+ MaxCLLMaxFALL: "ST2067-21:2016:7.2/MaxCLLMaxFALL",
211
+ },
194
212
  ST2067_21_2020: {
213
+ FrameRate: "ST2067-21:2020:5.2/FrameRate",
214
+ Resolution: "ST2067-21:2020:5.2/Resolution",
215
+ ColorSystem: "ST2067-21:2020:6.2/ColorSystem",
216
+ RequiredStoredWidth: "ST2067-21:2020:6.2/Required-StoredWidth",
217
+ RequiredStoredHeight: "ST2067-21:2020:6.2/Required-StoredHeight",
218
+ RequiredSampleRate: "ST2067-21:2020:6.2/Required-SampleRate",
219
+ RequiredFrameLayout: "ST2067-21:2020:6.2/Required-FrameLayout",
220
+ RequiredColorPrimaries: "ST2067-21:2020:6.2/Required-ColorPrimaries",
221
+ RequiredTransferCharacteristic: "ST2067-21:2020:6.2/Required-TransferCharacteristic",
222
+ RequiredPictureCompression: "ST2067-21:2020:6.2/Required-PictureCompression",
223
+ RequiredComponentDepth: "ST2067-21:2020:6.2/Required-ComponentDepth",
224
+ AlphaTransparency: "ST2067-21:2020:6.2.1/AlphaTransparency",
225
+ CodingEquationsMissing: "ST2067-21:2020:6.2.1/CodingEquationsMissing",
226
+ ColorPrimariesMissing: "ST2067-21:2020:6.2.1/ColorPrimariesMissing",
227
+ FieldDominance: "ST2067-21:2020:6.2.1/FieldDominance",
228
+ FrameLayout: "ST2067-21:2020:6.2.1/FrameLayout",
229
+ FrameLayoutInterlaced: "ST2067-21:2020:6.2.1/FrameLayoutInterlaced",
230
+ ImageAlignmentOffset: "ST2067-21:2020:6.2.1/ImageAlignmentOffset",
231
+ ImageEndOffset: "ST2067-21:2020:6.2.1/ImageEndOffset",
232
+ ImageStartOffset: "ST2067-21:2020:6.2.1/ImageStartOffset",
233
+ SampledHeight: "ST2067-21:2020:6.2.1/SampledHeight",
234
+ SampledWidth: "ST2067-21:2020:6.2.1/SampledWidth",
235
+ SampledXOffset: "ST2067-21:2020:6.2.1/SampledXOffset",
236
+ SampledYOffset: "ST2067-21:2020:6.2.1/SampledYOffset",
237
+ StoredF2Offset: "ST2067-21:2020:6.2.1/StoredF2Offset",
238
+ TransferCharacteristicMissing: "ST2067-21:2020:6.2.1/TransferCharacteristicMissing",
239
+ TransferCharacteristicUnknown: "ST2067-21:2020:6.2.2/TransferCharacteristicUnknown",
240
+ CodingEquationsUnknown: "ST2067-21:2020:6.2.3/CodingEquationsUnknown",
241
+ ColorPrimariesUnknown: "ST2067-21:2020:6.2.4/ColorPrimariesUnknown",
242
+ J2KRequired: "ST2067-21:2020:6.2.5/J2KRequired",
243
+ AlphaMaxRef: "ST2067-21:2020:6.3/AlphaMaxRef",
244
+ AlphaMinRef: "ST2067-21:2020:6.3/AlphaMinRef",
245
+ ComponentMaxRef: "ST2067-21:2020:6.3/ComponentMaxRef",
246
+ ComponentMinRef: "ST2067-21:2020:6.3/ComponentMinRef",
247
+ Palette: "ST2067-21:2020:6.3/Palette",
248
+ PaletteLayout: "ST2067-21:2020:6.3/PaletteLayout",
249
+ ScanningDirection: "ST2067-21:2020:6.3/ScanningDirection",
250
+ ComponentRefValues: "ST2067-21:2020:6.3.2/ComponentRefValues",
251
+ AlphaSampleDepth: "ST2067-21:2020:6.4/AlphaSampleDepth",
252
+ ColorSiting: "ST2067-21:2020:6.4/ColorSiting",
253
+ ComponentDepth: "ST2067-21:2020:6.4/ComponentDepth",
254
+ HorizontalSubsampling: "ST2067-21:2020:6.4/HorizontalSubsampling",
255
+ PaddingBits: "ST2067-21:2020:6.4/PaddingBits",
256
+ ReversedByteOrder: "ST2067-21:2020:6.4/ReversedByteOrder",
257
+ VerticalSubsampling: "ST2067-21:2020:6.4/VerticalSubsampling",
258
+ BlackRefLevel: "ST2067-21:2020:6.4.3/BlackRefLevel",
259
+ ColorRange: "ST2067-21:2020:6.4.3/ColorRange",
260
+ WhiteRefLevel: "ST2067-21:2020:6.4.3/WhiteRefLevel",
261
+ CodingStyle: "ST2067-21:2020:6.5.2/CodingStyle",
262
+ J2CLayout: "ST2067-21:2020:6.5.2/J2CLayout",
263
+ JPEG2000SubDescriptor: "ST2067-21:2020:6.5.2/JPEG2000SubDescriptor",
264
+ J2KHTNotAllowed: "ST2067-21:2020:6.2.5/J2K-HT-Not-Allowed",
265
+ J2K4KResolution: "ST2067-21:2020:6.2.5/J2K-4K-Resolution",
266
+ J2K2KResolution: "ST2067-21:2020:6.2.5/J2K-2K-Resolution",
267
+ J2KBCPResolution: "ST2067-21:2020:6.2.5/J2K-BCP-Resolution",
268
+ J2KProfileNotAllowed: "ST2067-21:2020:6.2.5/J2K-Profile-Not-Allowed",
269
+ ApplicationIdentification: "ST2067-21:2020:7.1/ApplicationIdentification",
270
+ HomogeneousImageEssence: "ST2067-21:2020:7.2/HomogeneousImageEssence",
195
271
  AppIdMismatch: "ST2067-21:2020:7.1/AppIdMismatch",
272
+ SegmentDurationMultiple: "ST2067-21:2020:7.4/SegmentDurationMultiple",
273
+ MaxCLLMaxFALL: "ST2067-21:2020:7.5/MaxCLLMaxFALL",
196
274
  },
197
275
  ST2067_21_2023: {
198
276
  FrameRate: "ST2067-21:2023:5.2/FrameRate",
199
277
  Resolution: "ST2067-21:2023:5.2/Resolution",
200
- EmptyLanguageTag: "ST2067-21:2023:5.3/EmptyLanguageTag",
201
- MalformedLanguageTag: "ST2067-21:2023:5.3/MalformedLanguageTag",
202
- RegionCode: "ST2067-21:2023:5.3/RegionCode",
203
278
  ColorSystem: "ST2067-21:2023:6.2/ColorSystem",
204
279
  RequiredStoredWidth: "ST2067-21:2023:6.2/Required-StoredWidth",
205
280
  RequiredStoredHeight: "ST2067-21:2023:6.2/Required-StoredHeight",
@@ -209,8 +284,6 @@ export const codes = {
209
284
  RequiredTransferCharacteristic: "ST2067-21:2023:6.2/Required-TransferCharacteristic",
210
285
  RequiredPictureCompression: "ST2067-21:2023:6.2/Required-PictureCompression",
211
286
  RequiredComponentDepth: "ST2067-21:2023:6.2/Required-ComponentDepth",
212
- RequiredChannelCount: "ST2067-21:2023:6.5/Required-ChannelCount",
213
- RequiredQuantizationBits: "ST2067-21:2023:6.5/Required-QuantizationBits",
214
287
  AlphaTransparency: "ST2067-21:2023:6.2.1/AlphaTransparency",
215
288
  CodingEquationsMissing: "ST2067-21:2023:6.2.1/CodingEquationsMissing",
216
289
  ColorPrimariesMissing: "ST2067-21:2023:6.2.1/ColorPrimariesMissing",
@@ -248,27 +321,81 @@ export const codes = {
248
321
  BlackRefLevel: "ST2067-21:2023:6.4.3/BlackRefLevel",
249
322
  ColorRange: "ST2067-21:2023:6.4.3/ColorRange",
250
323
  WhiteRefLevel: "ST2067-21:2023:6.4.3/WhiteRefLevel",
251
- AudioSampleRate: "ST2067-21:2023:6.5/AudioSampleRate",
252
- QuantizationBits: "ST2067-21:2023:6.5/QuantizationBits",
253
324
  CodingStyle: "ST2067-21:2023:6.5.2/CodingStyle",
254
325
  J2CLayout: "ST2067-21:2023:6.5.2/J2CLayout",
255
326
  J2KExtendedCapabilities: "ST2067-21:2023:6.5.2/J2KExtendedCapabilities",
256
327
  JPEG2000SubDescriptor: "ST2067-21:2023:6.5.2/JPEG2000SubDescriptor",
257
- J2KHTNotAllowed: "ST2067-21:2023:6.2.5/J2K-HT-Not-Allowed",
258
328
  J2K4KResolution: "ST2067-21:2023:6.2.5/J2K-4K-Resolution",
259
329
  J2K2KResolution: "ST2067-21:2023:6.2.5/J2K-2K-Resolution",
260
330
  J2KBCPResolution: "ST2067-21:2023:6.2.5/J2K-BCP-Resolution",
331
+ J2KProfileNotAllowed: "ST2067-21:2023:6.2.5/J2K-Profile-Not-Allowed",
261
332
  ApplicationIdentification: "ST2067-21:2023:7.1/ApplicationIdentification",
262
- ContentMaturityRatingAgency: "ST2067-21:2023:7.1/ContentMaturityRating-Agency",
263
- ContentMaturityRatingAgencyURI: "ST2067-21:2023:7.1/ContentMaturityRating-Agency-URI",
264
333
  HomogeneousImageEssence: "ST2067-21:2023:7.2/HomogeneousImageEssence",
265
334
  AppIdMismatch: "ST2067-21:2023:7.1/AppIdMismatch",
266
335
  SegmentDurationMultiple: "ST2067-21:2023:7.4/SegmentDurationMultiple",
267
336
  MaxCLLMaxFALL: "ST2067-21:2023:7.5/MaxCLLMaxFALL",
268
337
  },
269
- ST2067_21_2025: {
270
- FNTimedText: "ST2067-21:2025:5.6/FNTimedText",
271
- HICTimedText: "ST2067-21:2025:5.6/HICTimedText",
338
+ ST2067_21_2026: {
339
+ FrameRate: "ST2067-21:2026:6.2.1/FrameRate",
340
+ Resolution: "ST2067-21:2026:6.2.1/Resolution",
341
+ ColorSystem: "ST2067-21:2026:7.2/ColorSystem",
342
+ RequiredStoredWidth: "ST2067-21:2026:7.2.1.1/Required-StoredWidth",
343
+ RequiredStoredHeight: "ST2067-21:2026:7.2.1.1/Required-StoredHeight",
344
+ RequiredSampleRate: "ST2067-21:2026:7.2.1.1/Required-SampleRate",
345
+ RequiredFrameLayout: "ST2067-21:2026:7.2.1.1/Required-FrameLayout",
346
+ RequiredColorPrimaries: "ST2067-21:2026:7.2.1.1/Required-ColorPrimaries",
347
+ RequiredTransferCharacteristic: "ST2067-21:2026:7.2.1.1/Required-TransferCharacteristic",
348
+ RequiredPictureCompression: "ST2067-21:2026:7.2.1.1/Required-PictureCompression",
349
+ RequiredComponentDepth: "ST2067-21:2026:7.4.1/Required-ComponentDepth",
350
+ CodingEquationsMissing: "ST2067-21:2026:7.2.1.1/CodingEquationsMissing",
351
+ ColorPrimariesMissing: "ST2067-21:2026:7.2.1.1/ColorPrimariesMissing",
352
+ FieldDominance: "ST2067-21:2026:7.2.1.1/FieldDominance",
353
+ FrameLayout: "ST2067-21:2026:7.2.1.4/FrameLayout",
354
+ FrameLayoutInterlaced: "ST2067-21:2026:6.2.1/FrameLayoutInterlaced",
355
+ ImageAlignmentOffset: "ST2067-21:2026:7.2.1.1/ImageAlignmentOffset",
356
+ ImageEndOffset: "ST2067-21:2026:7.2.1.1/ImageEndOffset",
357
+ ImageStartOffset: "ST2067-21:2026:7.2.1.1/ImageStartOffset",
358
+ SampledHeight: "ST2067-21:2026:7.2.1.1/SampledHeight",
359
+ SampledWidth: "ST2067-21:2026:7.2.1.1/SampledWidth",
360
+ SampledXOffset: "ST2067-21:2026:7.2.1.1/SampledXOffset",
361
+ SampledYOffset: "ST2067-21:2026:7.2.1.1/SampledYOffset",
362
+ StoredF2Offset: "ST2067-21:2026:7.2.1.1/StoredF2Offset",
363
+ TransferCharacteristicMissing: "ST2067-21:2026:7.2.1.1/TransferCharacteristicMissing",
364
+ TransferCharacteristicUnknown: "ST2067-21:2026:7.2.2/TransferCharacteristicUnknown",
365
+ CodingEquationsUnknown: "ST2067-21:2026:7.2.3/CodingEquationsUnknown",
366
+ ColorPrimariesUnknown: "ST2067-21:2026:7.2.4/ColorPrimariesUnknown",
367
+ J2KRequired: "ST2067-21:2026:7.2.5/J2KRequired",
368
+ AlphaMaxRef: "ST2067-21:2026:7.3.1/AlphaMaxRef",
369
+ AlphaMinRef: "ST2067-21:2026:7.3.1/AlphaMinRef",
370
+ ComponentMaxRef: "ST2067-21:2026:7.3.1/ComponentMaxRef",
371
+ ComponentMinRef: "ST2067-21:2026:7.3.1/ComponentMinRef",
372
+ Palette: "ST2067-21:2026:7.3.1/Palette",
373
+ PaletteLayout: "ST2067-21:2026:7.3.1/PaletteLayout",
374
+ ScanningDirection: "ST2067-21:2026:7.3.1/ScanningDirection",
375
+ ComponentRefValues: "ST2067-21:2026:7.3.2/ComponentRefValues",
376
+ AlphaSampleDepth: "ST2067-21:2026:7.4.1/AlphaSampleDepth",
377
+ ColorSiting: "ST2067-21:2026:7.4.1/ColorSiting",
378
+ ComponentDepth: "ST2067-21:2026:7.4.1/ComponentDepth",
379
+ HorizontalSubsampling: "ST2067-21:2026:7.4.2/HorizontalSubsampling",
380
+ PaddingBits: "ST2067-21:2026:7.4.1/PaddingBits",
381
+ ReversedByteOrder: "ST2067-21:2026:7.4.1/ReversedByteOrder",
382
+ VerticalSubsampling: "ST2067-21:2026:7.4.1/VerticalSubsampling",
383
+ BlackRefLevel: "ST2067-21:2026:7.4.3/BlackRefLevel",
384
+ ColorRange: "ST2067-21:2026:7.4.3/ColorRange",
385
+ WhiteRefLevel: "ST2067-21:2026:7.4.3/WhiteRefLevel",
386
+ CodingStyle: "ST2067-21:2026:7.5.1/CodingStyle",
387
+ J2CLayout: "ST2067-21:2026:7.5.2/J2CLayout",
388
+ J2KExtendedCapabilities: "ST2067-21:2026:7.5.1/J2KExtendedCapabilities",
389
+ JPEG2000SubDescriptor: "ST2067-21:2026:7.5.1/JPEG2000SubDescriptor",
390
+ J2K4KResolution: "ST2067-21:2026:7.2.5/J2K-4K-Resolution",
391
+ J2K2KResolution: "ST2067-21:2026:7.2.5/J2K-2K-Resolution",
392
+ J2KBCPResolution: "ST2067-21:2026:7.2.5/J2K-BCP-Resolution",
393
+ J2K8KResolution: "ST2067-21:2026:7.2.5/J2K-8K-Resolution",
394
+ ApplicationIdentification: "ST2067-21:2026:8.1/ApplicationIdentification",
395
+ AppIdMismatch: "ST2067-21:2026:8.1/AppIdMismatch",
396
+ HomogeneousImageEssence: "ST2067-21:2026:8.2/HomogeneousImageEssence",
397
+ SegmentDurationMultiple: "ST2067-21:2026:8.3.2/SegmentDurationMultiple",
398
+ MaxCLLMaxFALL: "ST2067-21:2026:8.3.3/MaxCLLMaxFALL",
272
399
  },
273
400
  ST2067_201_2019: {
274
401
  CodecForbidden: "ST2067-201:2019:5.9/CodecForbidden",
@@ -307,7 +434,6 @@ export const codes = {
307
434
  AudioSamplingRateInvalid: "ST2067-201:2021:5.9/AudioSamplingRateInvalid",
308
435
  SoundCompressionMissing: "ST2067-201:2021:5.9/SoundCompressionMissing",
309
436
  SoundCompressionInvalid: "ST2067-201:2021:5.9/SoundCompressionInvalid",
310
- ChannelCountNotZero: "ST2067-201:2021:5.9/ChannelCountNotZero",
311
437
  SubDescriptorMissing: "ST2067-201:2021:5.10.2/SubDescriptorMissing",
312
438
  MCATagSymbolMissing: "ST2067-201:2021:5.10.4/MCATagSymbolMissing",
313
439
  MCATagSymbolInvalid: "ST2067-201:2021:5.10.4/MCATagSymbolInvalid",
package/imferno_wasm.d.ts CHANGED
@@ -474,7 +474,7 @@ export type McaTagSymbol = "Sg51" | "Sg71" | "Sg71Ds" | "SgSt" | "SgMono" | "Iab
474
474
 
475
475
  export type TransferCharacteristic = "Linear" | "Bt709" | "Smpte240M" | "XvYcc709" | "Bt2020" | "PqSt2084" | "Hlg" | { Unknown: string };
476
476
 
477
- export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2000Broadcast" | "Jpeg2000Ht" | "Vc5" | "Mpeg2" | "H264" | "H265" | "ProRes" | "Av1" | { Unknown: string };
477
+ export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2000Imf8k" | "Jpeg2000Broadcast" | "Jpeg2000Ht" | "Vc5" | "Mpeg2" | "H264" | "H265" | "ProRes" | "Av1" | { Unknown: string };
478
478
 
479
479
 
480
480
  /**
@@ -488,7 +488,7 @@ export type VideoCodec = "Jpeg2000" | "Jpeg2000Imf2k" | "Jpeg2000Imf4k" | "Jpeg2
488
488
  *
489
489
  * Options (all optional):
490
490
  * - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
491
- * - `app2eSpec`: `"auto"` | `"none"` | `"v2020"` | `"v2021"` | `"v2023"`
491
+ * - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
492
492
  * - `rules`: ESLint-style rules configuration object
493
493
  */
494
494
  export function buildReport(files: any, options: any): any;
package/imferno_wasm.js CHANGED
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * Options (all optional):
13
13
  * - `coreSpec`: `"auto"` | `"v2013"` | `"v2016"` | `"v2020"`
14
- * - `app2eSpec`: `"auto"` | `"none"` | `"v2020"` | `"v2021"` | `"v2023"`
14
+ * - `app2eSpec`: `"auto"` | `"none"` | `"v2014"` | `"v2016"` | `"v2020"` | `"v2023"` | `"v2026"`
15
15
  * - `rules`: ESLint-style rules configuration object
16
16
  * @param {any} files
17
17
  * @param {any} options
Binary file
package/index.d.ts CHANGED
@@ -20,8 +20,8 @@ export function parseVolindexTyped(xmlContent: string): Promise<any>;
20
20
  export interface ValidateOptions {
21
21
  /** Core constraints spec version: "auto" | "v2013" | "v2016" | "v2020" */
22
22
  coreSpec?: "auto" | "v2013" | "v2016" | "v2020";
23
- /** Application profile version: "auto" | "none" | "v2020" | "v2021" | "v2023" */
24
- app2eSpec?: "auto" | "none" | "v2020" | "v2021" | "v2023";
23
+ /** Application profile version: "auto" | "none" | "v2014" | "v2016" | "v2020" | "v2023" | "v2026" */
24
+ app2eSpec?: "auto" | "none" | "v2014" | "v2016" | "v2020" | "v2023" | "v2026";
25
25
  /** ESLint-style rules configuration */
26
26
  rules?: Record<string, string>;
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imferno/wasm",
3
- "version": "3.0.2-beta.e660398",
3
+ "version": "3.0.2-beta.e9bac53",
4
4
  "description": "Fast, type-safe SMPTE ST 2067 IMF parser for JavaScript and TypeScript",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",