Safe Haskell | None |
---|---|
Language | Haskell2010 |
Track header box
- trackHeader :: forall version. KnownNat version => TrackHeaderFlags -> TrackHeader version -> Box (FullBox (TrackHeader version) version)
- newtype TrackHeader version where
- TrackHeader :: (Versioned TrackHeaderTimesV0 TrackHeaderTimesV1 version :+ (Constant (I32Arr "reserved" 2) '[0, 0] :+ (Template (I16 "layer") 0 :+ (Template (I16 "alternate_group") 0 :+ (Template (I16 "volume") 256 :+ (Constant (I16 "reserved") 0 :+ (Template (I32Arr "matrix" 9) '[65536, 0, 0, 0, 65536, 0, 0, 0, 1073741824] :+ (I32 "width" :+ I32 "height")))))))) -> TrackHeader version
- data TrackHeaderFlags
- type TrackHeaderTimes uint dur = uint "creation_time" :+ (uint "modification_time" :+ (U32 "track_ID" :+ (Constant (U32 "reserved") 0 :+ dur)))
- type TrackHeaderTimesV0 = TrackHeaderTimes (Scalar Word32) (TS32 "duration")
- type TrackHeaderTimesV1 = TrackHeaderTimes (Scalar Word64) (TS64 "duration")
Documentation
trackHeader :: forall version. KnownNat version => TrackHeaderFlags -> TrackHeader version -> Box (FullBox (TrackHeader version) version) Source #
Create a TrackHeader
box.
newtype TrackHeader version where Source #
Track meta data, indexed by a version.
TrackHeader :: (Versioned TrackHeaderTimesV0 TrackHeaderTimesV1 version :+ (Constant (I32Arr "reserved" 2) '[0, 0] :+ (Template (I16 "layer") 0 :+ (Template (I16 "alternate_group") 0 :+ (Template (I16 "volume") 256 :+ (Constant (I16 "reserved") 0 :+ (Template (I32Arr "matrix" 9) '[65536, 0, 0, 0, 65536, 0, 0, 0, 1073741824] :+ (I32 "width" :+ I32 "height")))))))) -> TrackHeader version |
IsBoxContent (TrackHeader version) Source # | |
IsBox (TrackHeader v) Source # | |
type BoxContent (TrackHeader v) Source # | |
type BoxTypeSymbol * (TrackHeader v) Source # | |
type TrackHeaderTimes uint dur = uint "creation_time" :+ (uint "modification_time" :+ (U32 "track_ID" :+ (Constant (U32 "reserved") 0 :+ dur))) Source #
Time and timing information about a track.
type TrackHeaderTimesV0 = TrackHeaderTimes (Scalar Word32) (TS32 "duration") Source #
Time and timing information about a track (32bit version).
type TrackHeaderTimesV1 = TrackHeaderTimes (Scalar Word64) (TS64 "duration") Source #
Time and timing information about a track (64bit version).