UnTransmoggrify.cpp File Reference

#include "stdafx.h"
#include <libOOOgg/libOOOgg.h>
#include <libOOOgg/dllstuff.h>
#include <libilliCore/iBE_Math.h>
#include <libilliCore/iLE_Math.h>
#include "OggFileWriter.h"
#include <iostream>
#include <fstream>

Include dependency graph for UnTransmoggrify.cpp:

Include dependency graph

Go to the source code of this file.

Classes

struct  sStreamInfo

Functions

bool fixifyPage (OggPage *inOggPage, sStreamInfo *inStreamInfo)
int main (int argc, char *argv[])
bool pageCB (OggPage *inOggPage, void *)
bool setMuxState (OggPage *inOggPage, OggMuxStream *inMuxStream)

Variables

unsigned long bytePos
OggFileWriterfileWriter
unsigned long granFixCount = 0
bool hasPageWaiting = false
OggPageInterleaverinterleaver
bool isFirstPage = true
OggPagependingPage = NULL
OggMuxStreampendingStream = NULL
vector< sStreamInfo * > streamList


Function Documentation

bool fixifyPage OggPage inOggPage,
sStreamInfo inStreamInfo
 

Definition at line 68 of file UnTransmoggrify.cpp.

References OggPage::computeAndSetCRCChecksum(), OggPage::getPacket(), OggPage::header(), OggPacket::isTruncated(), sStreamInfo::mMuxStream, sStreamInfo::mUptoSeqNo, OggMuxStream::numHeaders(), OggPage::numPackets(), OggPageHeader::setGranulePos(), and OggPageHeader::setPageSequenceNo().

Referenced by pageCB().

Here is the call graph for this function:

int main int  argc,
char *  argv[]
 

Definition at line 207 of file UnTransmoggrify.cpp.

References bytePos, OggDataBuffer::feed(), fileWriter, interleaver, pageCB(), and OggDataBuffer::registerStaticCallback().

Here is the call graph for this function:

bool pageCB OggPage inOggPage,
void * 
 

Definition at line 110 of file UnTransmoggrify.cpp.

References OggMuxStream::acceptOggPage(), fixifyPage(), OggPage::getPacket(), hasPageWaiting, OggPage::header(), interleaver, OggPageHeader::isBOS(), isFirstPage, sStreamInfo::mMuxStream, sStreamInfo::mSerialNo, sStreamInfo::mUptoSeqNo, OggPageInterleaver::newStream(), OggPacket::packetData(), pendingPage, pendingStream, OggMuxStream::setIsActive(), setMuxState(), streamList, and OggPageHeader::StreamSerialNo().

Here is the call graph for this function:

bool setMuxState OggPage inOggPage,
OggMuxStream inMuxStream
 

Definition at line 88 of file UnTransmoggrify.cpp.

References iBE_Math::charArrToULong(), OggPage::getPacket(), OggPacket::packetData(), OggMuxStream::setConversionParams(), and OggMuxStream::setNumHeaders().

Referenced by pageCB().

Here is the call graph for this function:


Variable Documentation

unsigned long bytePos
 

Definition at line 45 of file UnTransmoggrify.cpp.

OggFileWriter* fileWriter
 

Definition at line 49 of file UnTransmoggrify.cpp.

Referenced by main().

unsigned long granFixCount = 0
 

Definition at line 56 of file UnTransmoggrify.cpp.

bool hasPageWaiting = false
 

Definition at line 54 of file UnTransmoggrify.cpp.

Referenced by pageCB().

OggPageInterleaver* interleaver
 

Definition at line 47 of file UnTransmoggrify.cpp.

Referenced by main(), and pageCB().

bool isFirstPage = true
 

Definition at line 53 of file UnTransmoggrify.cpp.

Referenced by pageCB().

OggPage* pendingPage = NULL
 

Definition at line 51 of file UnTransmoggrify.cpp.

Referenced by OggDataBuffer::OggDataBuffer(), and pageCB().

OggMuxStream* pendingStream = NULL
 

Definition at line 52 of file UnTransmoggrify.cpp.

Referenced by pageCB().

vector<sStreamInfo*> streamList
 

Definition at line 65 of file UnTransmoggrify.cpp.

Referenced by pageCB().


Generated on Thu Feb 16 23:57:55 2006 for oggdsf by  doxygen 1.3.9