edu.umd.cfar.lamp.mpeg1.video
Class SequenceHeader
java.lang.Object
edu.umd.cfar.lamp.mpeg1.video.SequenceHeader
- All Implemented Interfaces:
- Parsable
- public class SequenceHeader
- extends java.lang.Object
- implements Parsable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VARIABLE_BITRATE
public static final int VARIABLE_BITRATE
- See Also:
- Constant Field Values
SequenceHeader
public SequenceHeader()
writeIndex
public void writeIndex(java.io.DataOutput out)
throws java.io.IOException
- Throws:
java.io.IOException
readIndex
public void readIndex(java.io.DataInput in,
byte version)
throws java.io.IOException,
UnsupportedIndexVersionException
- Throws:
java.io.IOException
UnsupportedIndexVersionException
getFrameWidth
public int getFrameWidth()
getFrameHeight
public int getFrameHeight()
getMbWidth
public int getMbWidth()
getMbHeight
public int getMbHeight()
getPixelAspectRatio
public PelAspectRatio getPixelAspectRatio()
getFrameRate
public float getFrameRate()
getBitRate
public int getBitRate()
getIntraQuantizerMatrix
public int[][] getIntraQuantizerMatrix()
getNonIntraQuantizerMatrix
public int[][] getNonIntraQuantizerMatrix()
parse
public void parse(Bitstream bitstream)
throws java.io.IOException
- Specified by:
parse
in interface Parsable
- Throws:
java.io.IOException