public interface IndexTable extends Cloneable
Represents an index table in an MXF file, providing a means to calculate byte offsets for the indexed essence container.
In a file, the index table is made up of a sequence of one or more index table segments. In fact, the index table does not exist in the file as a single entity and must be created by joining together all the segments with the same index stream identifier.
IndexTableSegment,
IndexEntry| Modifier and Type | Field and Description |
|---|---|
static PrimerPack |
indexPrimer |
| Modifier and Type | Method and Description |
|---|---|
IndexTable |
clone()
Create a cloned copy of this index table.
|
int |
getIndexSID()
Returns the index stream identifier for this index table within its
MXF file.
|
long |
streamOffset(long position,
int subStream)
Calculate the byte offset in the indexed stream of the frame at the
given position.
|
static final PrimerPack indexPrimer
@UInt32 int getIndexSID()
Returns the index stream identifier for this index table within its MXF file.
@UInt64 long streamOffset(@PositionType long position, @UInt32 int subStream) throws IllegalArgumentException
Calculate the byte offset in the indexed stream of the frame at the given position.
position - Edit unit number counted from the start of body.subStream - Sub-stream number to calculate the offset for.IllegalArgumentExceptionIndexTable clone()
Create a cloned copy of this index table.
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.