21#ifndef _OGG_FILE_PARSER_HH
23#ifndef _STREAM_PARSER_HH
58 static void continueParsing(
void* clientData,
unsigned char* ptr,
unsigned size,
struct timeval presentationTime);
@ PARSING_AND_DELIVERING_PAGES
@ DELIVERING_PACKET_WITHIN_PAGE
void() onCloseFunc(void *clientData)
FramedSource * fInputSource
OggFileParser(OggFile &ourFile, FramedSource *inputSource, FramedSource::onCloseFunc *onEndFunc, void *onEndClientData, OggDemux *ourDemux=NULL)
OggParseState fCurrentParseState
Boolean deliverPacketWithinPage()
unsigned fNumUnfulfilledTracks
PacketSizeTable * fPacketSizeTable
static void continueParsing(void *clientData, unsigned char *ptr, unsigned size, struct timeval presentationTime)
FramedSource::onCloseFunc * fOnEndFunc
u_int8_t parseInitialPage()
void parseAndDeliverPages()
Boolean parseAndDeliverPage()
void parseStartOfPage(u_int8_t &header_type_flag, u_int32_t &bitstream_serial_number)
Boolean parseStartOfFile()
Boolean validateHeader(OggTrack *track, u_int8_t const *p, unsigned headerSize)
u_int32_t fCurrentTrackNumber
unsigned nextPacketNumToDeliver
unsigned numCompletedPackets
Boolean lastPacketIsIncomplete
PacketSizeTable(unsigned number_page_segments)