File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export * from '#/boxes/clap';
1010export * from '#/boxes/clli' ;
1111export * from '#/boxes/cmex' ;
1212export * from '#/boxes/cmin' ;
13+ export * from '#/boxes/cmpC' ;
1314export * from '#/boxes/cmpd' ;
1415export * from '#/boxes/co64' ;
1516export * from '#/boxes/CoLL' ;
Original file line number Diff line number Diff line change 1+ import { FullBox } from '#/box' ;
2+ import type { MultiBufferStream } from '#/buffer' ;
3+
4+ export class cmpCBox extends FullBox {
5+ static override readonly fourcc = 'cmpC' as const ;
6+ box_name = 'CompressionConfigurationBox' as const ;
7+
8+ version : number ;
9+ flags : number ;
10+ compression_type : string ;
11+ compressed_unit_type : number ;
12+
13+ parse ( stream : MultiBufferStream ) {
14+ this . parseFullHeader ( stream ) ;
15+ this . compression_type = stream . readString ( 4 ) ;
16+ this . compressed_unit_type = stream . readUint8 ( ) ;
17+ }
18+ }
You can’t perform that action at this time.
0 commit comments