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

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

Variables

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


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(), OggDemuxPacketSourceFilter::GetCurFile(), OggDemuxSourceFilter::GetCurFile(), NativeFLACSourceFilter::GetCurFile(), DiracDecodeSourceFilter::GetCurFile(), CMMLRawSourceFilter::GetCurFile(), pageCB(), and renameCurrentFile().


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