@libmedia/avutil 1.0.1 → 1.2.0

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 (98) hide show
  1. package/dist/cjs/struct/audiosample.cjs +113 -111
  2. package/dist/cjs/struct/audiosample.js.map +1 -1
  3. package/dist/cjs/struct/avbuffer.cjs +274 -269
  4. package/dist/cjs/struct/avbuffer.js.map +1 -1
  5. package/dist/cjs/struct/avcodecparameters.cjs +328 -326
  6. package/dist/cjs/struct/avcodecparameters.js.map +1 -1
  7. package/dist/cjs/struct/avdict.cjs +56 -54
  8. package/dist/cjs/struct/avdict.js.map +1 -1
  9. package/dist/cjs/struct/avframe.cjs +630 -625
  10. package/dist/cjs/struct/avframe.js.map +1 -1
  11. package/dist/cjs/struct/avpacket.cjs +232 -228
  12. package/dist/cjs/struct/avpacket.js.map +1 -1
  13. package/dist/cjs/struct/avpcmbuffer.cjs +116 -113
  14. package/dist/cjs/struct/avpcmbuffer.js.map +1 -1
  15. package/dist/cjs/struct/encryption.cjs +214 -211
  16. package/dist/cjs/struct/encryption.js.map +1 -1
  17. package/dist/cjs/struct/rational.cjs +28 -26
  18. package/dist/cjs/struct/rational.js.map +1 -1
  19. package/dist/esm/AVStream.d.ts +4 -4
  20. package/dist/esm/AVStream.js +9 -7
  21. package/dist/esm/AVStream.js.map +1 -1
  22. package/dist/esm/codecs/aac.d.ts +2 -2
  23. package/dist/esm/codecs/av1.d.ts +2 -2
  24. package/dist/esm/codecs/flac.d.ts +2 -2
  25. package/dist/esm/codecs/h264.d.ts +3 -3
  26. package/dist/esm/codecs/hevc.d.ts +3 -3
  27. package/dist/esm/codecs/mp3.d.ts +2 -2
  28. package/dist/esm/codecs/mpeg4.d.ts +1 -1
  29. package/dist/esm/codecs/mpegvideo.d.ts +1 -1
  30. package/dist/esm/codecs/opus.d.ts +2 -2
  31. package/dist/esm/codecs/vp8.d.ts +3 -3
  32. package/dist/esm/codecs/vp9.d.ts +3 -3
  33. package/dist/esm/codecs/vvc.d.ts +3 -3
  34. package/dist/esm/constant.d.ts +1 -1
  35. package/dist/esm/function/analyzeAVFormat.d.ts +1 -1
  36. package/dist/esm/function/analyzeUrlIOLoader.d.ts +1 -1
  37. package/dist/esm/function/audioData2AVFrame.d.ts +1 -1
  38. package/dist/esm/function/avPCMBuffer2AVFrame.d.ts +2 -2
  39. package/dist/esm/function/avframe2AudioData.d.ts +1 -1
  40. package/dist/esm/function/avframe2VideoFrame.d.ts +2 -2
  41. package/dist/esm/function/avpacket2EncodedAudioChunk.d.ts +1 -1
  42. package/dist/esm/function/avpacket2EncodedVideoChunk.d.ts +1 -1
  43. package/dist/esm/function/constant/webcodecs.d.ts +1 -1
  44. package/dist/esm/function/encodedAudioChunk2AVPacket.d.ts +1 -1
  45. package/dist/esm/function/encodedVideoChunk2AVPacket.d.ts +1 -1
  46. package/dist/esm/function/getAudioCodec.d.ts +1 -1
  47. package/dist/esm/function/getAudioMimeType.d.ts +1 -1
  48. package/dist/esm/function/getVideoCodec.d.ts +1 -1
  49. package/dist/esm/function/getVideoMimeType.d.ts +1 -1
  50. package/dist/esm/function/getWasmUrl.d.ts +1 -1
  51. package/dist/esm/function/hasAlphaChannel.d.ts +1 -1
  52. package/dist/esm/function/isHdr.d.ts +1 -1
  53. package/dist/esm/function/videoFrame2AVFrame.d.ts +2 -2
  54. package/dist/esm/implement/AVFramePoolImpl.d.ts +2 -2
  55. package/dist/esm/implement/AVPCMBufferPoolImpl.d.ts +2 -2
  56. package/dist/esm/implement/AVPacketPoolImpl.d.ts +2 -2
  57. package/dist/esm/index.d.ts +54 -54
  58. package/dist/esm/internal.d.ts +26 -26
  59. package/dist/esm/pixelFormatDescriptor.d.ts +1 -1
  60. package/dist/esm/sampleFormatDescriptor.d.ts +1 -1
  61. package/dist/esm/stringEnum.d.ts +5 -5
  62. package/dist/esm/struct/audiosample.d.ts +1 -1
  63. package/dist/esm/struct/audiosample.js +105 -106
  64. package/dist/esm/struct/avbuffer.js +262 -265
  65. package/dist/esm/struct/avbuffer.js.map +1 -1
  66. package/dist/esm/struct/avcodecparameters.d.ts +7 -7
  67. package/dist/esm/struct/avcodecparameters.js +328 -326
  68. package/dist/esm/struct/avcodecparameters.js.map +1 -1
  69. package/dist/esm/struct/avdict.js +50 -51
  70. package/dist/esm/struct/avframe.d.ts +6 -6
  71. package/dist/esm/struct/avframe.js +621 -623
  72. package/dist/esm/struct/avframe.js.map +1 -1
  73. package/dist/esm/struct/avpacket.d.ts +3 -3
  74. package/dist/esm/struct/avpacket.js +222 -223
  75. package/dist/esm/struct/avpacket.js.map +1 -1
  76. package/dist/esm/struct/avpcmbuffer.d.ts +1 -1
  77. package/dist/esm/struct/avpcmbuffer.js +110 -111
  78. package/dist/esm/struct/avsubtitle.d.ts +1 -1
  79. package/dist/esm/struct/encryption.js +205 -207
  80. package/dist/esm/struct/encryption.js.map +1 -1
  81. package/dist/esm/struct/rational.js +25 -25
  82. package/dist/esm/util/avbuffer.d.ts +2 -2
  83. package/dist/esm/util/avdict.d.ts +2 -2
  84. package/dist/esm/util/avdict.js +8 -6
  85. package/dist/esm/util/avdict.js.map +1 -1
  86. package/dist/esm/util/avframe.d.ts +2 -2
  87. package/dist/esm/util/avpacket.d.ts +2 -2
  88. package/dist/esm/util/avpacket.js +6 -4
  89. package/dist/esm/util/avpacket.js.map +1 -1
  90. package/dist/esm/util/channel.d.ts +1 -1
  91. package/dist/esm/util/codecparameters.d.ts +3 -3
  92. package/dist/esm/util/encryption.d.ts +1 -1
  93. package/dist/esm/util/pcm.d.ts +1 -1
  94. package/dist/esm/util/pixel.d.ts +1 -1
  95. package/dist/esm/util/rational.d.ts +1 -1
  96. package/dist/esm/util/sample.d.ts +1 -1
  97. package/dist/esm/util/serialize.d.ts +6 -6
  98. package/package.json +4 -3
@@ -12,120 +12,119 @@ export default class AVPCMBuffer {
12
12
  format;
13
13
  timestamp;
14
14
  duration;
15
+ static {
16
+ const prototype = this.prototype, map = new Map;
17
+ map.set("data", {
18
+ 0: 2,
19
+ 1: 1,
20
+ 2: 2,
21
+ 3: 0,
22
+ 4: 0,
23
+ 5: 0,
24
+ 6: 0,
25
+ 7: 0,
26
+ 8: 0
27
+ }), map.set("linesize", {
28
+ 0: 15,
29
+ 1: 0,
30
+ 2: 0,
31
+ 3: 0,
32
+ 4: 0,
33
+ 5: 0,
34
+ 6: 0,
35
+ 7: 4,
36
+ 8: 0
37
+ }), map.set("nbSamples", {
38
+ 0: 15,
39
+ 1: 0,
40
+ 2: 0,
41
+ 3: 0,
42
+ 4: 0,
43
+ 5: 0,
44
+ 6: 0,
45
+ 7: 8,
46
+ 8: 0
47
+ }), map.set("maxnbSamples", {
48
+ 0: 15,
49
+ 1: 0,
50
+ 2: 0,
51
+ 3: 0,
52
+ 4: 0,
53
+ 5: 0,
54
+ 6: 0,
55
+ 7: 12,
56
+ 8: 0
57
+ }), map.set("channels", {
58
+ 0: 15,
59
+ 1: 0,
60
+ 2: 0,
61
+ 3: 0,
62
+ 4: 0,
63
+ 5: 0,
64
+ 6: 0,
65
+ 7: 16,
66
+ 8: 0
67
+ }), map.set("sampleRate", {
68
+ 0: 15,
69
+ 1: 0,
70
+ 2: 0,
71
+ 3: 0,
72
+ 4: 0,
73
+ 5: 0,
74
+ 6: 0,
75
+ 7: 20,
76
+ 8: 0
77
+ }), map.set("format", {
78
+ 0: 15,
79
+ 1: 0,
80
+ 2: 0,
81
+ 3: 0,
82
+ 4: 0,
83
+ 5: 0,
84
+ 6: 0,
85
+ 7: 24,
86
+ 8: 0
87
+ }), map.set("timestamp", {
88
+ 0: 17,
89
+ 1: 0,
90
+ 2: 0,
91
+ 3: 0,
92
+ 4: 0,
93
+ 5: 0,
94
+ 6: 0,
95
+ 7: 32,
96
+ 8: 0
97
+ }), map.set("duration", {
98
+ 0: 19,
99
+ 1: 0,
100
+ 2: 0,
101
+ 3: 0,
102
+ 4: 0,
103
+ 5: 0,
104
+ 6: 0,
105
+ 7: 40,
106
+ 8: 0
107
+ }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 8),
108
+ cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 48), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
109
+ }
15
110
  }
16
111
 
17
- var prototype, map;
18
-
19
- prototype = AVPCMBuffer.prototype, (map = new Map).set("data", {
20
- 0: 2,
21
- 1: 1,
22
- 2: 2,
23
- 3: 0,
24
- 4: 0,
25
- 5: 0,
26
- 6: 0,
27
- 7: 0,
28
- 8: 0
29
- }), map.set("linesize", {
30
- 0: 15,
31
- 1: 0,
32
- 2: 0,
33
- 3: 0,
34
- 4: 0,
35
- 5: 0,
36
- 6: 0,
37
- 7: 4,
38
- 8: 0
39
- }), map.set("nbSamples", {
40
- 0: 15,
41
- 1: 0,
42
- 2: 0,
43
- 3: 0,
44
- 4: 0,
45
- 5: 0,
46
- 6: 0,
47
- 7: 8,
48
- 8: 0
49
- }), map.set("maxnbSamples", {
50
- 0: 15,
51
- 1: 0,
52
- 2: 0,
53
- 3: 0,
54
- 4: 0,
55
- 5: 0,
56
- 6: 0,
57
- 7: 12,
58
- 8: 0
59
- }), map.set("channels", {
60
- 0: 15,
61
- 1: 0,
62
- 2: 0,
63
- 3: 0,
64
- 4: 0,
65
- 5: 0,
66
- 6: 0,
67
- 7: 16,
68
- 8: 0
69
- }), map.set("sampleRate", {
70
- 0: 15,
71
- 1: 0,
72
- 2: 0,
73
- 3: 0,
74
- 4: 0,
75
- 5: 0,
76
- 6: 0,
77
- 7: 20,
78
- 8: 0
79
- }), map.set("format", {
80
- 0: 15,
81
- 1: 0,
82
- 2: 0,
83
- 3: 0,
84
- 4: 0,
85
- 5: 0,
86
- 6: 0,
87
- 7: 24,
88
- 8: 0
89
- }), map.set("timestamp", {
90
- 0: 17,
91
- 1: 0,
92
- 2: 0,
93
- 3: 0,
94
- 4: 0,
95
- 5: 0,
96
- 6: 0,
97
- 7: 32,
98
- 8: 0
99
- }), map.set("duration", {
100
- 0: 19,
101
- 1: 0,
102
- 2: 0,
103
- 3: 0,
104
- 4: 0,
105
- 5: 0,
106
- 6: 0,
107
- 7: 40,
108
- 8: 0
109
- }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 8),
110
- cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 48), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
111
-
112
112
  export class AVPCMBufferRef extends AVPCMBuffer {
113
113
  refCount;
114
+ static {
115
+ const prototype = this.prototype, map = new Map;
116
+ map.set("refCount", {
117
+ 0: 16,
118
+ 1: 0,
119
+ 2: 0,
120
+ 3: 0,
121
+ 4: 0,
122
+ 5: 0,
123
+ 6: 0,
124
+ 7: 48,
125
+ 8: 0
126
+ }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 8),
127
+ cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 56), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
128
+ }
114
129
  }
115
-
116
- !function(prototype) {
117
- var map = new Map;
118
- map.set("refCount", {
119
- 0: 16,
120
- 1: 0,
121
- 2: 0,
122
- 3: 0,
123
- 4: 0,
124
- 5: 0,
125
- 6: 0,
126
- 7: 48,
127
- 8: 0
128
- }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 8),
129
- cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 56), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
130
- }(AVPCMBufferRef.prototype);
131
130
  //# sourceMappingURL=avpcmbuffer.js.map
@@ -1,4 +1,4 @@
1
- import type { AVRational } from "./rational.d.ts";
1
+ import type { AVRational } from "./rational.ts";
2
2
  export declare const enum AVSubtitleType {
3
3
  SUBTITLE_NONE = 0,
4
4
  /**
@@ -5,33 +5,33 @@ import { definedMetaProperty as cheap__definedMetaProperty__0 } from "@libmedia/
5
5
  export class AVSubsampleEncryptionInfo {
6
6
  bytesOfClearData;
7
7
  bytesOfProtectedData;
8
+ static {
9
+ const prototype = this.prototype, map = new Map;
10
+ map.set("bytesOfClearData", {
11
+ 0: 8,
12
+ 1: 0,
13
+ 2: 0,
14
+ 3: 0,
15
+ 4: 0,
16
+ 5: 0,
17
+ 6: 0,
18
+ 7: 0,
19
+ 8: 0
20
+ }), map.set("bytesOfProtectedData", {
21
+ 0: 8,
22
+ 1: 0,
23
+ 2: 0,
24
+ 3: 0,
25
+ 4: 0,
26
+ 5: 0,
27
+ 6: 0,
28
+ 7: 4,
29
+ 8: 0
30
+ }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
31
+ cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 8), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
32
+ }
8
33
  }
9
34
 
10
- var prototype, map;
11
-
12
- prototype = AVSubsampleEncryptionInfo.prototype, (map = new Map).set("bytesOfClearData", {
13
- 0: 8,
14
- 1: 0,
15
- 2: 0,
16
- 3: 0,
17
- 4: 0,
18
- 5: 0,
19
- 6: 0,
20
- 7: 0,
21
- 8: 0
22
- }), map.set("bytesOfProtectedData", {
23
- 0: 8,
24
- 1: 0,
25
- 2: 0,
26
- 3: 0,
27
- 4: 0,
28
- 5: 0,
29
- 6: 0,
30
- 7: 4,
31
- 8: 0
32
- }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
33
- cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 8), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
34
-
35
35
  export class AVEncryptionInfo {
36
36
  scheme;
37
37
  cryptByteBlock;
@@ -42,104 +42,103 @@ export class AVEncryptionInfo {
42
42
  ivSize;
43
43
  subsamples;
44
44
  subsampleCount;
45
+ static {
46
+ const prototype = this.prototype, map = new Map;
47
+ map.set("scheme", {
48
+ 0: 8,
49
+ 1: 0,
50
+ 2: 0,
51
+ 3: 0,
52
+ 4: 0,
53
+ 5: 0,
54
+ 6: 0,
55
+ 7: 0,
56
+ 8: 0
57
+ }), map.set("cryptByteBlock", {
58
+ 0: 8,
59
+ 1: 0,
60
+ 2: 0,
61
+ 3: 0,
62
+ 4: 0,
63
+ 5: 0,
64
+ 6: 0,
65
+ 7: 4,
66
+ 8: 0
67
+ }), map.set("skipByteBlock", {
68
+ 0: 8,
69
+ 1: 0,
70
+ 2: 0,
71
+ 3: 0,
72
+ 4: 0,
73
+ 5: 0,
74
+ 6: 0,
75
+ 7: 8,
76
+ 8: 0
77
+ }), map.set("keyId", {
78
+ 0: 2,
79
+ 1: 1,
80
+ 2: 1,
81
+ 3: 0,
82
+ 4: 0,
83
+ 5: 0,
84
+ 6: 0,
85
+ 7: 12,
86
+ 8: 0
87
+ }), map.set("keyIdSize", {
88
+ 0: 8,
89
+ 1: 0,
90
+ 2: 0,
91
+ 3: 0,
92
+ 4: 0,
93
+ 5: 0,
94
+ 6: 0,
95
+ 7: 16,
96
+ 8: 0
97
+ }), map.set("iv", {
98
+ 0: 2,
99
+ 1: 1,
100
+ 2: 1,
101
+ 3: 0,
102
+ 4: 0,
103
+ 5: 0,
104
+ 6: 0,
105
+ 7: 20,
106
+ 8: 0
107
+ }), map.set("ivSize", {
108
+ 0: 8,
109
+ 1: 0,
110
+ 2: 0,
111
+ 3: 0,
112
+ 4: 0,
113
+ 5: 0,
114
+ 6: 0,
115
+ 7: 24,
116
+ 8: 0
117
+ }), map.set("subsamples", {
118
+ 0: AVSubsampleEncryptionInfo,
119
+ 1: 1,
120
+ 2: 1,
121
+ 3: 0,
122
+ 4: 0,
123
+ 5: 0,
124
+ 6: 0,
125
+ 7: 28,
126
+ 8: 0
127
+ }), map.set("subsampleCount", {
128
+ 0: 8,
129
+ 1: 0,
130
+ 2: 0,
131
+ 3: 0,
132
+ 4: 0,
133
+ 5: 0,
134
+ 6: 0,
135
+ 7: 32,
136
+ 8: 0
137
+ }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
138
+ cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 36), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
139
+ }
45
140
  }
46
141
 
47
- !function(prototype) {
48
- var map = new Map;
49
- map.set("scheme", {
50
- 0: 8,
51
- 1: 0,
52
- 2: 0,
53
- 3: 0,
54
- 4: 0,
55
- 5: 0,
56
- 6: 0,
57
- 7: 0,
58
- 8: 0
59
- }), map.set("cryptByteBlock", {
60
- 0: 8,
61
- 1: 0,
62
- 2: 0,
63
- 3: 0,
64
- 4: 0,
65
- 5: 0,
66
- 6: 0,
67
- 7: 4,
68
- 8: 0
69
- }), map.set("skipByteBlock", {
70
- 0: 8,
71
- 1: 0,
72
- 2: 0,
73
- 3: 0,
74
- 4: 0,
75
- 5: 0,
76
- 6: 0,
77
- 7: 8,
78
- 8: 0
79
- }), map.set("keyId", {
80
- 0: 2,
81
- 1: 1,
82
- 2: 1,
83
- 3: 0,
84
- 4: 0,
85
- 5: 0,
86
- 6: 0,
87
- 7: 12,
88
- 8: 0
89
- }), map.set("keyIdSize", {
90
- 0: 8,
91
- 1: 0,
92
- 2: 0,
93
- 3: 0,
94
- 4: 0,
95
- 5: 0,
96
- 6: 0,
97
- 7: 16,
98
- 8: 0
99
- }), map.set("iv", {
100
- 0: 2,
101
- 1: 1,
102
- 2: 1,
103
- 3: 0,
104
- 4: 0,
105
- 5: 0,
106
- 6: 0,
107
- 7: 20,
108
- 8: 0
109
- }), map.set("ivSize", {
110
- 0: 8,
111
- 1: 0,
112
- 2: 0,
113
- 3: 0,
114
- 4: 0,
115
- 5: 0,
116
- 6: 0,
117
- 7: 24,
118
- 8: 0
119
- }), map.set("subsamples", {
120
- 0: AVSubsampleEncryptionInfo,
121
- 1: 1,
122
- 2: 1,
123
- 3: 0,
124
- 4: 0,
125
- 5: 0,
126
- 6: 0,
127
- 7: 28,
128
- 8: 0
129
- }), map.set("subsampleCount", {
130
- 0: 8,
131
- 1: 0,
132
- 2: 0,
133
- 3: 0,
134
- 4: 0,
135
- 5: 0,
136
- 6: 0,
137
- 7: 32,
138
- 8: 0
139
- }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
140
- cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 36), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
141
- }(AVEncryptionInfo.prototype);
142
-
143
142
  export class AVEncryptionInitInfo {
144
143
  systemId;
145
144
  systemIdSize;
@@ -149,91 +148,90 @@ export class AVEncryptionInitInfo {
149
148
  data;
150
149
  dataSize;
151
150
  next;
151
+ static {
152
+ const prototype = this.prototype, map = new Map;
153
+ map.set("systemId", {
154
+ 0: 2,
155
+ 1: 1,
156
+ 2: 1,
157
+ 3: 0,
158
+ 4: 0,
159
+ 5: 0,
160
+ 6: 0,
161
+ 7: 0,
162
+ 8: 0
163
+ }), map.set("systemIdSize", {
164
+ 0: 8,
165
+ 1: 0,
166
+ 2: 0,
167
+ 3: 0,
168
+ 4: 0,
169
+ 5: 0,
170
+ 6: 0,
171
+ 7: 4,
172
+ 8: 0
173
+ }), map.set("keyIds", {
174
+ 0: 2,
175
+ 1: 1,
176
+ 2: 2,
177
+ 3: 0,
178
+ 4: 0,
179
+ 5: 0,
180
+ 6: 0,
181
+ 7: 8,
182
+ 8: 0
183
+ }), map.set("numKeyIds", {
184
+ 0: 8,
185
+ 1: 0,
186
+ 2: 0,
187
+ 3: 0,
188
+ 4: 0,
189
+ 5: 0,
190
+ 6: 0,
191
+ 7: 12,
192
+ 8: 0
193
+ }), map.set("keyIdSize", {
194
+ 0: 8,
195
+ 1: 0,
196
+ 2: 0,
197
+ 3: 0,
198
+ 4: 0,
199
+ 5: 0,
200
+ 6: 0,
201
+ 7: 16,
202
+ 8: 0
203
+ }), map.set("data", {
204
+ 0: 2,
205
+ 1: 1,
206
+ 2: 1,
207
+ 3: 0,
208
+ 4: 0,
209
+ 5: 0,
210
+ 6: 0,
211
+ 7: 20,
212
+ 8: 0
213
+ }), map.set("dataSize", {
214
+ 0: 8,
215
+ 1: 0,
216
+ 2: 0,
217
+ 3: 0,
218
+ 4: 0,
219
+ 5: 0,
220
+ 6: 0,
221
+ 7: 24,
222
+ 8: 0
223
+ }), map.set("next", {
224
+ 0: AVEncryptionInitInfo,
225
+ 1: 1,
226
+ 2: 1,
227
+ 3: 0,
228
+ 4: 0,
229
+ 5: 0,
230
+ 6: 0,
231
+ 7: 28,
232
+ 8: 0
233
+ }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
234
+ cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 32), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
235
+ }
152
236
  }
153
-
154
- !function(prototype) {
155
- var map = new Map;
156
- map.set("systemId", {
157
- 0: 2,
158
- 1: 1,
159
- 2: 1,
160
- 3: 0,
161
- 4: 0,
162
- 5: 0,
163
- 6: 0,
164
- 7: 0,
165
- 8: 0
166
- }), map.set("systemIdSize", {
167
- 0: 8,
168
- 1: 0,
169
- 2: 0,
170
- 3: 0,
171
- 4: 0,
172
- 5: 0,
173
- 6: 0,
174
- 7: 4,
175
- 8: 0
176
- }), map.set("keyIds", {
177
- 0: 2,
178
- 1: 1,
179
- 2: 2,
180
- 3: 0,
181
- 4: 0,
182
- 5: 0,
183
- 6: 0,
184
- 7: 8,
185
- 8: 0
186
- }), map.set("numKeyIds", {
187
- 0: 8,
188
- 1: 0,
189
- 2: 0,
190
- 3: 0,
191
- 4: 0,
192
- 5: 0,
193
- 6: 0,
194
- 7: 12,
195
- 8: 0
196
- }), map.set("keyIdSize", {
197
- 0: 8,
198
- 1: 0,
199
- 2: 0,
200
- 3: 0,
201
- 4: 0,
202
- 5: 0,
203
- 6: 0,
204
- 7: 16,
205
- 8: 0
206
- }), map.set("data", {
207
- 0: 2,
208
- 1: 1,
209
- 2: 1,
210
- 3: 0,
211
- 4: 0,
212
- 5: 0,
213
- 6: 0,
214
- 7: 20,
215
- 8: 0
216
- }), map.set("dataSize", {
217
- 0: 8,
218
- 1: 0,
219
- 2: 0,
220
- 3: 0,
221
- 4: 0,
222
- 5: 0,
223
- 6: 0,
224
- 7: 24,
225
- 8: 0
226
- }), map.set("next", {
227
- 0: AVEncryptionInitInfo,
228
- 1: 1,
229
- 2: 1,
230
- 3: 0,
231
- 4: 0,
232
- 5: 0,
233
- 6: 0,
234
- 7: 28,
235
- 8: 0
236
- }), cheap__definedMetaProperty__0(prototype, cheap__symbolStruct__1, !0), cheap__definedMetaProperty__0(prototype, cheap__symbolStructMaxBaseTypeByteLength__2, 4),
237
- cheap__definedMetaProperty__0(prototype, cheap__symbolStructLength__3, 32), cheap__definedMetaProperty__0(prototype, cheap__symbolStructKeysMeta__4, map);
238
- }(AVEncryptionInitInfo.prototype);
239
237
  //# sourceMappingURL=encryption.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["AVSubsampleEncryptionInfo","bytesOfClearData","bytesOfProtectedData","AVEncryptionInfo","scheme","cryptByteBlock","skipByteBlock","keyId","keyIdSize","iv","ivSize","subsamples","subsampleCount","AVEncryptionInitInfo","systemId","systemIdSize","keyIds","numKeyIds","data","dataSize","next"],"sources":["../../../src/struct/encryption.ts"],"mappings":";;;;OA0BM,MAAOA;IAIXC;IAMAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CI,MAAOC;IAIXC;IAMAC;IAMAC;IAMAC;IACAC;IAOAC;IACAC;IAOAC;IACAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BI,MAAOC;IAMXC;IACAC;IAMAC;IAEAC;IAKAT;IAQAU;IACAC;IAIAC","ignoreList":[]}
1
+ {"version":3,"names":["AVSubsampleEncryptionInfo","bytesOfClearData","bytesOfProtectedData","AVEncryptionInfo","scheme","cryptByteBlock","skipByteBlock","keyId","keyIdSize","iv","ivSize","subsamples","subsampleCount","AVEncryptionInitInfo","systemId","systemIdSize","keyIds","numKeyIds","data","dataSize","next"],"sources":["../../../src/struct/encryption.ts"],"mappings":";;;;OA0BM,MAAOA;IAIXC;IAMAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2CI,MAAOC;IAIXC;IAMAC;IAMAC;IAMAC;IACAC;IAOAC;IACAC;IAOAC;IACAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BI,MAAOC;IAMXC;IACAC;IAMAC;IAEAC;IAKAT;IAQAU;IACAC;IAIAC","ignoreList":[]}