public class TrackRunBox extends AbstractFullBox
Modifier and Type | Class and Description |
---|---|
static class |
TrackRunBox.Entry |
Modifier and Type | Field and Description |
---|---|
static String |
TYPE |
type
Constructor and Description |
---|
TrackRunBox() |
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlags
getBox, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setDeadBytes, setParent
public static final String TYPE
public List<TrackRunBox.Entry> getEntries()
public void setDataOffset(int dataOffset)
public long[] getSampleCompositionTimeOffsets()
protected long getContentSize()
AbstractBox
getContent(ByteBuffer)
writes.getContentSize
in class AbstractBox
AbstractBox.getContent(java.nio.ByteBuffer)
protected void getContent(ByteBuffer byteBuffer)
AbstractBox
ByteBuffer
. This must include flags
and version in case of a full box. byteBuffer
has been initialized with
getSize()
bytes.getContent
in class AbstractBox
byteBuffer
- the sink for the box's contentpublic void _parseDetails(ByteBuffer content)
AbstractBox
_parseDetails
in class AbstractBox
content
- the box's raw content beginning after the 4-cc field.public long getSampleCount()
public boolean isDataOffsetPresent()
public boolean isFirstSampleFlagsPresent()
public boolean isSampleSizePresent()
public boolean isSampleDurationPresent()
public boolean isSampleFlagsPresent()
public boolean isSampleCompositionTimeOffsetPresent()
public void setDataOffsetPresent(boolean v)
public void setSampleSizePresent(boolean v)
public void setSampleDurationPresent(boolean v)
public void setSampleFlagsPresent(boolean v)
public void setSampleCompositionTimeOffsetPresent(boolean v)
public int getDataOffset()
public SampleFlags getFirstSampleFlags()
public void setFirstSampleFlags(SampleFlags firstSampleFlags)
public void setEntries(List<TrackRunBox.Entry> entries)
Copyright © 2014. All rights reserved.