@libmedia/avutil 0.6.0 → 0.7.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.
- package/dist/cjs/AVStream.d.ts +150 -0
- package/dist/cjs/AVStream.js.map +1 -1
- package/dist/cjs/audiosamplefmt.d.ts +122 -99
- package/dist/cjs/codecs/ac3.d.ts +1 -2
- package/dist/cjs/codecs/ac3.js.map +1 -1
- package/dist/cjs/codecs/av1.js +2 -2
- package/dist/cjs/codecs/av1.js.map +1 -1
- package/dist/cjs/codecs/h264.d.ts +4 -4
- package/dist/cjs/codecs/h264.js.map +1 -1
- package/dist/cjs/codecs/hevc.d.ts +4 -4
- package/dist/cjs/codecs/hevc.js.map +1 -1
- package/dist/cjs/codecs/vp9.js +1 -1
- package/dist/cjs/codecs/vp9.js.map +1 -1
- package/dist/cjs/codecs/vvc.d.ts +4 -4
- package/dist/cjs/codecs/vvc.js.map +1 -1
- package/dist/cjs/enum.d.ts +3119 -0
- package/dist/cjs/enum.js +917 -0
- package/dist/cjs/enum.js.map +1 -0
- package/dist/cjs/function/audioData2AVFrame.js +1 -1
- package/dist/cjs/function/audioData2AVFrame.js.map +1 -1
- package/dist/cjs/function/avframe2AudioData.js +2 -1
- package/dist/cjs/function/avframe2AudioData.js.map +1 -1
- package/dist/cjs/function/avframe2VideoFrame.js +2 -2
- package/dist/cjs/function/avframe2VideoFrame.js.map +1 -1
- package/dist/cjs/function/encodedAudioChunk2AVPacket.js +1 -1
- package/dist/cjs/function/encodedAudioChunk2AVPacket.js.map +1 -1
- package/dist/cjs/function/encodedVideoChunk2AVPacket.js.map +1 -1
- package/dist/cjs/function/hasAlphaChannel.js +1 -1
- package/dist/cjs/function/hasAlphaChannel.js.map +1 -1
- package/dist/cjs/function/isHdr.js +1 -1
- package/dist/cjs/function/isHdr.js.map +1 -1
- package/dist/cjs/function/videoFrame2AVFrame.d.ts +1 -1
- package/dist/cjs/function/videoFrame2AVFrame.js +4 -4
- package/dist/cjs/function/videoFrame2AVFrame.js.map +1 -1
- package/dist/cjs/implement/AVFramePoolImpl.js +4 -5
- package/dist/cjs/implement/AVFramePoolImpl.js.map +1 -1
- package/dist/cjs/implement/AVPCMBufferPoolImpl.js +3 -4
- package/dist/cjs/implement/AVPCMBufferPoolImpl.js.map +1 -1
- package/dist/cjs/implement/AVPacketPoolImpl.js +3 -3
- package/dist/cjs/implement/AVPacketPoolImpl.js.map +1 -1
- package/dist/cjs/pixelFormatDescriptor.d.ts +3 -4
- package/dist/cjs/pixelFormatDescriptor.js +128 -1069
- package/dist/cjs/pixelFormatDescriptor.js.map +1 -1
- package/dist/cjs/pixfmt.d.ts +78 -82
- package/dist/cjs/stringEnum.d.ts +6 -152
- package/dist/cjs/stringEnum.js +47 -4
- package/dist/cjs/stringEnum.js.map +1 -1
- package/dist/cjs/util/avbuffer.js +2 -2
- package/dist/cjs/util/avbuffer.js.map +1 -1
- package/dist/cjs/util/avdict.js.map +1 -1
- package/dist/cjs/util/avframe.js +1 -1
- package/dist/cjs/util/avframe.js.map +1 -1
- package/dist/cjs/util/avpacket.js.map +1 -1
- package/dist/cjs/util/channel.d.ts +1 -1
- package/dist/cjs/util/channel.js +1 -1
- package/dist/cjs/util/channel.js.map +1 -1
- package/dist/cjs/util/codecparameters.js.map +1 -1
- package/dist/cjs/util/mem.d.ts +3 -3
- package/dist/cjs/util/mem.js.map +1 -1
- package/dist/cjs/util/pixel.js +5 -5
- package/dist/cjs/util/pixel.js.map +1 -1
- package/dist/cjs/util/sample.js.map +1 -1
- package/dist/cjs/util/serialize.js.map +1 -1
- package/dist/esm/AVStream.d.ts +150 -0
- package/dist/esm/AVStream.js.map +1 -1
- package/dist/esm/audiosamplefmt.d.ts +122 -99
- package/dist/esm/codecs/ac3.d.ts +1 -2
- package/dist/esm/codecs/ac3.js.map +1 -1
- package/dist/esm/codecs/av1.js +3 -3
- package/dist/esm/codecs/av1.js.map +1 -1
- package/dist/esm/codecs/h264.d.ts +4 -4
- package/dist/esm/codecs/h264.js.map +1 -1
- package/dist/esm/codecs/hevc.d.ts +4 -4
- package/dist/esm/codecs/hevc.js.map +1 -1
- package/dist/esm/codecs/vp9.js +2 -2
- package/dist/esm/codecs/vp9.js.map +1 -1
- package/dist/esm/codecs/vvc.d.ts +4 -4
- package/dist/esm/codecs/vvc.js.map +1 -1
- package/dist/esm/enum.d.ts +3119 -0
- package/dist/esm/enum.js +1098 -0
- package/dist/esm/enum.js.map +1 -0
- package/dist/esm/function/audioData2AVFrame.js +2 -2
- package/dist/esm/function/audioData2AVFrame.js.map +1 -1
- package/dist/esm/function/avframe2AudioData.js +4 -4
- package/dist/esm/function/avframe2AudioData.js.map +1 -1
- package/dist/esm/function/avframe2VideoFrame.js +3 -3
- package/dist/esm/function/avframe2VideoFrame.js.map +1 -1
- package/dist/esm/function/encodedAudioChunk2AVPacket.js +1 -1
- package/dist/esm/function/encodedAudioChunk2AVPacket.js.map +1 -1
- package/dist/esm/function/encodedVideoChunk2AVPacket.js.map +1 -1
- package/dist/esm/function/hasAlphaChannel.js +2 -2
- package/dist/esm/function/hasAlphaChannel.js.map +1 -1
- package/dist/esm/function/isHdr.js +2 -2
- package/dist/esm/function/isHdr.js.map +1 -1
- package/dist/esm/function/videoFrame2AVFrame.d.ts +1 -1
- package/dist/esm/function/videoFrame2AVFrame.js +5 -5
- package/dist/esm/function/videoFrame2AVFrame.js.map +1 -1
- package/dist/esm/implement/AVFramePoolImpl.js +1 -3
- package/dist/esm/implement/AVFramePoolImpl.js.map +1 -1
- package/dist/esm/implement/AVPCMBufferPoolImpl.js +1 -3
- package/dist/esm/implement/AVPCMBufferPoolImpl.js.map +1 -1
- package/dist/esm/implement/AVPacketPoolImpl.js +1 -3
- package/dist/esm/implement/AVPacketPoolImpl.js.map +1 -1
- package/dist/esm/pixelFormatDescriptor.d.ts +3 -4
- package/dist/esm/pixelFormatDescriptor.js +128 -1069
- package/dist/esm/pixelFormatDescriptor.js.map +1 -1
- package/dist/esm/pixfmt.d.ts +78 -82
- package/dist/esm/stringEnum.d.ts +6 -152
- package/dist/esm/stringEnum.js +48 -3
- package/dist/esm/stringEnum.js.map +1 -1
- package/dist/esm/util/avbuffer.js +2 -2
- package/dist/esm/util/avbuffer.js.map +1 -1
- package/dist/esm/util/avdict.js.map +1 -1
- package/dist/esm/util/avframe.js +2 -2
- package/dist/esm/util/avframe.js.map +1 -1
- package/dist/esm/util/avpacket.js.map +1 -1
- package/dist/esm/util/channel.d.ts +1 -1
- package/dist/esm/util/channel.js +2 -2
- package/dist/esm/util/channel.js.map +1 -1
- package/dist/esm/util/codecparameters.js.map +1 -1
- package/dist/esm/util/mem.d.ts +3 -3
- package/dist/esm/util/mem.js.map +1 -1
- package/dist/esm/util/pixel.js +6 -6
- package/dist/esm/util/pixel.js.map +1 -1
- package/dist/esm/util/sample.js.map +1 -1
- package/dist/esm/util/serialize.js.map +1 -1
- package/package.json +8 -3
|
@@ -2,1074 +2,133 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
log2ChromaW: 0,
|
|
134
|
-
log2ChromaH: 0,
|
|
135
|
-
flags: 16,
|
|
136
|
-
comp: [ {
|
|
137
|
-
plane: 0,
|
|
138
|
-
step: 1,
|
|
139
|
-
offset: 0,
|
|
140
|
-
shift: 0,
|
|
141
|
-
depth: 8
|
|
142
|
-
}, {
|
|
143
|
-
plane: 1,
|
|
144
|
-
step: 1,
|
|
145
|
-
offset: 0,
|
|
146
|
-
shift: 0,
|
|
147
|
-
depth: 8
|
|
148
|
-
}, {
|
|
149
|
-
plane: 2,
|
|
150
|
-
step: 1,
|
|
151
|
-
offset: 0,
|
|
152
|
-
shift: 0,
|
|
153
|
-
depth: 8
|
|
154
|
-
} ]
|
|
155
|
-
},
|
|
156
|
-
23: {
|
|
157
|
-
nbComponents: 3,
|
|
158
|
-
log2ChromaW: 1,
|
|
159
|
-
log2ChromaH: 1,
|
|
160
|
-
flags: 16,
|
|
161
|
-
comp: [ {
|
|
162
|
-
plane: 0,
|
|
163
|
-
step: 1,
|
|
164
|
-
offset: 0,
|
|
165
|
-
shift: 0,
|
|
166
|
-
depth: 8
|
|
167
|
-
}, {
|
|
168
|
-
plane: 1,
|
|
169
|
-
step: 2,
|
|
170
|
-
offset: 0,
|
|
171
|
-
shift: 0,
|
|
172
|
-
depth: 8
|
|
173
|
-
}, {
|
|
174
|
-
plane: 1,
|
|
175
|
-
step: 2,
|
|
176
|
-
offset: 1,
|
|
177
|
-
shift: 0,
|
|
178
|
-
depth: 8
|
|
179
|
-
} ]
|
|
180
|
-
},
|
|
181
|
-
59: {
|
|
182
|
-
nbComponents: 3,
|
|
183
|
-
log2ChromaW: 1,
|
|
184
|
-
log2ChromaH: 1,
|
|
185
|
-
flags: 17,
|
|
186
|
-
comp: [ {
|
|
187
|
-
plane: 0,
|
|
188
|
-
step: 1,
|
|
189
|
-
offset: 0,
|
|
190
|
-
shift: 0,
|
|
191
|
-
depth: 9
|
|
192
|
-
}, {
|
|
193
|
-
plane: 1,
|
|
194
|
-
step: 1,
|
|
195
|
-
offset: 0,
|
|
196
|
-
shift: 0,
|
|
197
|
-
depth: 9
|
|
198
|
-
}, {
|
|
199
|
-
plane: 2,
|
|
200
|
-
step: 1,
|
|
201
|
-
offset: 0,
|
|
202
|
-
shift: 0,
|
|
203
|
-
depth: 9
|
|
204
|
-
} ]
|
|
205
|
-
},
|
|
206
|
-
60: {
|
|
207
|
-
nbComponents: 3,
|
|
208
|
-
log2ChromaW: 1,
|
|
209
|
-
log2ChromaH: 1,
|
|
210
|
-
flags: 16,
|
|
211
|
-
comp: [ {
|
|
212
|
-
plane: 0,
|
|
213
|
-
step: 1,
|
|
214
|
-
offset: 0,
|
|
215
|
-
shift: 0,
|
|
216
|
-
depth: 9
|
|
217
|
-
}, {
|
|
218
|
-
plane: 1,
|
|
219
|
-
step: 1,
|
|
220
|
-
offset: 0,
|
|
221
|
-
shift: 0,
|
|
222
|
-
depth: 9
|
|
223
|
-
}, {
|
|
224
|
-
plane: 2,
|
|
225
|
-
step: 1,
|
|
226
|
-
offset: 0,
|
|
227
|
-
shift: 0,
|
|
228
|
-
depth: 9
|
|
229
|
-
} ]
|
|
230
|
-
},
|
|
231
|
-
61: {
|
|
232
|
-
nbComponents: 3,
|
|
233
|
-
log2ChromaW: 1,
|
|
234
|
-
log2ChromaH: 1,
|
|
235
|
-
flags: 17,
|
|
236
|
-
comp: [ {
|
|
237
|
-
plane: 0,
|
|
238
|
-
step: 1,
|
|
239
|
-
offset: 0,
|
|
240
|
-
shift: 0,
|
|
241
|
-
depth: 10
|
|
242
|
-
}, {
|
|
243
|
-
plane: 1,
|
|
244
|
-
step: 1,
|
|
245
|
-
offset: 0,
|
|
246
|
-
shift: 0,
|
|
247
|
-
depth: 10
|
|
248
|
-
}, {
|
|
249
|
-
plane: 2,
|
|
250
|
-
step: 1,
|
|
251
|
-
offset: 0,
|
|
252
|
-
shift: 0,
|
|
253
|
-
depth: 10
|
|
254
|
-
} ]
|
|
255
|
-
},
|
|
256
|
-
62: {
|
|
257
|
-
nbComponents: 3,
|
|
258
|
-
log2ChromaW: 1,
|
|
259
|
-
log2ChromaH: 1,
|
|
260
|
-
flags: 16,
|
|
261
|
-
comp: [ {
|
|
262
|
-
plane: 0,
|
|
263
|
-
step: 1,
|
|
264
|
-
offset: 0,
|
|
265
|
-
shift: 0,
|
|
266
|
-
depth: 10
|
|
267
|
-
}, {
|
|
268
|
-
plane: 1,
|
|
269
|
-
step: 1,
|
|
270
|
-
offset: 0,
|
|
271
|
-
shift: 0,
|
|
272
|
-
depth: 10
|
|
273
|
-
}, {
|
|
274
|
-
plane: 2,
|
|
275
|
-
step: 1,
|
|
276
|
-
offset: 0,
|
|
277
|
-
shift: 0,
|
|
278
|
-
depth: 10
|
|
279
|
-
} ]
|
|
280
|
-
},
|
|
281
|
-
122: {
|
|
282
|
-
nbComponents: 3,
|
|
283
|
-
log2ChromaW: 1,
|
|
284
|
-
log2ChromaH: 1,
|
|
285
|
-
flags: 17,
|
|
286
|
-
comp: [ {
|
|
287
|
-
plane: 0,
|
|
288
|
-
step: 1,
|
|
289
|
-
offset: 0,
|
|
290
|
-
shift: 0,
|
|
291
|
-
depth: 12
|
|
292
|
-
}, {
|
|
293
|
-
plane: 1,
|
|
294
|
-
step: 1,
|
|
295
|
-
offset: 0,
|
|
296
|
-
shift: 0,
|
|
297
|
-
depth: 12
|
|
298
|
-
}, {
|
|
299
|
-
plane: 2,
|
|
300
|
-
step: 1,
|
|
301
|
-
offset: 0,
|
|
302
|
-
shift: 0,
|
|
303
|
-
depth: 12
|
|
304
|
-
} ]
|
|
305
|
-
},
|
|
306
|
-
123: {
|
|
307
|
-
nbComponents: 3,
|
|
308
|
-
log2ChromaW: 1,
|
|
309
|
-
log2ChromaH: 1,
|
|
310
|
-
flags: 16,
|
|
311
|
-
comp: [ {
|
|
312
|
-
plane: 0,
|
|
313
|
-
step: 1,
|
|
314
|
-
offset: 0,
|
|
315
|
-
shift: 0,
|
|
316
|
-
depth: 12
|
|
317
|
-
}, {
|
|
318
|
-
plane: 1,
|
|
319
|
-
step: 1,
|
|
320
|
-
offset: 0,
|
|
321
|
-
shift: 0,
|
|
322
|
-
depth: 12
|
|
323
|
-
}, {
|
|
324
|
-
plane: 2,
|
|
325
|
-
step: 1,
|
|
326
|
-
offset: 0,
|
|
327
|
-
shift: 0,
|
|
328
|
-
depth: 12
|
|
329
|
-
} ]
|
|
330
|
-
},
|
|
331
|
-
124: {
|
|
332
|
-
nbComponents: 3,
|
|
333
|
-
log2ChromaW: 1,
|
|
334
|
-
log2ChromaH: 1,
|
|
335
|
-
flags: 17,
|
|
336
|
-
comp: [ {
|
|
337
|
-
plane: 0,
|
|
338
|
-
step: 1,
|
|
339
|
-
offset: 0,
|
|
340
|
-
shift: 0,
|
|
341
|
-
depth: 14
|
|
342
|
-
}, {
|
|
343
|
-
plane: 1,
|
|
344
|
-
step: 1,
|
|
345
|
-
offset: 0,
|
|
346
|
-
shift: 0,
|
|
347
|
-
depth: 14
|
|
348
|
-
}, {
|
|
349
|
-
plane: 2,
|
|
350
|
-
step: 1,
|
|
351
|
-
offset: 0,
|
|
352
|
-
shift: 0,
|
|
353
|
-
depth: 14
|
|
354
|
-
} ]
|
|
355
|
-
},
|
|
356
|
-
125: {
|
|
357
|
-
nbComponents: 3,
|
|
358
|
-
log2ChromaW: 1,
|
|
359
|
-
log2ChromaH: 1,
|
|
360
|
-
flags: 16,
|
|
361
|
-
comp: [ {
|
|
362
|
-
plane: 0,
|
|
363
|
-
step: 1,
|
|
364
|
-
offset: 0,
|
|
365
|
-
shift: 0,
|
|
366
|
-
depth: 14
|
|
367
|
-
}, {
|
|
368
|
-
plane: 1,
|
|
369
|
-
step: 1,
|
|
370
|
-
offset: 0,
|
|
371
|
-
shift: 0,
|
|
372
|
-
depth: 14
|
|
373
|
-
}, {
|
|
374
|
-
plane: 2,
|
|
375
|
-
step: 1,
|
|
376
|
-
offset: 0,
|
|
377
|
-
shift: 0,
|
|
378
|
-
depth: 14
|
|
379
|
-
} ]
|
|
380
|
-
},
|
|
381
|
-
46: {
|
|
382
|
-
nbComponents: 3,
|
|
383
|
-
log2ChromaW: 1,
|
|
384
|
-
log2ChromaH: 1,
|
|
385
|
-
flags: 17,
|
|
386
|
-
comp: [ {
|
|
387
|
-
plane: 0,
|
|
388
|
-
step: 1,
|
|
389
|
-
offset: 0,
|
|
390
|
-
shift: 0,
|
|
391
|
-
depth: 16
|
|
392
|
-
}, {
|
|
393
|
-
plane: 1,
|
|
394
|
-
step: 1,
|
|
395
|
-
offset: 0,
|
|
396
|
-
shift: 0,
|
|
397
|
-
depth: 16
|
|
398
|
-
}, {
|
|
399
|
-
plane: 2,
|
|
400
|
-
step: 1,
|
|
401
|
-
offset: 0,
|
|
402
|
-
shift: 0,
|
|
403
|
-
depth: 16
|
|
404
|
-
} ]
|
|
405
|
-
},
|
|
406
|
-
45: {
|
|
407
|
-
nbComponents: 3,
|
|
408
|
-
log2ChromaW: 1,
|
|
409
|
-
log2ChromaH: 1,
|
|
410
|
-
flags: 16,
|
|
411
|
-
comp: [ {
|
|
412
|
-
plane: 0,
|
|
413
|
-
step: 1,
|
|
414
|
-
offset: 0,
|
|
415
|
-
shift: 0,
|
|
416
|
-
depth: 16
|
|
417
|
-
}, {
|
|
418
|
-
plane: 1,
|
|
419
|
-
step: 1,
|
|
420
|
-
offset: 0,
|
|
421
|
-
shift: 0,
|
|
422
|
-
depth: 16
|
|
423
|
-
}, {
|
|
424
|
-
plane: 2,
|
|
425
|
-
step: 1,
|
|
426
|
-
offset: 0,
|
|
427
|
-
shift: 0,
|
|
428
|
-
depth: 16
|
|
429
|
-
} ]
|
|
430
|
-
},
|
|
431
|
-
69: {
|
|
432
|
-
nbComponents: 3,
|
|
433
|
-
log2ChromaW: 1,
|
|
434
|
-
log2ChromaH: 0,
|
|
435
|
-
flags: 17,
|
|
436
|
-
comp: [ {
|
|
437
|
-
plane: 0,
|
|
438
|
-
step: 1,
|
|
439
|
-
offset: 0,
|
|
440
|
-
shift: 0,
|
|
441
|
-
depth: 9
|
|
442
|
-
}, {
|
|
443
|
-
plane: 1,
|
|
444
|
-
step: 1,
|
|
445
|
-
offset: 0,
|
|
446
|
-
shift: 0,
|
|
447
|
-
depth: 9
|
|
448
|
-
}, {
|
|
449
|
-
plane: 2,
|
|
450
|
-
step: 1,
|
|
451
|
-
offset: 0,
|
|
452
|
-
shift: 0,
|
|
453
|
-
depth: 9
|
|
454
|
-
} ]
|
|
455
|
-
},
|
|
456
|
-
70: {
|
|
457
|
-
nbComponents: 3,
|
|
458
|
-
log2ChromaW: 1,
|
|
459
|
-
log2ChromaH: 0,
|
|
460
|
-
flags: 16,
|
|
461
|
-
comp: [ {
|
|
462
|
-
plane: 0,
|
|
463
|
-
step: 1,
|
|
464
|
-
offset: 0,
|
|
465
|
-
shift: 0,
|
|
466
|
-
depth: 9
|
|
467
|
-
}, {
|
|
468
|
-
plane: 1,
|
|
469
|
-
step: 1,
|
|
470
|
-
offset: 0,
|
|
471
|
-
shift: 0,
|
|
472
|
-
depth: 9
|
|
473
|
-
}, {
|
|
474
|
-
plane: 2,
|
|
475
|
-
step: 1,
|
|
476
|
-
offset: 0,
|
|
477
|
-
shift: 0,
|
|
478
|
-
depth: 9
|
|
479
|
-
} ]
|
|
480
|
-
},
|
|
481
|
-
63: {
|
|
482
|
-
nbComponents: 3,
|
|
483
|
-
log2ChromaW: 1,
|
|
484
|
-
log2ChromaH: 0,
|
|
485
|
-
flags: 17,
|
|
486
|
-
comp: [ {
|
|
487
|
-
plane: 0,
|
|
488
|
-
step: 1,
|
|
489
|
-
offset: 0,
|
|
490
|
-
shift: 0,
|
|
491
|
-
depth: 10
|
|
492
|
-
}, {
|
|
493
|
-
plane: 1,
|
|
494
|
-
step: 1,
|
|
495
|
-
offset: 0,
|
|
496
|
-
shift: 0,
|
|
497
|
-
depth: 10
|
|
498
|
-
}, {
|
|
499
|
-
plane: 2,
|
|
500
|
-
step: 1,
|
|
501
|
-
offset: 0,
|
|
502
|
-
shift: 0,
|
|
503
|
-
depth: 10
|
|
504
|
-
} ]
|
|
505
|
-
},
|
|
506
|
-
64: {
|
|
507
|
-
nbComponents: 3,
|
|
508
|
-
log2ChromaW: 1,
|
|
509
|
-
log2ChromaH: 0,
|
|
510
|
-
flags: 16,
|
|
511
|
-
comp: [ {
|
|
512
|
-
plane: 0,
|
|
513
|
-
step: 1,
|
|
514
|
-
offset: 0,
|
|
515
|
-
shift: 0,
|
|
516
|
-
depth: 10
|
|
517
|
-
}, {
|
|
518
|
-
plane: 1,
|
|
519
|
-
step: 1,
|
|
520
|
-
offset: 0,
|
|
521
|
-
shift: 0,
|
|
522
|
-
depth: 10
|
|
523
|
-
}, {
|
|
524
|
-
plane: 2,
|
|
525
|
-
step: 1,
|
|
526
|
-
offset: 0,
|
|
527
|
-
shift: 0,
|
|
528
|
-
depth: 10
|
|
529
|
-
} ]
|
|
530
|
-
},
|
|
531
|
-
126: {
|
|
532
|
-
nbComponents: 3,
|
|
533
|
-
log2ChromaW: 1,
|
|
534
|
-
log2ChromaH: 0,
|
|
535
|
-
flags: 17,
|
|
536
|
-
comp: [ {
|
|
537
|
-
plane: 0,
|
|
538
|
-
step: 1,
|
|
539
|
-
offset: 0,
|
|
540
|
-
shift: 0,
|
|
541
|
-
depth: 12
|
|
542
|
-
}, {
|
|
543
|
-
plane: 1,
|
|
544
|
-
step: 1,
|
|
545
|
-
offset: 0,
|
|
546
|
-
shift: 0,
|
|
547
|
-
depth: 12
|
|
548
|
-
}, {
|
|
549
|
-
plane: 2,
|
|
550
|
-
step: 1,
|
|
551
|
-
offset: 0,
|
|
552
|
-
shift: 0,
|
|
553
|
-
depth: 12
|
|
554
|
-
} ]
|
|
555
|
-
},
|
|
556
|
-
127: {
|
|
557
|
-
nbComponents: 3,
|
|
558
|
-
log2ChromaW: 1,
|
|
559
|
-
log2ChromaH: 0,
|
|
560
|
-
flags: 16,
|
|
561
|
-
comp: [ {
|
|
562
|
-
plane: 0,
|
|
563
|
-
step: 1,
|
|
564
|
-
offset: 0,
|
|
565
|
-
shift: 0,
|
|
566
|
-
depth: 12
|
|
567
|
-
}, {
|
|
568
|
-
plane: 1,
|
|
569
|
-
step: 1,
|
|
570
|
-
offset: 0,
|
|
571
|
-
shift: 0,
|
|
572
|
-
depth: 12
|
|
573
|
-
}, {
|
|
574
|
-
plane: 2,
|
|
575
|
-
step: 1,
|
|
576
|
-
offset: 0,
|
|
577
|
-
shift: 0,
|
|
578
|
-
depth: 12
|
|
579
|
-
} ]
|
|
580
|
-
},
|
|
581
|
-
128: {
|
|
582
|
-
nbComponents: 3,
|
|
583
|
-
log2ChromaW: 1,
|
|
584
|
-
log2ChromaH: 0,
|
|
585
|
-
flags: 17,
|
|
586
|
-
comp: [ {
|
|
587
|
-
plane: 0,
|
|
588
|
-
step: 1,
|
|
589
|
-
offset: 0,
|
|
590
|
-
shift: 0,
|
|
591
|
-
depth: 14
|
|
592
|
-
}, {
|
|
593
|
-
plane: 1,
|
|
594
|
-
step: 1,
|
|
595
|
-
offset: 0,
|
|
596
|
-
shift: 0,
|
|
597
|
-
depth: 14
|
|
598
|
-
}, {
|
|
599
|
-
plane: 2,
|
|
600
|
-
step: 1,
|
|
601
|
-
offset: 0,
|
|
602
|
-
shift: 0,
|
|
603
|
-
depth: 14
|
|
604
|
-
} ]
|
|
605
|
-
},
|
|
606
|
-
129: {
|
|
607
|
-
nbComponents: 3,
|
|
608
|
-
log2ChromaW: 1,
|
|
609
|
-
log2ChromaH: 0,
|
|
610
|
-
flags: 16,
|
|
611
|
-
comp: [ {
|
|
612
|
-
plane: 0,
|
|
613
|
-
step: 1,
|
|
614
|
-
offset: 0,
|
|
615
|
-
shift: 0,
|
|
616
|
-
depth: 14
|
|
617
|
-
}, {
|
|
618
|
-
plane: 1,
|
|
619
|
-
step: 1,
|
|
620
|
-
offset: 0,
|
|
621
|
-
shift: 0,
|
|
622
|
-
depth: 14
|
|
623
|
-
}, {
|
|
624
|
-
plane: 2,
|
|
625
|
-
step: 1,
|
|
626
|
-
offset: 0,
|
|
627
|
-
shift: 0,
|
|
628
|
-
depth: 14
|
|
629
|
-
} ]
|
|
630
|
-
},
|
|
631
|
-
48: {
|
|
632
|
-
nbComponents: 3,
|
|
633
|
-
log2ChromaW: 1,
|
|
634
|
-
log2ChromaH: 0,
|
|
635
|
-
flags: 17,
|
|
636
|
-
comp: [ {
|
|
637
|
-
plane: 0,
|
|
638
|
-
step: 1,
|
|
639
|
-
offset: 0,
|
|
640
|
-
shift: 0,
|
|
641
|
-
depth: 16
|
|
642
|
-
}, {
|
|
643
|
-
plane: 1,
|
|
644
|
-
step: 1,
|
|
645
|
-
offset: 0,
|
|
646
|
-
shift: 0,
|
|
647
|
-
depth: 16
|
|
648
|
-
}, {
|
|
649
|
-
plane: 2,
|
|
650
|
-
step: 1,
|
|
651
|
-
offset: 0,
|
|
652
|
-
shift: 0,
|
|
653
|
-
depth: 16
|
|
654
|
-
} ]
|
|
655
|
-
},
|
|
656
|
-
47: {
|
|
657
|
-
nbComponents: 3,
|
|
658
|
-
log2ChromaW: 1,
|
|
659
|
-
log2ChromaH: 0,
|
|
660
|
-
flags: 16,
|
|
661
|
-
comp: [ {
|
|
662
|
-
plane: 0,
|
|
663
|
-
step: 1,
|
|
664
|
-
offset: 0,
|
|
665
|
-
shift: 0,
|
|
666
|
-
depth: 16
|
|
667
|
-
}, {
|
|
668
|
-
plane: 1,
|
|
669
|
-
step: 1,
|
|
670
|
-
offset: 0,
|
|
671
|
-
shift: 0,
|
|
672
|
-
depth: 16
|
|
673
|
-
}, {
|
|
674
|
-
plane: 2,
|
|
675
|
-
step: 1,
|
|
676
|
-
offset: 0,
|
|
677
|
-
shift: 0,
|
|
678
|
-
depth: 16
|
|
679
|
-
} ]
|
|
680
|
-
},
|
|
681
|
-
65: {
|
|
682
|
-
nbComponents: 3,
|
|
683
|
-
log2ChromaW: 0,
|
|
684
|
-
log2ChromaH: 0,
|
|
685
|
-
flags: 17,
|
|
686
|
-
comp: [ {
|
|
687
|
-
plane: 0,
|
|
688
|
-
step: 1,
|
|
689
|
-
offset: 0,
|
|
690
|
-
shift: 0,
|
|
691
|
-
depth: 9
|
|
692
|
-
}, {
|
|
693
|
-
plane: 1,
|
|
694
|
-
step: 1,
|
|
695
|
-
offset: 0,
|
|
696
|
-
shift: 0,
|
|
697
|
-
depth: 9
|
|
698
|
-
}, {
|
|
699
|
-
plane: 2,
|
|
700
|
-
step: 1,
|
|
701
|
-
offset: 0,
|
|
702
|
-
shift: 0,
|
|
703
|
-
depth: 9
|
|
704
|
-
} ]
|
|
705
|
-
},
|
|
706
|
-
66: {
|
|
707
|
-
nbComponents: 3,
|
|
708
|
-
log2ChromaW: 0,
|
|
709
|
-
log2ChromaH: 0,
|
|
710
|
-
flags: 16,
|
|
711
|
-
comp: [ {
|
|
712
|
-
plane: 0,
|
|
713
|
-
step: 1,
|
|
714
|
-
offset: 0,
|
|
715
|
-
shift: 0,
|
|
716
|
-
depth: 9
|
|
717
|
-
}, {
|
|
718
|
-
plane: 1,
|
|
719
|
-
step: 1,
|
|
720
|
-
offset: 0,
|
|
721
|
-
shift: 0,
|
|
722
|
-
depth: 9
|
|
723
|
-
}, {
|
|
724
|
-
plane: 2,
|
|
725
|
-
step: 1,
|
|
726
|
-
offset: 0,
|
|
727
|
-
shift: 0,
|
|
728
|
-
depth: 9
|
|
729
|
-
} ]
|
|
730
|
-
},
|
|
731
|
-
67: {
|
|
732
|
-
nbComponents: 3,
|
|
733
|
-
log2ChromaW: 0,
|
|
734
|
-
log2ChromaH: 0,
|
|
735
|
-
flags: 17,
|
|
736
|
-
comp: [ {
|
|
737
|
-
plane: 0,
|
|
738
|
-
step: 1,
|
|
739
|
-
offset: 0,
|
|
740
|
-
shift: 0,
|
|
741
|
-
depth: 10
|
|
742
|
-
}, {
|
|
743
|
-
plane: 1,
|
|
744
|
-
step: 1,
|
|
745
|
-
offset: 0,
|
|
746
|
-
shift: 0,
|
|
747
|
-
depth: 10
|
|
748
|
-
}, {
|
|
749
|
-
plane: 2,
|
|
750
|
-
step: 1,
|
|
751
|
-
offset: 0,
|
|
752
|
-
shift: 0,
|
|
753
|
-
depth: 10
|
|
754
|
-
} ]
|
|
755
|
-
},
|
|
756
|
-
68: {
|
|
757
|
-
nbComponents: 3,
|
|
758
|
-
log2ChromaW: 0,
|
|
759
|
-
log2ChromaH: 0,
|
|
760
|
-
flags: 16,
|
|
761
|
-
comp: [ {
|
|
762
|
-
plane: 0,
|
|
763
|
-
step: 1,
|
|
764
|
-
offset: 0,
|
|
765
|
-
shift: 0,
|
|
766
|
-
depth: 10
|
|
767
|
-
}, {
|
|
768
|
-
plane: 1,
|
|
769
|
-
step: 1,
|
|
770
|
-
offset: 0,
|
|
771
|
-
shift: 0,
|
|
772
|
-
depth: 10
|
|
773
|
-
}, {
|
|
774
|
-
plane: 2,
|
|
775
|
-
step: 1,
|
|
776
|
-
offset: 0,
|
|
777
|
-
shift: 0,
|
|
778
|
-
depth: 10
|
|
779
|
-
} ]
|
|
780
|
-
},
|
|
781
|
-
130: {
|
|
782
|
-
nbComponents: 3,
|
|
783
|
-
log2ChromaW: 0,
|
|
784
|
-
log2ChromaH: 0,
|
|
785
|
-
flags: 17,
|
|
786
|
-
comp: [ {
|
|
787
|
-
plane: 0,
|
|
788
|
-
step: 1,
|
|
789
|
-
offset: 0,
|
|
790
|
-
shift: 0,
|
|
791
|
-
depth: 12
|
|
792
|
-
}, {
|
|
793
|
-
plane: 1,
|
|
794
|
-
step: 1,
|
|
795
|
-
offset: 0,
|
|
796
|
-
shift: 0,
|
|
797
|
-
depth: 12
|
|
798
|
-
}, {
|
|
799
|
-
plane: 2,
|
|
800
|
-
step: 1,
|
|
801
|
-
offset: 0,
|
|
802
|
-
shift: 0,
|
|
803
|
-
depth: 12
|
|
804
|
-
} ]
|
|
805
|
-
},
|
|
806
|
-
131: {
|
|
807
|
-
nbComponents: 3,
|
|
808
|
-
log2ChromaW: 0,
|
|
809
|
-
log2ChromaH: 0,
|
|
810
|
-
flags: 16,
|
|
811
|
-
comp: [ {
|
|
812
|
-
plane: 0,
|
|
813
|
-
step: 1,
|
|
814
|
-
offset: 0,
|
|
815
|
-
shift: 0,
|
|
816
|
-
depth: 12
|
|
817
|
-
}, {
|
|
818
|
-
plane: 1,
|
|
819
|
-
step: 1,
|
|
820
|
-
offset: 0,
|
|
821
|
-
shift: 0,
|
|
822
|
-
depth: 12
|
|
823
|
-
}, {
|
|
824
|
-
plane: 2,
|
|
825
|
-
step: 1,
|
|
826
|
-
offset: 0,
|
|
827
|
-
shift: 0,
|
|
828
|
-
depth: 12
|
|
829
|
-
} ]
|
|
830
|
-
},
|
|
831
|
-
132: {
|
|
832
|
-
nbComponents: 3,
|
|
833
|
-
log2ChromaW: 0,
|
|
834
|
-
log2ChromaH: 0,
|
|
835
|
-
flags: 17,
|
|
836
|
-
comp: [ {
|
|
837
|
-
plane: 0,
|
|
838
|
-
step: 1,
|
|
839
|
-
offset: 0,
|
|
840
|
-
shift: 0,
|
|
841
|
-
depth: 14
|
|
842
|
-
}, {
|
|
843
|
-
plane: 1,
|
|
844
|
-
step: 1,
|
|
845
|
-
offset: 0,
|
|
846
|
-
shift: 0,
|
|
847
|
-
depth: 14
|
|
848
|
-
}, {
|
|
849
|
-
plane: 2,
|
|
850
|
-
step: 1,
|
|
851
|
-
offset: 0,
|
|
852
|
-
shift: 0,
|
|
853
|
-
depth: 14
|
|
854
|
-
} ]
|
|
855
|
-
},
|
|
856
|
-
133: {
|
|
857
|
-
nbComponents: 3,
|
|
858
|
-
log2ChromaW: 0,
|
|
859
|
-
log2ChromaH: 0,
|
|
860
|
-
flags: 16,
|
|
861
|
-
comp: [ {
|
|
862
|
-
plane: 0,
|
|
863
|
-
step: 1,
|
|
864
|
-
offset: 0,
|
|
865
|
-
shift: 0,
|
|
866
|
-
depth: 14
|
|
867
|
-
}, {
|
|
868
|
-
plane: 1,
|
|
869
|
-
step: 1,
|
|
870
|
-
offset: 0,
|
|
871
|
-
shift: 0,
|
|
872
|
-
depth: 14
|
|
873
|
-
}, {
|
|
874
|
-
plane: 2,
|
|
875
|
-
step: 1,
|
|
876
|
-
offset: 0,
|
|
877
|
-
shift: 0,
|
|
878
|
-
depth: 14
|
|
879
|
-
} ]
|
|
880
|
-
},
|
|
881
|
-
50: {
|
|
882
|
-
nbComponents: 3,
|
|
883
|
-
log2ChromaW: 0,
|
|
884
|
-
log2ChromaH: 0,
|
|
885
|
-
flags: 17,
|
|
886
|
-
comp: [ {
|
|
887
|
-
plane: 0,
|
|
888
|
-
step: 1,
|
|
889
|
-
offset: 0,
|
|
890
|
-
shift: 0,
|
|
891
|
-
depth: 16
|
|
892
|
-
}, {
|
|
893
|
-
plane: 1,
|
|
894
|
-
step: 1,
|
|
895
|
-
offset: 0,
|
|
896
|
-
shift: 0,
|
|
897
|
-
depth: 16
|
|
898
|
-
}, {
|
|
899
|
-
plane: 2,
|
|
900
|
-
step: 1,
|
|
901
|
-
offset: 0,
|
|
902
|
-
shift: 0,
|
|
903
|
-
depth: 16
|
|
904
|
-
} ]
|
|
905
|
-
},
|
|
906
|
-
49: {
|
|
907
|
-
nbComponents: 3,
|
|
908
|
-
log2ChromaW: 0,
|
|
909
|
-
log2ChromaH: 0,
|
|
910
|
-
flags: 16,
|
|
911
|
-
comp: [ {
|
|
912
|
-
plane: 0,
|
|
913
|
-
step: 1,
|
|
914
|
-
offset: 0,
|
|
915
|
-
shift: 0,
|
|
916
|
-
depth: 16
|
|
917
|
-
}, {
|
|
918
|
-
plane: 1,
|
|
919
|
-
step: 1,
|
|
920
|
-
offset: 0,
|
|
921
|
-
shift: 0,
|
|
922
|
-
depth: 16
|
|
923
|
-
}, {
|
|
924
|
-
plane: 2,
|
|
925
|
-
step: 1,
|
|
926
|
-
offset: 0,
|
|
927
|
-
shift: 0,
|
|
928
|
-
depth: 16
|
|
929
|
-
} ]
|
|
930
|
-
},
|
|
931
|
-
26: {
|
|
932
|
-
nbComponents: 4,
|
|
933
|
-
log2ChromaW: 0,
|
|
934
|
-
log2ChromaH: 0,
|
|
935
|
-
flags: 160,
|
|
936
|
-
comp: [ {
|
|
937
|
-
plane: 0,
|
|
938
|
-
step: 4,
|
|
939
|
-
offset: 0,
|
|
940
|
-
shift: 0,
|
|
941
|
-
depth: 8
|
|
942
|
-
}, {
|
|
943
|
-
plane: 0,
|
|
944
|
-
step: 4,
|
|
945
|
-
offset: 1,
|
|
946
|
-
shift: 0,
|
|
947
|
-
depth: 8
|
|
948
|
-
}, {
|
|
949
|
-
plane: 0,
|
|
950
|
-
step: 4,
|
|
951
|
-
offset: 2,
|
|
952
|
-
shift: 0,
|
|
953
|
-
depth: 8
|
|
954
|
-
}, {
|
|
955
|
-
plane: 0,
|
|
956
|
-
step: 4,
|
|
957
|
-
offset: 3,
|
|
958
|
-
shift: 0,
|
|
959
|
-
depth: 8
|
|
960
|
-
} ]
|
|
961
|
-
},
|
|
962
|
-
119: {
|
|
963
|
-
nbComponents: 3,
|
|
964
|
-
log2ChromaW: 0,
|
|
965
|
-
log2ChromaH: 0,
|
|
966
|
-
flags: 32,
|
|
967
|
-
comp: [ {
|
|
968
|
-
plane: 0,
|
|
969
|
-
step: 4,
|
|
970
|
-
offset: 0,
|
|
971
|
-
shift: 0,
|
|
972
|
-
depth: 8
|
|
973
|
-
}, {
|
|
974
|
-
plane: 0,
|
|
975
|
-
step: 4,
|
|
976
|
-
offset: 1,
|
|
977
|
-
shift: 0,
|
|
978
|
-
depth: 8
|
|
979
|
-
}, {
|
|
980
|
-
plane: 0,
|
|
981
|
-
step: 4,
|
|
982
|
-
offset: 2,
|
|
983
|
-
shift: 0,
|
|
984
|
-
depth: 8
|
|
985
|
-
} ]
|
|
986
|
-
},
|
|
987
|
-
28: {
|
|
988
|
-
nbComponents: 4,
|
|
989
|
-
log2ChromaW: 0,
|
|
990
|
-
log2ChromaH: 0,
|
|
991
|
-
flags: 160,
|
|
992
|
-
comp: [ {
|
|
993
|
-
plane: 0,
|
|
994
|
-
step: 4,
|
|
995
|
-
offset: 2,
|
|
996
|
-
shift: 0,
|
|
997
|
-
depth: 8
|
|
998
|
-
}, {
|
|
999
|
-
plane: 0,
|
|
1000
|
-
step: 4,
|
|
1001
|
-
offset: 1,
|
|
1002
|
-
shift: 0,
|
|
1003
|
-
depth: 8
|
|
1004
|
-
}, {
|
|
1005
|
-
plane: 0,
|
|
1006
|
-
step: 4,
|
|
1007
|
-
offset: 0,
|
|
1008
|
-
shift: 0,
|
|
1009
|
-
depth: 8
|
|
1010
|
-
}, {
|
|
1011
|
-
plane: 0,
|
|
1012
|
-
step: 4,
|
|
1013
|
-
offset: 3,
|
|
1014
|
-
shift: 0,
|
|
1015
|
-
depth: 8
|
|
1016
|
-
} ]
|
|
1017
|
-
},
|
|
1018
|
-
121: {
|
|
1019
|
-
nbComponents: 3,
|
|
1020
|
-
log2ChromaW: 0,
|
|
1021
|
-
log2ChromaH: 0,
|
|
1022
|
-
flags: 32,
|
|
1023
|
-
comp: [ {
|
|
1024
|
-
plane: 0,
|
|
1025
|
-
step: 4,
|
|
1026
|
-
offset: 2,
|
|
1027
|
-
shift: 0,
|
|
1028
|
-
depth: 8
|
|
1029
|
-
}, {
|
|
1030
|
-
plane: 0,
|
|
1031
|
-
step: 4,
|
|
1032
|
-
offset: 1,
|
|
1033
|
-
shift: 0,
|
|
1034
|
-
depth: 8
|
|
1035
|
-
}, {
|
|
1036
|
-
plane: 0,
|
|
1037
|
-
step: 4,
|
|
1038
|
-
offset: 0,
|
|
1039
|
-
shift: 0,
|
|
1040
|
-
depth: 8
|
|
1041
|
-
} ]
|
|
1042
|
-
},
|
|
1043
|
-
33: {
|
|
1044
|
-
nbComponents: 4,
|
|
1045
|
-
log2ChromaW: 1,
|
|
1046
|
-
log2ChromaH: 1,
|
|
1047
|
-
flags: 144,
|
|
1048
|
-
comp: [ {
|
|
1049
|
-
plane: 0,
|
|
1050
|
-
step: 1,
|
|
1051
|
-
offset: 0,
|
|
1052
|
-
shift: 0,
|
|
1053
|
-
depth: 8
|
|
1054
|
-
}, {
|
|
1055
|
-
plane: 1,
|
|
1056
|
-
step: 1,
|
|
1057
|
-
offset: 0,
|
|
1058
|
-
shift: 0,
|
|
1059
|
-
depth: 8
|
|
1060
|
-
}, {
|
|
1061
|
-
plane: 2,
|
|
1062
|
-
step: 1,
|
|
1063
|
-
offset: 0,
|
|
1064
|
-
shift: 0,
|
|
1065
|
-
depth: 8
|
|
1066
|
-
}, {
|
|
1067
|
-
plane: 3,
|
|
1068
|
-
step: 1,
|
|
1069
|
-
offset: 0,
|
|
1070
|
-
shift: 0,
|
|
1071
|
-
depth: 8
|
|
1072
|
-
} ]
|
|
1073
|
-
}
|
|
5
|
+
}), exports.getAVPixelFormatDescriptor = function(format) {
|
|
6
|
+
if (cache.has(format)) return cache.get(format);
|
|
7
|
+
const data = AVPixelFormatDescriptorsData[format];
|
|
8
|
+
if (!data) return;
|
|
9
|
+
const descriptor = {
|
|
10
|
+
log2ChromaW: data[0],
|
|
11
|
+
log2ChromaH: data[1],
|
|
12
|
+
flags: data[2],
|
|
13
|
+
comp: data[3].map((com => ({
|
|
14
|
+
plane: com[0],
|
|
15
|
+
step: com[1],
|
|
16
|
+
offset: com[2],
|
|
17
|
+
shift: com[3],
|
|
18
|
+
depth: com[4]
|
|
19
|
+
})))
|
|
20
|
+
};
|
|
21
|
+
return cache.set(format, descriptor), descriptor;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const cache = new Map;
|
|
25
|
+
|
|
26
|
+
const PlaneYUV8 = [ [ 0, 1, 0, 0, 8 ], [ 1, 1, 0, 0, 8 ], [ 2, 1, 0, 0, 8 ] ], PlaneYUVA8 = [ ...PlaneYUV8, [ 3, 1, 0, 0, 8 ] ], PlaneYUV9 = [ [ 0, 2, 0, 0, 9 ], [ 1, 2, 0, 0, 9 ], [ 2, 2, 0, 0, 9 ] ], PlaneYUVA9 = [ ...PlaneYUV9, [ 3, 2, 0, 0, 9 ] ], PlaneYUV10 = [ [ 0, 2, 0, 0, 10 ], [ 1, 2, 0, 0, 10 ], [ 2, 2, 0, 0, 10 ] ], PlaneYUVA10 = [ ...PlaneYUV10, [ 3, 2, 0, 0, 10 ] ], PlaneYUV12 = [ [ 0, 2, 0, 0, 12 ], [ 1, 2, 0, 0, 12 ], [ 2, 2, 0, 0, 12 ] ], PlaneYUVA12 = [ ...PlaneYUV12, [ 3, 2, 0, 0, 12 ] ], PlaneYUV14 = [ [ 0, 2, 0, 0, 14 ], [ 1, 2, 0, 0, 14 ], [ 2, 2, 0, 0, 14 ] ], PlaneYUV16 = [ [ 0, 2, 0, 0, 16 ], [ 1, 2, 0, 0, 16 ], [ 2, 2, 0, 0, 16 ] ], PlaneYUVA16 = [ ...PlaneYUV16, [ 3, 2, 0, 0, 16 ] ], PlaneNV12 = [ [ 0, 1, 0, 0, 8 ], [ 1, 2, 0, 0, 8 ], [ 1, 2, 1, 0, 8 ] ], PlaneNV21 = [ [ 0, 1, 0, 0, 8 ], [ 1, 2, 1, 0, 8 ], [ 1, 2, 0, 0, 8 ] ], PlaneAYUV16 = [ [ 0, 8, 2, 0, 16 ], [ 0, 8, 4, 0, 16 ], [ 0, 8, 6, 0, 16 ], [ 0, 8, 0, 0, 16 ] ], PlaneP010 = [ [ 0, 2, 0, 6, 10 ], [ 1, 4, 0, 6, 10 ], [ 1, 4, 2, 6, 10 ] ], PlaneP012 = [ [ 0, 2, 0, 4, 12 ], [ 1, 4, 0, 4, 12 ], [ 1, 4, 2, 4, 12 ] ], PlaneP016 = [ [ 0, 2, 0, 0, 16 ], [ 1, 4, 0, 0, 16 ], [ 1, 4, 2, 0, 16 ] ], PlaneRGBA16 = [ [ 0, 8, 0, 0, 16 ], [ 0, 8, 2, 0, 16 ], [ 0, 8, 4, 0, 16 ], [ 0, 8, 6, 0, 16 ] ], PlaneBGRA16 = [ [ 0, 8, 4, 0, 16 ], [ 0, 8, 2, 0, 16 ], [ 0, 8, 0, 0, 16 ], [ 0, 8, 6, 0, 16 ] ], PlaneBGRP9 = [ [ 2, 2, 0, 0, 9 ], [ 0, 2, 0, 0, 9 ], [ 1, 2, 0, 0, 9 ] ], PlaneBGRP10 = [ [ 2, 2, 0, 0, 10 ], [ 0, 2, 0, 0, 10 ], [ 1, 2, 0, 0, 10 ] ], PlaneBGRP12 = [ [ 2, 2, 0, 0, 12 ], [ 0, 2, 0, 0, 12 ], [ 1, 2, 0, 0, 12 ] ], PlaneBGRP14 = [ [ 2, 2, 0, 0, 14 ], [ 0, 2, 0, 0, 14 ], [ 1, 2, 0, 0, 14 ] ], PlaneBGRP16 = [ [ 2, 2, 0, 0, 16 ], [ 0, 2, 0, 0, 16 ], [ 1, 2, 0, 0, 16 ] ], PlaneBGRAP16 = [ [ 2, 2, 0, 0, 16 ], [ 0, 2, 0, 0, 16 ], [ 1, 2, 0, 0, 16 ], [ 3, 2, 0, 0, 16 ] ], AVPixelFormatDescriptorsData = {
|
|
27
|
+
6: [ 2, 2, 16, PlaneYUV8 ],
|
|
28
|
+
0: [ 1, 1, 16, PlaneYUV8 ],
|
|
29
|
+
12: [ 1, 1, 16, PlaneYUV8 ],
|
|
30
|
+
4: [ 1, 0, 16, PlaneYUV8 ],
|
|
31
|
+
13: [ 1, 0, 16, PlaneYUV8 ],
|
|
32
|
+
5: [ 0, 0, 16, PlaneYUV8 ],
|
|
33
|
+
14: [ 0, 0, 16, PlaneYUV8 ],
|
|
34
|
+
23: [ 1, 1, 16, PlaneNV12 ],
|
|
35
|
+
24: [ 1, 1, 16, PlaneNV21 ],
|
|
36
|
+
188: [ 0, 0, 16, PlaneNV12 ],
|
|
37
|
+
189: [ 0, 0, 16, PlaneNV21 ],
|
|
38
|
+
59: [ 1, 1, 17, PlaneYUV9 ],
|
|
39
|
+
60: [ 1, 1, 16, PlaneYUV9 ],
|
|
40
|
+
69: [ 1, 0, 17, PlaneYUV9 ],
|
|
41
|
+
70: [ 1, 0, 16, PlaneYUV9 ],
|
|
42
|
+
65: [ 0, 0, 17, PlaneYUV9 ],
|
|
43
|
+
66: [ 0, 0, 16, PlaneYUV9 ],
|
|
44
|
+
61: [ 1, 1, 17, PlaneYUV10 ],
|
|
45
|
+
62: [ 1, 1, 16, PlaneYUV10 ],
|
|
46
|
+
63: [ 1, 0, 17, PlaneYUV10 ],
|
|
47
|
+
64: [ 1, 0, 16, PlaneYUV10 ],
|
|
48
|
+
67: [ 0, 0, 17, PlaneYUV10 ],
|
|
49
|
+
68: [ 0, 0, 16, PlaneYUV10 ],
|
|
50
|
+
122: [ 1, 1, 17, PlaneYUV12 ],
|
|
51
|
+
123: [ 1, 1, 16, PlaneYUV12 ],
|
|
52
|
+
126: [ 1, 0, 17, PlaneYUV12 ],
|
|
53
|
+
127: [ 1, 0, 16, PlaneYUV12 ],
|
|
54
|
+
130: [ 0, 0, 17, PlaneYUV12 ],
|
|
55
|
+
131: [ 0, 0, 16, PlaneYUV12 ],
|
|
56
|
+
124: [ 1, 1, 17, PlaneYUV14 ],
|
|
57
|
+
125: [ 1, 1, 16, PlaneYUV14 ],
|
|
58
|
+
128: [ 1, 0, 17, PlaneYUV14 ],
|
|
59
|
+
129: [ 1, 0, 16, PlaneYUV14 ],
|
|
60
|
+
132: [ 0, 0, 17, PlaneYUV14 ],
|
|
61
|
+
133: [ 0, 0, 16, PlaneYUV14 ],
|
|
62
|
+
46: [ 1, 1, 17, PlaneYUV16 ],
|
|
63
|
+
45: [ 1, 1, 16, PlaneYUV16 ],
|
|
64
|
+
48: [ 1, 0, 17, PlaneYUV16 ],
|
|
65
|
+
47: [ 1, 0, 16, PlaneYUV16 ],
|
|
66
|
+
50: [ 0, 0, 17, PlaneYUV16 ],
|
|
67
|
+
49: [ 0, 0, 16, PlaneYUV16 ],
|
|
68
|
+
33: [ 1, 1, 144, PlaneYUVA8 ],
|
|
69
|
+
78: [ 1, 0, 144, PlaneYUVA8 ],
|
|
70
|
+
79: [ 0, 0, 144, PlaneYUVA8 ],
|
|
71
|
+
80: [ 1, 1, 145, PlaneYUVA9 ],
|
|
72
|
+
81: [ 1, 1, 144, PlaneYUVA9 ],
|
|
73
|
+
82: [ 1, 0, 145, PlaneYUVA9 ],
|
|
74
|
+
83: [ 1, 0, 144, PlaneYUVA9 ],
|
|
75
|
+
84: [ 0, 0, 145, PlaneYUVA9 ],
|
|
76
|
+
85: [ 0, 0, 144, PlaneYUVA9 ],
|
|
77
|
+
86: [ 1, 1, 145, PlaneYUVA10 ],
|
|
78
|
+
87: [ 1, 1, 144, PlaneYUVA10 ],
|
|
79
|
+
88: [ 1, 0, 145, PlaneYUVA10 ],
|
|
80
|
+
89: [ 1, 0, 144, PlaneYUVA10 ],
|
|
81
|
+
90: [ 0, 0, 145, PlaneYUVA10 ],
|
|
82
|
+
91: [ 0, 0, 144, PlaneYUVA10 ],
|
|
83
|
+
184: [ 1, 0, 145, PlaneYUVA12 ],
|
|
84
|
+
185: [ 1, 0, 144, PlaneYUVA12 ],
|
|
85
|
+
186: [ 0, 0, 145, PlaneYUVA12 ],
|
|
86
|
+
187: [ 0, 0, 144, PlaneYUVA12 ],
|
|
87
|
+
92: [ 1, 1, 145, PlaneYUVA16 ],
|
|
88
|
+
93: [ 1, 1, 144, PlaneYUVA16 ],
|
|
89
|
+
94: [ 1, 0, 145, PlaneYUVA16 ],
|
|
90
|
+
95: [ 1, 0, 144, PlaneYUVA16 ],
|
|
91
|
+
96: [ 0, 0, 145, PlaneYUVA16 ],
|
|
92
|
+
97: [ 0, 0, 144, PlaneYUVA16 ],
|
|
93
|
+
156: [ 0, 0, 129, PlaneAYUV16 ],
|
|
94
|
+
155: [ 0, 0, 128, PlaneAYUV16 ],
|
|
95
|
+
159: [ 1, 1, 17, PlaneP010 ],
|
|
96
|
+
158: [ 1, 1, 16, PlaneP010 ],
|
|
97
|
+
210: [ 1, 1, 17, PlaneP012 ],
|
|
98
|
+
209: [ 1, 1, 16, PlaneP012 ],
|
|
99
|
+
170: [ 1, 1, 17, PlaneP016 ],
|
|
100
|
+
169: [ 1, 1, 16, PlaneP016 ],
|
|
101
|
+
8: [ 0, 0, 0, [ [ 0, 1, 0, 0, 8 ] ] ],
|
|
102
|
+
29: [ 0, 0, 1, [ [ 0, 2, 0, 0, 16 ] ] ],
|
|
103
|
+
30: [ 0, 0, 0, [ [ 0, 2, 0, 0, 16 ] ] ],
|
|
104
|
+
56: [ 0, 0, 128, [ [ 0, 2, 0, 0, 8 ], [ 0, 2, 1, 0, 8 ] ] ],
|
|
105
|
+
109: [ 0, 0, 129, [ [ 0, 4, 0, 0, 16 ], [ 0, 4, 2, 0, 16 ] ] ],
|
|
106
|
+
110: [ 0, 0, 128, [ [ 0, 4, 0, 0, 16 ], [ 0, 4, 2, 0, 16 ] ] ],
|
|
107
|
+
26: [ 0, 0, 160, [ [ 0, 4, 0, 0, 8 ], [ 0, 4, 1, 0, 8 ], [ 0, 4, 2, 0, 8 ], [ 0, 4, 3, 0, 8 ] ] ],
|
|
108
|
+
25: [ 0, 0, 160, [ [ 0, 4, 1, 0, 8 ], [ 0, 4, 2, 0, 8 ], [ 0, 4, 3, 0, 8 ], [ 0, 4, 0, 0, 8 ] ] ],
|
|
109
|
+
104: [ 0, 0, 161, PlaneRGBA16 ],
|
|
110
|
+
105: [ 0, 0, 160, PlaneRGBA16 ],
|
|
111
|
+
28: [ 0, 0, 160, [ [ 0, 4, 2, 0, 8 ], [ 0, 4, 1, 0, 8 ], [ 0, 4, 0, 0, 8 ], [ 0, 4, 3, 0, 8 ] ] ],
|
|
112
|
+
27: [ 0, 0, 160, [ [ 0, 4, 3, 0, 8 ], [ 0, 4, 2, 0, 8 ], [ 0, 4, 1, 0, 8 ], [ 0, 4, 0, 0, 8 ] ] ],
|
|
113
|
+
106: [ 0, 0, 161, PlaneBGRA16 ],
|
|
114
|
+
107: [ 0, 0, 160, PlaneBGRA16 ],
|
|
115
|
+
2: [ 0, 0, 32, [ [ 0, 3, 0, 0, 8 ], [ 0, 3, 1, 0, 8 ], [ 0, 3, 2, 0, 8 ] ] ],
|
|
116
|
+
3: [ 0, 0, 32, [ [ 0, 3, 2, 0, 8 ], [ 0, 3, 1, 0, 8 ], [ 0, 3, 0, 0, 8 ] ] ],
|
|
117
|
+
119: [ 0, 0, 32, [ [ 0, 4, 0, 0, 8 ], [ 0, 4, 1, 0, 8 ], [ 0, 4, 2, 0, 8 ] ] ],
|
|
118
|
+
121: [ 0, 0, 32, [ [ 0, 4, 2, 0, 8 ], [ 0, 4, 1, 0, 8 ], [ 0, 4, 0, 0, 8 ] ] ],
|
|
119
|
+
71: [ 0, 0, 48, [ [ 2, 1, 0, 0, 8 ], [ 0, 1, 0, 0, 8 ], [ 1, 1, 0, 0, 8 ] ] ],
|
|
120
|
+
111: [ 0, 0, 176, [ [ 2, 1, 0, 0, 8 ], [ 0, 1, 0, 0, 8 ], [ 1, 1, 0, 0, 8 ], [ 3, 1, 0, 0, 8 ] ] ],
|
|
121
|
+
72: [ 0, 0, 49, PlaneBGRP9 ],
|
|
122
|
+
73: [ 0, 0, 48, PlaneBGRP9 ],
|
|
123
|
+
74: [ 0, 0, 49, PlaneBGRP10 ],
|
|
124
|
+
75: [ 0, 0, 48, PlaneBGRP10 ],
|
|
125
|
+
134: [ 0, 0, 49, PlaneBGRP12 ],
|
|
126
|
+
135: [ 0, 0, 48, PlaneBGRP12 ],
|
|
127
|
+
136: [ 0, 0, 49, PlaneBGRP14 ],
|
|
128
|
+
137: [ 0, 0, 48, PlaneBGRP14 ],
|
|
129
|
+
76: [ 0, 0, 49, PlaneBGRP16 ],
|
|
130
|
+
77: [ 0, 0, 48, PlaneBGRP16 ],
|
|
131
|
+
112: [ 0, 0, 177, PlaneBGRAP16 ],
|
|
132
|
+
113: [ 0, 0, 176, PlaneBGRAP16 ]
|
|
1074
133
|
};
|
|
1075
134
|
//# sourceMappingURL=pixelFormatDescriptor.js.map
|