OOOggPageInfo.cpp File Reference

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

Include dependency graph for OOOggPageInfo.cpp:

Include dependency graph

Go to the source code of this file.

Classes

struct  sOggStreamInfo

Functions

void dumpStreamInfo (sOggStreamInfo *inInfo)
int main (int argc, char *argv[])
bool pageCB (OggPage *inOggPage, void *inUserData)

Variables

unsigned long bytePos
vector< sOggStreamInfo * > streamInfos


Function Documentation

void dumpStreamInfo sOggStreamInfo inInfo  ) 
 

Definition at line 55 of file OOOggPageInfo.cpp.

References sOggStreamInfo::mMaxPageSize, sOggStreamInfo::mMinPageSize, sOggStreamInfo::mNumPages, sOggStreamInfo::mSerialNo, and sOggStreamInfo::mTotalStreamSize.

Referenced by main().

int main int  argc,
char *  argv[]
 

Definition at line 196 of file OOOggPageInfo.cpp.

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

Here is the call graph for this function:

bool pageCB OggPage inOggPage,
void *  inUserData
 

Definition at line 79 of file OOOggPageInfo.cpp.

References OggPage::dataSize(), OggPage::getPacket(), OggPageHeader::GranulePos(), OggPage::header(), OggPacket::isContinuation(), OggPacket::isTruncated(), sOggStreamInfo::mMaxPacksPerPage, sOggStreamInfo::mMaxPageSize, sOggStreamInfo::mMinPacksPerPage, sOggStreamInfo::mMinPageSize, sOggStreamInfo::mNumPages, sOggStreamInfo::mSerialNo, sOggStreamInfo::mTotalDataSize, sOggStreamInfo::mTotalPacketCount, sOggStreamInfo::mTotalStreamSize, OggPage::numPackets(), OggPage::pageSize(), streamInfos, and OggPageHeader::StreamSerialNo().

Here is the call graph for this function:


Variable Documentation

unsigned long bytePos
 

Definition at line 73 of file OOOggPageInfo.cpp.

vector<sOggStreamInfo*> streamInfos
 

Definition at line 76 of file OOOggPageInfo.cpp.

Referenced by main(), and pageCB().


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