OggMuxStream Class Reference

#include <OggMuxStream.h>

Inheritance diagram for OggMuxStream:

Inheritance graph
[legend]
Collaboration diagram for OggMuxStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OggMuxStream (INotifyArrival *inNotifier)
virtual ~OggMuxStream (void)
virtual bool acceptOggPage (OggPage *inOggPage)
virtual bool pushFront (OggPage *inOggPage)
virtual OggPagepopFront ()
virtual OggPagepeekFront ()
virtual unsigned long numAvail ()
virtual LOOG_INT64 frontTime ()
virtual LOOG_INT64 scaledFrontTime ()
virtual bool isEmpty ()
virtual bool isEOS ()
virtual bool isProcessable ()
virtual void setIsEOS (bool inIsEOS)
virtual bool isActive ()
virtual void setIsActive (bool inIsActive)
virtual bool setConversionParams (LOOG_INT64 inNumerator, LOOG_INT64 inDenominator, LOOG_INT64 inScaleFactor, LOOG_INT64 inTheoraLogKFI)
virtual bool setConversionParams (LOOG_INT64 inNumerator, LOOG_INT64 inDenominator, LOOG_INT64 inScaleFactor)
virtual void setNumHeaders (unsigned long inNumHeaders)
virtual unsigned long numHeaders ()
virtual unsigned long packetsSent ()
virtual bool sentAllHeaders ()
LOOG_INT64 granuleNumerator ()
LOOG_INT64 granuleDenominator ()

Static Public Attributes

const LOOG_INT64 INT64_MAX = 9223372036854775807LL

Protected Member Functions

LOOG_INT64 convertTime (LOOG_INT64 inGranulePos)

Protected Attributes

INotifyArrivalmNotifier
bool mIsEOS
bool mIsActive
bool mIsSensibleTime
LOOG_INT64 mConvNumerator
LOOG_INT64 mConvDenominator
LOOG_INT64 mConvScaleFactor
LOOG_INT64 mConvTheoraLogKeyFrameInterval
unsigned long mNumHeaders
unsigned long mPacketsSent
deque< OggPage * > mPageQueue

Private Member Functions

OggMuxStreamoperator= (const OggMuxStream &other)
 OggMuxStream (const OggMuxStream &other)

Constructor & Destructor Documentation

OggMuxStream::OggMuxStream INotifyArrival inNotifier  ) 
 

Definition at line 34 of file OggMuxStream.cpp.

References false, and true.

OggMuxStream::~OggMuxStream void   )  [virtual]
 

Definition at line 49 of file OggMuxStream.cpp.

OggMuxStream::OggMuxStream const OggMuxStream other  )  [private]
 


Member Function Documentation

bool OggMuxStream::acceptOggPage OggPage inOggPage  )  [virtual]
 

All callers to acceptOggPage give away their pointer to this function. All methods implementing this interface are responsible for deleting this page. All callers should NULL their pointer immediately after calling to avoid reusing them.

Implements IOggCallback.

Definition at line 63 of file OggMuxStream.cpp.

References mNotifier, mPageQueue, and INotifyArrival::notifyArrival().

Here is the call graph for this function:

LOOG_INT64 OggMuxStream::convertTime LOOG_INT64  inGranulePos  )  [protected]
 

Definition at line 116 of file OggMuxStream.cpp.

References LOOG_INT64, mConvScaleFactor, and mConvTheoraLogKeyFrameInterval.

Referenced by scaledFrontTime().

LOOG_INT64 OggMuxStream::frontTime  )  [virtual]
 

Definition at line 103 of file OggMuxStream.cpp.

References OggPageHeader::GranulePos(), OggPage::header(), LOOG_INT64, and mPageQueue.

Referenced by scaledFrontTime().

Here is the call graph for this function:

LOOG_INT64 OggMuxStream::granuleDenominator  ) 
 

Definition at line 57 of file OggMuxStream.cpp.

References LOOG_INT64.

LOOG_INT64 OggMuxStream::granuleNumerator  ) 
 

Definition at line 54 of file OggMuxStream.cpp.

References LOOG_INT64.

bool OggMuxStream::isActive  )  [virtual]
 

Definition at line 205 of file OggMuxStream.cpp.

Referenced by isProcessable().

bool OggMuxStream::isEmpty  )  [virtual]
 

Definition at line 171 of file OggMuxStream.cpp.

References mPageQueue.

Referenced by isProcessable().

bool OggMuxStream::isEOS  )  [virtual]
 

Definition at line 174 of file OggMuxStream.cpp.

Referenced by isProcessable().

bool OggMuxStream::isProcessable  )  [virtual]
 

Definition at line 192 of file OggMuxStream.cpp.

References isActive(), isEmpty(), and isEOS().

Here is the call graph for this function:

unsigned long OggMuxStream::numAvail  )  [virtual]
 

Definition at line 60 of file OggMuxStream.cpp.

References mPageQueue.

unsigned long OggMuxStream::numHeaders  )  [virtual]
 

Definition at line 150 of file OggMuxStream.cpp.

OggMuxStream& OggMuxStream::operator= const OggMuxStream other  )  [private]
 

unsigned long OggMuxStream::packetsSent  )  [virtual]
 

Definition at line 154 of file OggMuxStream.cpp.

Referenced by OggPageInterleaver::writeLowest().

OggPage * OggMuxStream::peekFront  )  [virtual]
 

Definition at line 95 of file OggMuxStream.cpp.

References mPageQueue.

OggPage * OggMuxStream::popFront  )  [virtual]
 

Definition at line 86 of file OggMuxStream.cpp.

References mPacketsSent, and mPageQueue.

Referenced by OggPageInterleaver::writeLowest().

bool OggMuxStream::pushFront OggPage inOggPage  )  [virtual]
 

Definition at line 79 of file OggMuxStream.cpp.

References mIsEOS, mNotifier, mPageQueue, and INotifyArrival::notifyArrival().

Here is the call graph for this function:

LOOG_INT64 OggMuxStream::scaledFrontTime  )  [virtual]
 

Definition at line 111 of file OggMuxStream.cpp.

References convertTime(), frontTime(), and LOOG_INT64.

Referenced by OggPageInterleaver::writeLowest().

Here is the call graph for this function:

bool OggMuxStream::sentAllHeaders  )  [virtual]
 

Definition at line 157 of file OggMuxStream.cpp.

References mPacketsSent.

Referenced by OggPageInterleaver::writeLowest().

bool OggMuxStream::setConversionParams LOOG_INT64  inNumerator,
LOOG_INT64  inDenominator,
LOOG_INT64  inScaleFactor
[virtual]
 

Definition at line 139 of file OggMuxStream.cpp.

References mConvDenominator, mConvNumerator, mConvScaleFactor, and mIsSensibleTime.

bool OggMuxStream::setConversionParams LOOG_INT64  inNumerator,
LOOG_INT64  inDenominator,
LOOG_INT64  inScaleFactor,
LOOG_INT64  inTheoraLogKFI
[virtual]
 

Definition at line 162 of file OggMuxStream.cpp.

References mConvDenominator, mConvNumerator, mConvScaleFactor, mConvTheoraLogKeyFrameInterval, and mIsSensibleTime.

Referenced by OggMuxInputPin::SetMediaType(), and AnxMuxInputPin::SetMediaType().

void OggMuxStream::setIsActive bool  inIsActive  )  [virtual]
 

Definition at line 208 of file OggMuxStream.cpp.

References mIsActive.

Referenced by OggMuxInputPin::CompleteConnect(), and AnxMuxInputPin::CompleteConnect().

void OggMuxStream::setIsEOS bool  inIsEOS  )  [virtual]
 

Definition at line 199 of file OggMuxStream.cpp.

References mIsEOS, mNotifier, and INotifyArrival::notifyArrival().

Referenced by OggMuxInputPin::EndOfStream().

Here is the call graph for this function:

void OggMuxStream::setNumHeaders unsigned long  inNumHeaders  )  [virtual]
 

Definition at line 147 of file OggMuxStream.cpp.

References mNumHeaders.

Referenced by OggMuxInputPin::SetMediaType(), and AnxMuxInputPin::SetMediaType().


Member Data Documentation

const LOOG_INT64 OggMuxStream::INT64_MAX = 9223372036854775807LL [static]
 

Definition at line 53 of file OggMuxStream.h.

LOOG_INT64 OggMuxStream::mConvDenominator [protected]
 

Definition at line 97 of file OggMuxStream.h.

Referenced by setConversionParams().

LOOG_INT64 OggMuxStream::mConvNumerator [protected]
 

Definition at line 96 of file OggMuxStream.h.

Referenced by setConversionParams().

LOOG_INT64 OggMuxStream::mConvScaleFactor [protected]
 

Definition at line 98 of file OggMuxStream.h.

Referenced by convertTime(), and setConversionParams().

LOOG_INT64 OggMuxStream::mConvTheoraLogKeyFrameInterval [protected]
 

Definition at line 99 of file OggMuxStream.h.

Referenced by convertTime(), and setConversionParams().

bool OggMuxStream::mIsActive [protected]
 

Definition at line 93 of file OggMuxStream.h.

Referenced by setIsActive().

bool OggMuxStream::mIsEOS [protected]
 

Definition at line 92 of file OggMuxStream.h.

Referenced by pushFront(), and setIsEOS().

bool OggMuxStream::mIsSensibleTime [protected]
 

Definition at line 94 of file OggMuxStream.h.

Referenced by setConversionParams().

INotifyArrival* OggMuxStream::mNotifier [protected]
 

Definition at line 89 of file OggMuxStream.h.

Referenced by acceptOggPage(), pushFront(), and setIsEOS().

unsigned long OggMuxStream::mNumHeaders [protected]
 

Definition at line 101 of file OggMuxStream.h.

Referenced by setNumHeaders().

unsigned long OggMuxStream::mPacketsSent [protected]
 

Definition at line 102 of file OggMuxStream.h.

Referenced by popFront(), and sentAllHeaders().

deque<OggPage*> OggMuxStream::mPageQueue [protected]
 

Definition at line 105 of file OggMuxStream.h.

Referenced by acceptOggPage(), frontTime(), isEmpty(), numAvail(), peekFront(), popFront(), and pushFront().


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:03:59 2005 for oggdsf by  doxygen 1.3.9