| 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.
- data family SampleEntry (handlertype :: HandlerType) (format :: k)
- sampleEntry :: forall handlertype format. U16 "data_reference_index" -> SampleEntry handlertype format -> Box (SampleEntry handlertype format)
- newtype SampleEntryFields a where
- SampleEntryFields :: (Constant (U8Arr "reserved" 6) '[0, 0, 0, 0, 0, 0] :+ (U16 "data_reference_index" :+ a)) -> SampleEntryFields a
- data MatchSampleEntry handlerType
Documentation
data family SampleEntry (handlertype :: HandlerType) (format :: k) Source #
Specific sample entries must provide an instance for this data family.
The format parameter will be used as BoxTypeSymbol.
Instances
| Default (SampleEntry * VideoTrack (VideoCoding c)) # | |
| Default (SampleEntry * AudioTrack (AudioCoding c)) # | |
| IsBoxContent (SampleEntry * VideoTrack (VideoCoding c)) Source # | |
| IsBoxContent (SampleEntry * AudioTrack (AudioCoding c)) Source # | |
| (IsBoxContent (SampleEntry k handlertype format), KnownSymbol (BoxTypeSymbol * (SampleEntry k handlertype format))) => IsBox (SampleEntry k handlertype format) Source # | |
| data SampleEntry k HintTrack Source # | Protocol specific data. To create |
| data SampleEntry * VideoTrack (VideoCoding c) Source # | Fields if visual sample entries.
A |
| data SampleEntry * AudioTrack (AudioCoding c) Source # | Fields if audio sample entries |
| type IsRuleConform * * (Box (SampleEntry k g' f)) (MatchSampleEntry g) Source # | |
| type BoxTypeSymbol * (SampleEntry k handlertype format) Source # | |
| type BoxContent (SampleEntry k handlertype format) Source # | |
sampleEntry :: forall handlertype format. U16 "data_reference_index" -> SampleEntry handlertype format -> Box (SampleEntry handlertype format) Source #
Create a SampleEntry Box from the data reference index and the
HandlerType specific SampleEntry instance.
newtype SampleEntryFields a where Source #
A common header for all specific sample entries, the BoxContent of the
abstract SampleEntry is SampleEntryFields (SampleEntry h f).
Constructors
| SampleEntryFields :: (Constant (U8Arr "reserved" 6) '[0, 0, 0, 0, 0, 0] :+ (U16 "data_reference_index" :+ a)) -> SampleEntryFields a |
Instances
| Default a => Default (SampleEntryFields a) Source # | |
| IsBoxContent a => IsBoxContent (SampleEntryFields a) Source # | |
data MatchSampleEntry handlerType 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).
Instances
| type IsRuleConform * * (Box (SampleEntry k g' f)) (MatchSampleEntry g) Source # | |