net.sf.ext.mediamanager.ebm.matroska
Class MatroskaBlock
java.lang.Object
net.sf.ext.mediamanager.ebml.Element
net.sf.ext.mediamanager.ebml.BinaryElement
net.sf.ext.mediamanager.ebm.matroska.MatroskaBlock
- public class MatroskaBlock
- extends BinaryElement
Title: JEBML
Description: Java Classes to Read EBML Elements
Copyright: Copyright (c) 2004 Jory Stone
- Version:
- 1.0
- Author:
- jcsston
Methods inherited from class net.sf.ext.mediamanager.ebml.BinaryElement |
codedSizeLength, getData, getMinByteSize, getMinByteSizeUnsigned, getMinSizeLength, getSize, getType, makeEbmlCode, makeEbmlCodedSize, packInt, packIntUnsigned, setData, setMinSizeLength, setSize, setType, toByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sizes
protected int[] Sizes
HeaderSize
protected int HeaderSize
BlockTimecode
protected int BlockTimecode
TrackNo
protected int TrackNo
MatroskaBlock
public MatroskaBlock(byte[] type)
readData
public void readData(DataSource source)
- Overrides:
readData
in class Element
parseBlock
public void parseBlock(DataSource source)
readEBMLLaceSizes
public int[] readEBMLLaceSizes(DataSource source,
short LaceCount)
readXiphLaceSizes
public int[] readXiphLaceSizes(DataSource source,
short LaceCount)
getFrameCount
public int getFrameCount()
getFrame
public byte[] getFrame(int frame)
getAdjustedBlockTimecode
public long getAdjustedBlockTimecode(long ClusterTimecode,
long TimecodeScale)
getTrackNo
public int getTrackNo()
getBlockTimecode
public int getBlockTimecode()