com.googlecode.mp4parser.h264.read
Class CAVLCReader

java.lang.Object
  extended by com.googlecode.mp4parser.h264.read.BitstreamReader
      extended by com.googlecode.mp4parser.h264.read.CAVLCReader

public class CAVLCReader
extends BitstreamReader


Field Summary
 
Fields inherited from class com.googlecode.mp4parser.h264.read.BitstreamReader
bitsRead, debugBits
 
Constructor Summary
CAVLCReader(InputStream is)
           
 
Method Summary
 byte[] read(int payloadSize)
           
 boolean readAE()
           
 int readAEI()
           
 boolean readBool(String message)
           
 Object readCE(BTree bt, String message)
           
 int readME(String string)
           
 long readNBit(int n, String message)
           
 int readSE(String message)
           
 int readTE(int max)
           
 void readTrailingBits()
           
 int readU(int i, String string)
           
 int readUE(String message)
           
 int readZeroBitCount(String message)
           
 
Methods inherited from class com.googlecode.mp4parser.h264.read.BitstreamReader
close, getBitPosition, getCurBit, isByteAligned, moreRBSPData, peakNextBits, read1Bit, readByte, readNBit, readRemainingByte
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CAVLCReader

public CAVLCReader(InputStream is)
            throws IOException
Throws:
IOException
Method Detail

readNBit

public long readNBit(int n,
                     String message)
              throws IOException
Throws:
IOException

readUE

public int readUE(String message)
           throws IOException
Throws:
IOException

readSE

public int readSE(String message)
           throws IOException
Throws:
IOException

readBool

public boolean readBool(String message)
                 throws IOException
Throws:
IOException

readU

public int readU(int i,
                 String string)
          throws IOException
Throws:
IOException

read

public byte[] read(int payloadSize)
            throws IOException
Throws:
IOException

readAE

public boolean readAE()

readTE

public int readTE(int max)
           throws IOException
Throws:
IOException

readAEI

public int readAEI()

readME

public int readME(String string)
           throws IOException
Throws:
IOException

readCE

public Object readCE(BTree bt,
                     String message)
              throws IOException
Throws:
IOException

readZeroBitCount

public int readZeroBitCount(String message)
                     throws IOException
Throws:
IOException

readTrailingBits

public void readTrailingBits()
                      throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.