Safe Haskell | None |
---|---|
Language | Haskell2010 |
Default values for duration, size and other metadata of track fragments. This might allow a more efficient transfer and decoding of media.
Synopsis
- trackExtendsUnknownDuration :: Word32 -> Word32 -> Box (FullBox TrackExtends 0)
- trackExtends :: Word32 -> Word32 -> Word32 -> Word32 -> B 2 -> B 2 -> B 2 -> B 2 -> B 3 -> Bool -> Word16 -> Box (FullBox TrackExtends 0)
- newtype TrackExtends where
- type TrackExtendsBody = ("track_ID" @: FieldU32) .+: (("default_sample_description_index" @: FieldU32) .+: (("default_sample_duration" @: FieldU32) .+: (("default_sample_size" @: FieldU32) .+: TrackExtendsDefaultSampleFlags)))
- type TrackExtendsDefaultSampleFlags = (("reserved" @: Field 4) := 0) .+: (("is_leading" @: Field 2) .+: (("sample_depends_on" @: Field 2) .+: (("sample_is_depended_on" @: Field 2) .+: (("sample_has_redundancy" @: Field 2) .+: (("sample_padding_value" @: Field 3) .+: (("sample_is_non_sync_sample" @: Flag) .+: (("sample_degradation_priority" @: FieldU16) .+: EmptyBitRecord)))))))
trex
Box
trackExtendsUnknownDuration :: Word32 -> Word32 -> Box (FullBox TrackExtends 0) Source #
Construct a TrackExtends
box, with all durations and sizes set to 0
.
Only the track index and the index into the sample description table is
passed set.
:: Word32 | Track ID |
-> Word32 | Sample Description Index |
-> Word32 | Sample Duration |
-> Word32 | Sample Size |
-> B 2 | is leading |
-> B 2 | sample depends on |
-> B 2 | sample is depended on |
-> B 2 | sample has redundancy |
-> B 3 | padding value |
-> Bool | is non sync sample |
-> Word16 | sample degradation priority |
-> Box (FullBox TrackExtends 0) |
Construct a TrackExtends
box from all its parameters
newtype TrackExtends where Source #
Instances
IsBoxContent TrackExtends Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Boxes.TrackExtends boxSize :: TrackExtends -> BoxSize Source # boxBuilder :: TrackExtends -> Builder Source # | |
IsBox TrackExtends Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Boxes.TrackExtends type BoxContent TrackExtends :: Type Source # toBoxType :: proxy TrackExtends -> BoxType Source # | |
type BoxContent TrackExtends Source # | |
type BoxTypeSymbol TrackExtends Source # | |
type TrackExtendsBody = ("track_ID" @: FieldU32) .+: (("default_sample_description_index" @: FieldU32) .+: (("default_sample_duration" @: FieldU32) .+: (("default_sample_size" @: FieldU32) .+: TrackExtendsDefaultSampleFlags))) Source #
Defaults for movie fragment - the content
type TrackExtendsDefaultSampleFlags = (("reserved" @: Field 4) := 0) .+: (("is_leading" @: Field 2) .+: (("sample_depends_on" @: Field 2) .+: (("sample_is_depended_on" @: Field 2) .+: (("sample_has_redundancy" @: Field 2) .+: (("sample_padding_value" @: Field 3) .+: (("sample_is_non_sync_sample" @: Flag) .+: (("sample_degradation_priority" @: FieldU16) .+: EmptyBitRecord))))))) Source #