isobmff-builder-0.11.3.0: A (bytestring-) builder for the ISO-14496-12 base media file format

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.Mp4.Boxes.DecoderConfigDescriptor

Contents

Synopsis

Documentation

data DecoderConfigDescriptor ot st :: [IsA (DecoderSpecificInfo ot st)] -> [IsA (Descriptor ProfileLevelIndicationIndexDescr)] -> IsA (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.

type family DecoderConfigDescriptorBody ot st (di :: [IsA (DecoderSpecificInfo ot st)]) (ps :: [IsA (Descriptor ProfileLevelIndicationIndexDescr)]) :: BitRecord where ... Source #

Equations

DecoderConfigDescriptorBody ot st di ps = ((BitRecordOfEnum (SetEnum "objectTypeIndication" ObjectTypeIndicationEnum ot) :+: BitRecordOfEnum (SetEnum "objectTypeIndication" StreamTypeEnum st)) :+: (("upstream" @: Flag) .+: ((("reserved" @: Field 1) := 1) .+: (("bufferSizeDB" @: Field 24) .+: (("maxBitrate" @: FieldU32) .+: (("avgBitrate" @: FieldU32) .+: Eval (BitRecordOfList (DescriptorOfDecoderSpecificInfo :^>>>: BitRecordOfDescriptor) (di ?:: LengthIn 0 1)))))))) :+: Eval (BitRecordOfList (Extract :>>>: BitRecordOfDescriptor) (ps ?:: LengthIn 0 255)) 

ProfileLevelIndicationIndexDescriptor