Package io.antmedia.muxer.parser
Class SPSParser
java.lang.Object
io.antmedia.muxer.parser.Parser
io.antmedia.muxer.parser.SPSParser
SPS parser parses the AnnexB SPS and finds some codec parameters
- Author:
- mekya
-
Field Summary
Fields inherited from class io.antmedia.muxer.parser.Parser
currentBit, data, errorOccured, height, width
-
Constructor Summary
ConstructorDescriptionSPSParser
(byte[] data, int offset) It starts parsing with the 6 byte in the annexb format. -
Method Summary
Methods inherited from class io.antmedia.muxer.parser.Parser
getHeight, getWidth, isErrorOccured, readBit, readBits, readByte, readExponentialGolombCode, readSE
-
Constructor Details
-
SPSParser
public SPSParser(byte[] data, int offset) It starts parsing with the 6 byte in the annexb format. First bytes are in this order 0x00 0x00 0x00 0x01 0xHEADER_BYTE(0x67, 0x27) 0xSTARTS_HERE- Parameters:
data
-offset
-
-
-
Method Details