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

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Boxes.SampleSize

Description

A box containing the sample count and sample size table.

Synopsis

Documentation

type SampleSize = FullBox SampleSizeTable 0 Source #

Content type of the FullBox containing the SampleSize.

fixedSampleSize :: Word32 -> Word32 -> Box SampleSize Source #

Create a SampleSize box for the case where all sample sizes are equal, no table with the size of each sample is required.

individualSampleSizes :: [Word32] -> Box SampleSize Source #

Create a SampleSize box for the case where samples have different sizes. The list MUST contain an entry for **every sample** in the media file.

data SampleSizeTable Source #

The SampleSize box content. If sampleSize == 0 then each sample has its own size and the table field contains an entry for **every** sample, the number of entries is stored in sampleCount. Otherwise the samples are assumed to all have the same size: sampleSize.