Property | Type | Description | |
---|---|---|---|
_children | List |
||
_data | |||
_flags | byte[] | ||
_fourCC |
Method | Description | |
---|---|---|
AddChild ( |
Add a child box into this box. Child box should be a sub-class of Box (i.e. not a generic 'Box')
|
|
Box ( string FOURCC ) : System |
Create a generic box
|
|
BoxDate ( System.DateTime date ) : System.UInt64 |
Gives a date as a number of seconds since 1904-01-01 T 00:00
|
|
FourCC ( string fourcc ) : |
Convert a four character code string into a 32 bit int, suitable for writing with 'BigEndianWriter'
|
|
Prepare ( ) : void |
Prepare for data gathering. Your '_data' members should be populated here at the latest.
|
|
deepData ( ) : byte[] |
Return data for this and all children, in correct order. You probably don't need to override this |
|
deepSize ( ) : ulong |
Size of self plus all children (container size). Includes size for FOURCC and basic 'FullBox' flags. You probably don't need to override this |
Method | Description | |
---|---|---|
NetToMpgTicks ( ulong MpgTicks ) : ulong |
Convert .Net ticks (100ns) to Mpeg ticks (90MHz)
|
|
selfData ( ) : byte[] |
Output the header data for this Box. Override this to add extra data if your sub-class adds extra fields
|
|
selfSize ( ) : ulong |
Size of self, disregarding children (in bytes) Override this to add extra size to base() if your sub-class adds extra fields
|
public static BoxDate ( System.DateTime date ) : System.UInt64 | ||
date | System.DateTime | |
return | System.UInt64 |
public static FourCC ( string fourcc ) : |
||
fourcc | string | |
return |
protected NetToMpgTicks ( ulong MpgTicks ) : ulong | ||
MpgTicks | ulong | |
return | ulong |