21#ifndef _MPEG2_TRANSPORT_STREAM_PARSER_HH
23#ifndef _STREAM_PARSER_HH
26#ifndef _MPEG2_TRANSPORT_STREAM_DEMUXED_TRACK_HH
102 static void continueParsing(
void* clientData,
unsigned char* ptr,
unsigned size,
struct timeval presentationTime);
void() onCloseFunc(void *clientData)
FramedSource * fInputSource
UsageEnvironment & envir()
void parsePMT(PIDState_PMT *pidState, Boolean pusi, unsigned numDataBytes)
FramedSource::onCloseFunc * fOnEndFunc
void parseStreamDescriptors(unsigned numDescriptorBytes)
Boolean processStreamPacket(PIDState_STREAM *pidState, Boolean pusi, unsigned numDataBytes)
virtual ~MPEG2TransportStreamParser()
u_int8_t parseAdaptationField()
static void continueParsing(void *clientData, unsigned char *ptr, unsigned size, struct timeval presentationTime)
Boolean processDataBytes(u_int16_t PID, Boolean pusi, unsigned numDataBytes)
void parsePAT(Boolean pusi, unsigned numDataBytes)
unsigned parsePESHeader(PIDState_STREAM *pidState, unsigned numDataBytes)
MPEG2TransportStreamParser(FramedSource *inputSource, FramedSource::onCloseFunc *onEndFunc, void *onEndClientData)
virtual void restoreSavedParserState()
Boolean fAmCurrentlyParsing
PIDState_PAT(MPEG2TransportStreamParser &parser, u_int16_t pid)
PIDState_PMT(MPEG2TransportStreamParser &parser, u_int16_t pid, u_int16_t programNumber)
MPEG2TransportStreamDemuxedTrack * streamSource
virtual ~PIDState_STREAM()
PIDState_STREAM(MPEG2TransportStreamParser &parser, u_int16_t pid, u_int16_t programNumber, u_int8_t streamType)
MPEG2TransportStreamParser & ourParser
PIDState(MPEG2TransportStreamParser &parser, u_int16_t pid, PIDType pidType)
StreamType(char const *description="unknown", enum dataType dataType=UNKNOWN, char const *filenameSuffix="")
char const * filenameSuffix