Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data DecoderConfigDescriptor (ot :: ObjectTypeIndication) (st :: StreamType) :: [Extends (DecoderSpecificInfo ot st)] -> [Extends (Descriptor ProfileLevelIndicationIndexDescr)] -> Extends (Descriptor DecoderConfigDescr)
- type family DecoderConfigDescriptorBody ot st (di :: [Extends (DecoderSpecificInfo ot st)]) (ps :: [Extends (Descriptor ProfileLevelIndicationIndexDescr)]) :: BitRecord where ...
- data ProfileLevelIndicationIndexDescriptor :: Extends (FieldValue "profileLevelIndicationIndex" Nat) -> Extends (Descriptor ProfileLevelIndicationIndexDescr)
Documentation
data DecoderConfigDescriptor (ot :: ObjectTypeIndication) (st :: StreamType) :: [Extends (DecoderSpecificInfo ot st)] -> [Extends (Descriptor ProfileLevelIndicationIndexDescr)] -> Extends (Descriptor DecoderConfigDescr) Source #
Information about what decoder is required for the an elementary stream. The stream type indicates the general category of the stream and.
Instances
type From (DecoderConfigDescriptor ot st di ps :: Descriptor DecoderConfigDescr -> Type) Source # | |
Defined in Data.ByteString.Mp4.Boxes.DecoderConfigDescriptor type From (DecoderConfigDescriptor ot st di ps :: Descriptor DecoderConfigDescr -> Type) = (MkDescriptor (DecoderConfigDescriptorBody ot st di ps) :: Descriptor DecoderConfigDescr) |
type family DecoderConfigDescriptorBody ot st (di :: [Extends (DecoderSpecificInfo ot st)]) (ps :: [Extends (Descriptor ProfileLevelIndicationIndexDescr)]) :: BitRecord where ... Source #
DecoderConfigDescriptorBody ot st di ps = ((((BitRecordOfEnum (SetEnum "objectTypeIndication" ObjectTypeIndicationEnum ot) :+: BitRecordOfEnum (SetEnum "objectTypeIndication" StreamTypeEnum st)) :+: (("upstream" @: Flag) .+: ((("reserved" @: Field 1) := 1) .+: (("bufferSizeDB" @: Field 24) .+: From ("maxBitrate" @:: Konst (RecordField FieldU32)))))) :+: From ("avgBitrate" @:: Konst (RecordField FieldU32))) :+: From (BitRecordOfList (DescriptorOfDecoderSpecificInfo :^>>>: BitRecordOfDescriptor) (di ?:: LengthIn 0 1))) :+: From (BitRecordOfList (Extract :>>>: BitRecordOfDescriptor) (ps ?:: LengthIn 0 255)) |
ProfileLevelIndicationIndexDescriptor
data ProfileLevelIndicationIndexDescriptor :: Extends (FieldValue "profileLevelIndicationIndex" Nat) -> Extends (Descriptor ProfileLevelIndicationIndexDescr) Source #
Instances
type From (ProfileLevelIndicationIndexDescriptor val :: Descriptor ProfileLevelIndicationIndexDescr -> Type) Source # | |
Defined in Data.ByteString.Mp4.Boxes.DecoderConfigDescriptor type From (ProfileLevelIndicationIndexDescriptor val :: Descriptor ProfileLevelIndicationIndexDescr -> Type) = (MkDescriptor (BitRecordMember (FieldU8 :~ val)) :: Descriptor ProfileLevelIndicationIndexDescr) |