isobmff-0.14.0.0: A parser and generator for the ISO-14496-12/14 base media file format

Safe HaskellNone
LanguageHaskell2010

Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

Description

A table mapping chunks to *absolute* file offsets. Two variants exist: 32 or 64 bits.

Synopsis

Documentation

chunkOffset32 :: [StcoEntry32] -> Box ChunkOffset32 Source #

Create a hunk offset box for 32 bit entries (stco). If possible use this over ChunkOffset64

chunkOffset64 :: [StcoEntry64] -> Box ChunkOffset64 Source #

Create a hunk offset box for 64 bit entries (stco). If possible use ChunkOffset32

type ChunkOffset32 = FullBox ChunkOffsetTable32 0 Source #

Chunk offset box for 32 bit entries (stco). If possible use this over ChunkOffset64

type ChunkOffset64 = FullBox ChunkOffsetTable64 0 Source #

Chunk offset box for 64 bit entries (stco). If possible use ChunkOffset32

type ChunkOffsetTable32 = ChunkOffsetTable StcoEntry32 Source #

Alias for ChunkOffsetTable for 32 bit entries (stco)

type ChunkOffsetTable64 = ChunkOffsetTable StcoEntry64 Source #

Alias for ChunkOffsetTable for 64 bit entries (co64)

newtype ChunkOffsetTable stcoEntry Source #

A list of StcoEntry32 or StcoEntry64 entries.

Constructors

ChunkOffsetTable (ListContent (U32 "entry_count") stcoEntry) 
Instances
IsBox ChunkOffsetTable64 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

Associated Types

type BoxContent ChunkOffsetTable64 :: Type Source #

IsBox ChunkOffsetTable32 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

Associated Types

type BoxContent ChunkOffsetTable32 :: Type Source #

Default (ChunkOffsetTable stcoEntry) Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

Methods

def :: ChunkOffsetTable stcoEntry #

IsBoxContent stcoEntry => IsBoxContent (ChunkOffsetTable stcoEntry) Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

type BoxContent ChunkOffsetTable64 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

type BoxContent ChunkOffsetTable32 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

type BoxTypeSymbol ChunkOffsetTable64 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

type BoxTypeSymbol ChunkOffsetTable32 Source # 
Instance details

Defined in Data.ByteString.IsoBaseFileFormat.Boxes.ChunkOffset

type StcoEntry32 = U32 "chunk_offset" Source #

An entry of the ChunkOffsetTable contains just the absolute file offset to the chunk.

type StcoEntry64 = U64 "chunk_offset" Source #

An entry of the ChunkOffsetTable contains just the absolute file offset to the chunk.