21#ifndef _MPEG_VIDEO_STREAM_PARSER_HH
22#define _MPEG_VIDEO_STREAM_PARSER_HH
24#ifndef _STREAM_PARSER_HH
27#ifndef _MPEG_VIDEO_STREAM_FRAMER_HH
70 *
fTo++ = word>>24; *
fTo++ = word>>16; *
fTo++ = word>>8; *
fTo++ = word;
77 while ((curWord&0xFFFFFF00) != 0x00000100) {
78 if ((
unsigned)(curWord&0xFF) > 1) {
86 curWord = (curWord<<8)|newByte;
94 while ((curWord&0xFFFFFF00) != 0x00000100) {
95 if ((
unsigned)(curWord&0xFF) > 1) {
101 curWord = (curWord<<8)|newByte;
unsigned fSavedNumTruncatedBytes
unsigned fNumTruncatedBytes
unsigned char * fStartOfFrame
virtual void restoreSavedParserState()
MPEGVideoStreamParser(MPEGVideoStreamFramer *usingSource, FramedSource *inputSource)
unsigned numTruncatedBytes() const
void skipToNextCode(u_int32_t &curWord)
void registerReadInterest(unsigned char *to, unsigned maxSize)
void saveToNextCode(u_int32_t &curWord)
void save4Bytes(u_int32_t word)
virtual unsigned parse()=0
MPEGVideoStreamFramer * fUsingSource
void saveByte(u_int8_t byte)
virtual ~MPEGVideoStreamParser()