Package io.antmedia.muxer.parser
Class Parser
java.lang.Object
io.antmedia.muxer.parser.Parser
- Direct Known Subclasses:
AACConfigParser
,HEVCDecoderConfigurationParser
,HEVCDecoderConfigurationParser.HEVCSPSParser
,SPSParser
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected byte[]
protected boolean
protected int
private static org.slf4j.Logger
private boolean
protected int
-
Constructor Summary
-
Method Summary
-
Field Details
-
currentBit
protected int currentBit -
data
protected byte[] data -
errorOccured
protected boolean errorOccured -
width
protected int width -
height
protected int height -
nalUnitParsing
private boolean nalUnitParsing -
logger
private static org.slf4j.Logger logger
-
-
Constructor Details
-
Parser
public Parser(byte[] data, int offset, boolean nalUnitParsing)
-
-
Method Details
-
parse
protected abstract void parse() -
readBit
protected int readBit() -
readBits
protected int readBits(int n) -
readExponentialGolombCode
protected int readExponentialGolombCode() -
readSE
protected int readSE() -
readByte
protected byte[] readByte(int numBytes) -
isErrorOccured
public boolean isErrorOccured() -
getWidth
public int getWidth() -
getHeight
public int getHeight()
-