Class CAVLCReader
- java.lang.Object
-
- org.mp4parser.muxer.tracks.h264.parsing.read.BitstreamReader
-
- org.mp4parser.muxer.tracks.h264.parsing.read.CAVLCReader
-
public class CAVLCReader extends BitstreamReader
-
-
Field Summary
-
Fields inherited from class org.mp4parser.muxer.tracks.h264.parsing.read.BitstreamReader
bitsRead, debugBits
-
-
Constructor Summary
Constructors Constructor Description CAVLCReader(InputStream is)
-
Method Summary
Modifier and Type Method Description byte[]read(int payloadSize)booleanreadAE()intreadAEI()booleanreadBool(String message)ObjectreadCE(BTree bt, String message)intreadME(String string)longreadNBit(int n, String message)intreadSE(String message)intreadTE(int max)voidreadTrailingBits()intreadU(int i, String string)intreadUE(String message)intreadZeroBitCount(String message)-
Methods inherited from class org.mp4parser.muxer.tracks.h264.parsing.read.BitstreamReader
close, getBitPosition, getCurBit, isByteAligned, moreRBSPData, peakNextBits, read1Bit, readBool, readByte, readNBit, readRemainingByte
-
-
-
-
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
-
-