Safe Haskell | None |
---|---|
Language | Haskell2010 |
Connect a sample description to a data reference via an index into the data reference entry table.
- sampleEntry :: U16 "data_reference_index" -> handlerSpecific -> Box (SampleEntry handlerSpecific)
- newtype SampleEntry handlerSpecific where
- SampleEntry :: (Constant (U8Arr "reserved" 6) '[0, 0, 0, 0, 0, 0] :+ (U16 "data_reference_index" :+ handlerSpecific)) -> SampleEntry handlerSpecific
- data MatchSampleEntry :: HandlerType -> Type
Documentation
sampleEntry :: U16 "data_reference_index" -> handlerSpecific -> Box (SampleEntry handlerSpecific) Source #
Create a SampleEntry
Box
from the data reference index and the
HandlerType
specific SampleEntry
instance.
newtype SampleEntry handlerSpecific where Source #
A common header for all specific sample entries, the BoxContent
of the
abstract SampleEntry
is SampleEntry (SampleEntry h f)
.
SampleEntry :: (Constant (U8Arr "reserved" 6) '[0, 0, 0, 0, 0, 0] :+ (U16 "data_reference_index" :+ handlerSpecific)) -> SampleEntry handlerSpecific |
Default handlerSpecific => Default (SampleEntry handlerSpecific) Source # | |
IsBoxContent handlerSpecific => IsBoxContent (SampleEntry handlerSpecific) Source # | |
(IsBoxContent handlertype, KnownSymbol (BoxTypeSymbol * handlertype)) => IsBox (SampleEntry handlertype) Source # | |
type IsRuleConform Type * (Box (SampleEntry handlerSpecificEntry)) (MatchSampleEntry handlerType) Source # | |
type BoxContent (SampleEntry handlertype) Source # | |
type BoxTypeSymbol * (SampleEntry handlerSpecific) Source # | |
data MatchSampleEntry :: HandlerType -> Type Source #
Use this in IsMediaFileFormat
s BoxLayout
to range over any specific
SampleEntry
, disregarding the second parameter (that indicates low-level
format, protocol or codec characteristics). Add a GetHandlerType
instance for
MatchSampleEntry
to match a sample type specific entry.
type IsRuleConform Type * (Box (SampleEntry handlerSpecificEntry)) (MatchSampleEntry handlerType) Source # | |