oggChainSplitter.cpp File Reference

#include "stdafx.h"
#include <libOOOgg/libOOOgg.h>
#include <libOOOgg/dllstuff.h>
#include "VorbisComments.h"
#include <iostream>
#include <fstream>
#include <vector>

Include dependency graph for oggChainSplitter.cpp:

Include dependency graph

Go to the source code of this file.

Functions

bool renameCurrentFile ()
bool writePage (OggPage *inOggPage)
bool pageCB (OggPage *inOggPage, void *)
int main (int argc, char *argv[])

Variables

unsigned long bytePos = 0
bool needComments = false
bool inStream = false
fstream outFile
string inFileName
string outFileName
VorbisComments currentComment
unsigned long chainCount = 0
bool isOK = true


Function Documentation

int main int  argc,
char *  argv[]
 

Definition at line 158 of file oggChainSplitter.cpp.

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

Here is the call graph for this function:

bool pageCB OggPage inOggPage,
void * 
 

Definition at line 104 of file oggChainSplitter.cpp.

References bytePos, chainCount, currentComment, OggPage::getPacket(), OggPage::header(), inFileName, inStream, OggPageHeader::isBOS(), OggPageHeader::isEOS(), isOK, needComments, outFile, outFileName, VorbisComments::parseOggPacket(), renameCurrentFile(), and writePage().

Here is the call graph for this function:

bool renameCurrentFile  ) 
 

Definition at line 54 of file oggChainSplitter.cpp.

References currentComment, VorbisComments::getCommentsByKey(), VorbisComments::numUserComments(), and outFileName.

Referenced by pageCB().

Here is the call graph for this function:

bool writePage OggPage inOggPage  ) 
 

Definition at line 93 of file oggChainSplitter.cpp.

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

Referenced by pageCB().

Here is the call graph for this function:


Variable Documentation

unsigned long bytePos = 0
 

Definition at line 44 of file oggChainSplitter.cpp.

unsigned long chainCount = 0
 

Definition at line 51 of file oggChainSplitter.cpp.

Referenced by pageCB().

VorbisComments currentComment
 

Definition at line 50 of file oggChainSplitter.cpp.

Referenced by pageCB(), and renameCurrentFile().

string inFileName
 

Definition at line 48 of file oggChainSplitter.cpp.

Referenced by AutoAnxSeekTable::AutoAnxSeekTable(), DNPlay::frmDNPlay::LoadFile(), DSPlayer::loadFile(), illiminable::libDSPlayDotNET::DSPlay::loadFile(), illiminable::Ogg::libVorbisCommentDotNET::DNFileComments::loadFile(), FileComments::loadFile(), main(), SingleMediaFileCache::open(), pageCB(), illiminable::libCMMLParserDotNET::CMML_Parser::parseDocFromFile(), transcodeToVorbis(), illiminable::Ogg::libVorbisCommentDotNET::DNFileComments::writeOutAll(), and FileComments::writeOutAll().

bool inStream = false
 

Definition at line 46 of file oggChainSplitter.cpp.

Referenced by pageCB().

bool isOK = true
 

Definition at line 52 of file oggChainSplitter.cpp.

Referenced by pageCB().

bool needComments = false
 

Definition at line 45 of file oggChainSplitter.cpp.

Referenced by pageCB().

fstream outFile
 

Definition at line 47 of file oggChainSplitter.cpp.

Referenced by pageCB(), and writePage().

string outFileName
 

Definition at line 49 of file oggChainSplitter.cpp.

Referenced by OggMuxFilter::GetCurFile(), OggDemuxSourceFilter::GetCurFile(), NativeFLACSourceFilter::GetCurFile(), DiracDecodeSourceFilter::GetCurFile(), CMMLRawSourceFilter::GetCurFile(), pageCB(), and renameCurrentFile().


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