| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.ByteString.IsoBaseFileFormat.Boxes.SampleEntry
Description
Connect a sample description to a data reference via an index into the data reference entry table.
Synopsis
- 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).
Constructors
| SampleEntry :: (Constant (U8Arr "reserved" 6) '[0, 0, 0, 0, 0, 0] :+ (U16 "data_reference_index" :+ handlerSpecific)) -> SampleEntry handlerSpecific |
Instances
data MatchSampleEntry :: HandlerType -> Type Source #
Use this in IsMediaFileFormats 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.
Instances
| type IsRuleConform (Box (SampleEntry handlerSpecificEntry) :: Type) (MatchSampleEntry handlerType :: Type) Source # | |
Defined in Data.ByteString.IsoBaseFileFormat.Boxes.SampleEntry type IsRuleConform (Box (SampleEntry handlerSpecificEntry) :: Type) (MatchSampleEntry handlerType :: Type) = HandlerTypeCode (GetHandlerType handlerSpecificEntry) == HandlerTypeCode handlerType | |