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)
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 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
-
-