AnxCutter.cpp File Reference

#include "stdafx.h"
#include <libOOOgg/libOOOgg.h>
#include <libOOOgg/dllstuff.h>
#include <libOOOggSeek/AutoAnxSeekTable.h>
#include <iostream>
#include <fstream>

Include dependency graph for AnxCutter.cpp:

Include dependency graph

Go to the source code of this file.

Typedefs

typedef pair< unsigned long,
unsigned long > 
tSerial_HeadCountPair

Enumerations

enum  eDemuxState {
  SEEN_NOTHING, SEEN_ANNODEX_BOS, SEEN_ANNODEX_EOS, SEEN_ALL_CODEC_HEADERS,
  INVALID = 100
}

Functions

bool writePageToOutputFile (OggPage *inOggPage)
unsigned long headerCount (OggPacket *inPacket)
bool pageCB (OggPage *inOggPage, void *)
int main (int argc, char *argv[])

Variables

unsigned long bytePos
bool gotAllHeaders
fstream outputFile
vector< tSerial_HeadCountPairtheStreams
eDemuxState demuxState
unsigned long annodexSerialNo


Typedef Documentation

typedef pair<unsigned long, unsigned long> tSerial_HeadCountPair
 

Definition at line 46 of file AnxCutter.cpp.

Referenced by pageCB().


Enumeration Type Documentation

enum eDemuxState
 

Enumeration values:
SEEN_NOTHING 
SEEN_ANNODEX_BOS 
SEEN_ANNODEX_EOS 
SEEN_ALL_CODEC_HEADERS 
INVALID 

Definition at line 57 of file AnxCutter.cpp.


Function Documentation

unsigned long headerCount OggPacket inPacket  ) 
 

Definition at line 74 of file AnxCutter.cpp.

References iLE_Math::charArrToULong(), and OggPacket::packetData().

Referenced by pageCB().

Here is the call graph for this function:

int main int  argc,
char *  argv[]
 

Definition at line 184 of file AnxCutter.cpp.

References AutoOggSeekTable::buildTable(), bytePos, demuxState, OggDataBuffer::feed(), OggSeekTable::getStartPos(), gotAllHeaders, LOOG_UINT64, outputFile, pageCB(), OggDataBuffer::registerStaticCallback(), StringHelper::stringToNum(), and OggSeekTable::tSeekPair.

Here is the call graph for this function:

bool pageCB OggPage inOggPage,
void * 
 

Definition at line 80 of file AnxCutter.cpp.

References annodexSerialNo, demuxState, OggPage::getPacket(), OggPage::getStampedPacket(), OggPage::header(), headerCount(), INVALID, OggPageHeader::isBOS(), OggPageHeader::isEOS(), OggPage::numPackets(), OggPacket::packetData(), SEEN_ALL_CODEC_HEADERS, SEEN_ANNODEX_BOS, SEEN_ANNODEX_EOS, SEEN_NOTHING, StampedOggPacket::startTime(), OggPageHeader::StreamSerialNo(), theStreams, tSerial_HeadCountPair, and writePageToOutputFile().

Referenced by main().

Here is the call graph for this function:

bool writePageToOutputFile OggPage inOggPage  ) 
 

Definition at line 69 of file AnxCutter.cpp.

References OggPage::createRawPageData(), outputFile, and OggPage::pageSize().

Referenced by pageCB().

Here is the call graph for this function:


Variable Documentation

unsigned long annodexSerialNo
 

Definition at line 67 of file AnxCutter.cpp.

Referenced by pageCB().

unsigned long bytePos
 

Definition at line 48 of file AnxCutter.cpp.

Referenced by main(), and pageCB().

eDemuxState demuxState
 

Definition at line 65 of file AnxCutter.cpp.

Referenced by main(), and pageCB().

bool gotAllHeaders
 

Definition at line 50 of file AnxCutter.cpp.

Referenced by main().

fstream outputFile
 

Definition at line 52 of file AnxCutter.cpp.

Referenced by main(), and writePageToOutputFile().

vector<tSerial_HeadCountPair> theStreams
 

Definition at line 53 of file AnxCutter.cpp.

Referenced by pageCB().


Generated on Tue Feb 15 15:00:25 2005 for oggdsf by  doxygen 1.3.9