edu.umd.cfar.lamp.mpeg1.video
Class SequenceHeader

java.lang.Object
  extended byedu.umd.cfar.lamp.mpeg1.video.SequenceHeader
All Implemented Interfaces:
Parsable

public class SequenceHeader
extends java.lang.Object
implements Parsable


Field Summary
static int VARIABLE_BITRATE
           
 
Constructor Summary
SequenceHeader()
           
 
Method Summary
 int getBitRate()
           
 int getFrameHeight()
           
 float getFrameRate()
           
 int getFrameWidth()
           
 int[][] getIntraQuantizerMatrix()
           
 int getMbHeight()
           
 int getMbWidth()
           
 int[][] getNonIntraQuantizerMatrix()
           
 PelAspectRatio getPixelAspectRatio()
           
 void parse(Bitstream bitstream)
           
 void readIndex(java.io.DataInput in, byte version)
           
 void writeIndex(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE_BITRATE

public static final int VARIABLE_BITRATE
See Also:
Constant Field Values
Constructor Detail

SequenceHeader

public SequenceHeader()
Method Detail

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