#include <MatroskaFileParser.hh>
|
static void | continueParsing (void *clientData, unsigned char *ptr, unsigned size, struct timeval presentationTime) |
|
|
typedef void() | clientContinueFunc(void *clientData, unsigned char *ptr, unsigned size, struct timeval presentationTime) |
|
|
Boolean | parse () |
|
Boolean | parseStartOfFile () |
|
void | lookForNextTrack () |
|
Boolean | parseTrack () |
|
Boolean | parseCues () |
|
void | lookForNextBlock () |
|
void | parseBlock () |
|
Boolean | deliverFrameWithinBlock () |
|
void | deliverFrameBytes () |
|
void | getCommonFrameBytes (MatroskaTrack *track, u_int8_t *to, unsigned numBytesToGet, unsigned numBytesToSkip) |
|
Boolean | parseEBMLNumber (EBMLNumber &num) |
|
Boolean | parseEBMLIdAndSize (EBMLId &id, EBMLDataSize &size) |
|
Boolean | parseEBMLVal_unsigned64 (EBMLDataSize &size, u_int64_t &result) |
|
Boolean | parseEBMLVal_unsigned (EBMLDataSize &size, unsigned &result) |
|
Boolean | parseEBMLVal_float (EBMLDataSize &size, float &result) |
|
Boolean | parseEBMLVal_string (EBMLDataSize &size, char *&result) |
|
Boolean | parseEBMLVal_binary (EBMLDataSize &size, u_int8_t *&result) |
|
void | skipHeader (EBMLDataSize const &size) |
|
void | skipRemainingHeaderBytes (Boolean isContinuation) |
|
void | setParseState () |
|
void | seekToFilePosition (u_int64_t offsetInFile) |
|
void | seekToEndOfFile () |
|
void | resetStateAfterSeeking () |
|
void | resetPresentationTimes () |
|
virtual void | restoreSavedParserState () |
|
unsigned char * | curBank () |
|
unsigned char * | nextToParse () |
|
unsigned char * | lastParsed () |
|
void | ensureValidBytes (unsigned numBytesNeeded) |
|
void | ensureValidBytes1 (unsigned numBytesNeeded) |
|
void | afterGettingBytes1 (unsigned numBytesRead, struct timeval presentationTime) |
|
void | onInputClosure1 () |
|
|
static void | afterGettingBytes (void *clientData, unsigned numBytesRead, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
static void | onInputClosure (void *clientData) |
|
Definition at line 46 of file MatroskaFileParser.hh.
◆ clientContinueFunc
typedef void() StreamParser::clientContinueFunc(void *clientData, unsigned char *ptr, unsigned size, struct timeval presentationTime) |
|
protectedinherited |
◆ MatroskaFileParser()
◆ ~MatroskaFileParser()
virtual MatroskaFileParser::~MatroskaFileParser |
( |
| ) |
|
|
virtual |
◆ afterGettingBytes()
static void StreamParser::afterGettingBytes |
( |
void * |
clientData, |
|
|
unsigned |
numBytesRead, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
|
staticprivateinherited |
◆ afterGettingBytes1()
void StreamParser::afterGettingBytes1 |
( |
unsigned |
numBytesRead, |
|
|
struct timeval |
presentationTime |
|
) |
| |
|
privateinherited |
◆ bankSize()
unsigned StreamParser::bankSize |
( |
| ) |
const |
|
protectedinherited |
◆ continueParsing() [1/2]
void MatroskaFileParser::continueParsing |
( |
| ) |
|
◆ continueParsing() [2/2]
static void MatroskaFileParser::continueParsing |
( |
void * |
clientData, |
|
|
unsigned char * |
ptr, |
|
|
unsigned |
size, |
|
|
struct timeval |
presentationTime |
|
) |
| |
|
static |
◆ curBank()
unsigned char * StreamParser::curBank |
( |
| ) |
|
|
inlineprivateinherited |
◆ curOffset()
unsigned StreamParser::curOffset |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ deliverFrameBytes()
void MatroskaFileParser::deliverFrameBytes |
( |
| ) |
|
|
private |
◆ deliverFrameWithinBlock()
Boolean MatroskaFileParser::deliverFrameWithinBlock |
( |
| ) |
|
|
private |
◆ ensureValidBytes()
void StreamParser::ensureValidBytes |
( |
unsigned |
numBytesNeeded | ) |
|
|
inlineprivateinherited |
◆ ensureValidBytes1()
void StreamParser::ensureValidBytes1 |
( |
unsigned |
numBytesNeeded | ) |
|
|
privateinherited |
◆ flushInput()
virtual void StreamParser::flushInput |
( |
| ) |
|
|
virtualinherited |
◆ get1Byte()
u_int8_t StreamParser::get1Byte |
( |
| ) |
|
|
inlineprotectedinherited |
◆ get2Bytes()
u_int16_t StreamParser::get2Bytes |
( |
| ) |
|
|
inlineprotectedinherited |
◆ get4Bytes()
u_int32_t StreamParser::get4Bytes |
( |
| ) |
|
|
inlineprotectedinherited |
◆ getBits()
unsigned StreamParser::getBits |
( |
unsigned |
numBits | ) |
|
|
protectedinherited |
◆ getBytes()
void StreamParser::getBytes |
( |
u_int8_t * |
to, |
|
|
unsigned |
numBytes |
|
) |
| |
|
inlineprotectedinherited |
◆ getCommonFrameBytes()
void MatroskaFileParser::getCommonFrameBytes |
( |
MatroskaTrack * |
track, |
|
|
u_int8_t * |
to, |
|
|
unsigned |
numBytesToGet, |
|
|
unsigned |
numBytesToSkip |
|
) |
| |
|
private |
◆ haveSeenEOF()
Boolean StreamParser::haveSeenEOF |
( |
| ) |
const |
|
inlineprotectedinherited |
◆ lastParsed()
unsigned char * StreamParser::lastParsed |
( |
| ) |
|
|
inlineprivateinherited |
◆ lookForNextBlock()
void MatroskaFileParser::lookForNextBlock |
( |
| ) |
|
|
private |
◆ lookForNextTrack()
void MatroskaFileParser::lookForNextTrack |
( |
| ) |
|
|
private |
◆ nextToParse()
unsigned char * StreamParser::nextToParse |
( |
| ) |
|
|
inlineprivateinherited |
◆ onInputClosure()
static void StreamParser::onInputClosure |
( |
void * |
clientData | ) |
|
|
staticprivateinherited |
◆ onInputClosure1()
void StreamParser::onInputClosure1 |
( |
| ) |
|
|
privateinherited |
◆ parse()
Boolean MatroskaFileParser::parse |
( |
| ) |
|
|
private |
◆ parseBlock()
void MatroskaFileParser::parseBlock |
( |
| ) |
|
|
private |
◆ parseCues()
Boolean MatroskaFileParser::parseCues |
( |
| ) |
|
|
private |
◆ parseEBMLIdAndSize()
◆ parseEBMLNumber()
◆ parseEBMLVal_binary()
◆ parseEBMLVal_float()
◆ parseEBMLVal_string()
◆ parseEBMLVal_unsigned()
◆ parseEBMLVal_unsigned64()
Boolean MatroskaFileParser::parseEBMLVal_unsigned64 |
( |
EBMLDataSize & |
size, |
|
|
u_int64_t & |
result |
|
) |
| |
|
private |
◆ parseStartOfFile()
Boolean MatroskaFileParser::parseStartOfFile |
( |
| ) |
|
|
private |
◆ parseTrack()
Boolean MatroskaFileParser::parseTrack |
( |
| ) |
|
|
private |
◆ pause()
void MatroskaFileParser::pause |
( |
| ) |
|
◆ resetPresentationTimes()
void MatroskaFileParser::resetPresentationTimes |
( |
| ) |
|
|
private |
◆ resetStateAfterSeeking()
void MatroskaFileParser::resetStateAfterSeeking |
( |
| ) |
|
|
private |
◆ restoreSavedParserState()
virtual void MatroskaFileParser::restoreSavedParserState |
( |
| ) |
|
|
privatevirtual |
◆ saveParserState()
void StreamParser::saveParserState |
( |
| ) |
|
|
protectedinherited |
◆ seekToEndOfFile()
void MatroskaFileParser::seekToEndOfFile |
( |
| ) |
|
|
private |
◆ seekToFilePosition()
void MatroskaFileParser::seekToFilePosition |
( |
u_int64_t |
offsetInFile | ) |
|
|
private |
◆ seekToTime()
void MatroskaFileParser::seekToTime |
( |
double & |
seekNPT | ) |
|
◆ setParseState()
void MatroskaFileParser::setParseState |
( |
| ) |
|
|
private |
◆ skipBits()
void StreamParser::skipBits |
( |
unsigned |
numBits | ) |
|
|
protectedinherited |
◆ skipBytes()
void StreamParser::skipBytes |
( |
unsigned |
numBytes | ) |
|
|
inlineprotectedinherited |
◆ skipHeader()
void MatroskaFileParser::skipHeader |
( |
EBMLDataSize const & |
size | ) |
|
|
private |
◆ skipRemainingHeaderBytes()
void MatroskaFileParser::skipRemainingHeaderBytes |
( |
Boolean |
isContinuation | ) |
|
|
private |
◆ stopAnyDeliveryForTrack()
void MatroskaFileParser::stopAnyDeliveryForTrack |
( |
unsigned |
trackNumber | ) |
|
◆ test1Byte()
u_int8_t StreamParser::test1Byte |
( |
| ) |
|
|
inlineprotectedinherited |
◆ test2Bytes()
u_int16_t StreamParser::test2Bytes |
( |
| ) |
|
|
inlineprotectedinherited |
◆ test4Bytes()
u_int32_t StreamParser::test4Bytes |
( |
| ) |
|
|
inlineprotectedinherited |
◆ testBytes()
void StreamParser::testBytes |
( |
u_int8_t * |
to, |
|
|
unsigned |
numBytes |
|
) |
| |
|
inlineprotectedinherited |
◆ totNumValidBytes()
unsigned & StreamParser::totNumValidBytes |
( |
| ) |
|
|
inlineprotectedinherited |
◆ fBank
unsigned char* StreamParser::fBank[2] |
|
privateinherited |
◆ fBlockSize
unsigned MatroskaFileParser::fBlockSize |
|
private |
◆ fBlockTimecode
short MatroskaFileParser::fBlockTimecode |
|
private |
◆ fBlockTrackNumber
unsigned MatroskaFileParser::fBlockTrackNumber |
|
private |
◆ fClientContinueClientData
void* StreamParser::fClientContinueClientData |
|
privateinherited |
◆ fClientContinueFunc
◆ fClientOnInputCloseClientData
void* StreamParser::fClientOnInputCloseClientData |
|
privateinherited |
◆ fClientOnInputCloseFunc
◆ fClusterTimecode
unsigned MatroskaFileParser::fClusterTimecode |
|
private |
◆ fCurBank
unsigned char* StreamParser::fCurBank |
|
privateinherited |
◆ fCurBankNum
unsigned char StreamParser::fCurBankNum |
|
privateinherited |
◆ fCurFrameNumBytesToGet
unsigned MatroskaFileParser::fCurFrameNumBytesToGet |
|
private |
◆ fCurFrameNumBytesToSkip
unsigned MatroskaFileParser::fCurFrameNumBytesToSkip |
|
private |
◆ fCurFrameTo
u_int8_t* MatroskaFileParser::fCurFrameTo |
|
private |
◆ fCurOffsetInFile
u_int64_t MatroskaFileParser::fCurOffsetInFile |
|
private |
◆ fCurOffsetWithinFrame
unsigned MatroskaFileParser::fCurOffsetWithinFrame |
|
private |
◆ fCurParserIndex
unsigned StreamParser::fCurParserIndex |
|
privateinherited |
◆ fCurrentParseState
◆ fFrameSizesWithinBlock
unsigned* MatroskaFileParser::fFrameSizesWithinBlock |
|
private |
◆ fHaveSeenEOF
◆ fInputSource
◆ fLastSeekId
EBMLId MatroskaFileParser::fLastSeekId |
|
private |
◆ fLastSeenPresentationTime
struct timeval StreamParser::fLastSeenPresentationTime |
|
privateinherited |
◆ fLimitOffsetInFile
u_int64_t MatroskaFileParser::fLimitOffsetInFile |
|
private |
◆ fNextFrameNumberToDeliver
unsigned MatroskaFileParser::fNextFrameNumberToDeliver |
|
private |
◆ fNumFramesInBlock
unsigned MatroskaFileParser::fNumFramesInBlock |
|
private |
◆ fNumHeaderBytesToSkip
u_int64_t MatroskaFileParser::fNumHeaderBytesToSkip |
|
private |
◆ fOnEndClientData
void* MatroskaFileParser::fOnEndClientData |
|
private |
◆ fOnEndFunc
◆ fOurDemux
◆ fOurFile
◆ fPresentationTimeOffset
double MatroskaFileParser::fPresentationTimeOffset |
|
private |
◆ fRemainingUnparsedBits
unsigned char StreamParser::fRemainingUnparsedBits |
|
privateinherited |
◆ fSavedCurOffsetInFile
u_int64_t MatroskaFileParser::fSavedCurOffsetInFile |
|
private |
◆ fSavedCurOffsetWithinFrame
unsigned MatroskaFileParser::fSavedCurOffsetWithinFrame |
|
private |
◆ fSavedParserIndex
unsigned StreamParser::fSavedParserIndex |
|
privateinherited |
◆ fSavedRemainingUnparsedBits
unsigned char StreamParser::fSavedRemainingUnparsedBits |
|
privateinherited |
◆ fTotNumValidBytes
unsigned StreamParser::fTotNumValidBytes |
|
privateinherited |
The documentation for this class was generated from the following file: