#include <AnxPageInterleaver.h>
Inheritance diagram for AnxPageInterleaver:
Public Member Functions | |
AnxPageInterleaver (IOggCallback *inFileWriter, INotifyComplete *inNotifier, unsigned long inVersionMajor, unsigned long inVersionMinor, AnxMuxFilter *inParentFilter) | |
virtual | ~AnxPageInterleaver (void) |
virtual void | processData () |
virtual OggMuxStream * | newStream () |
Create a new OggMuxStream. You need one OggMuxStream per logical bitstream you wish to interleave. | |
virtual LOOG_INT64 | progressTime () |
Returns the mux progress in 100 nanoseconds. | |
virtual LOOG_INT64 | bytesWritten () |
Returns the number of bytes written. | |
virtual void | notifyArrival () |
Implement this to be notified when "something" arrives. | |
Protected Member Functions | |
void | addAnnodex_2_0_BOS () |
void | addAllAnxData_2_0_BOS () |
void | addAnnodexEOS () |
bool | gotAllHeaders () |
bool | gotAllSecondaryHeaders () |
void | letsGetFishy () |
virtual void | writeLowest () |
Writes the lowest stream out. | |
virtual bool | isProcessable () |
Returns if there is enough data to do some interleaving. | |
virtual bool | isAllEOS () |
Returns true if all the streams are at the end. | |
virtual bool | isAllEmpty () |
Returns true if all the streams are empty. | |
Protected Attributes | |
bool | mIsAnxSetup |
AnxMuxFilter * | mParentFilter |
unsigned long | mVersionMajor |
unsigned long | mVersionMinor |
unsigned long | mAnxSerialNo |
vector< OggMuxStream * > | mInputStreams |
IOggCallback * | mFileWriter |
INotifyComplete * | mNotifier |
LOOG_INT64 | mBytesWritten |
LOOG_INT64 | mProgressTime |
fstream | debugLog |
|
Definition at line 37 of file AnxPageInterleaver.cpp. References false, and mAnxSerialNo. |
|
Definition at line 51 of file AnxPageInterleaver.cpp. |
|
Definition at line 78 of file AnxPageInterleaver.cpp. References IOggCallback::acceptOggPage(), and OggPage::pageSize(). Referenced by processData(). |
Here is the call graph for this function:
|
Definition at line 56 of file AnxPageInterleaver.cpp. References IOggCallback::acceptOggPage(), AnxPacketMaker::makeAnnodexBOS_2_0(), mAnxSerialNo, and OggPage::pageSize(). Referenced by processData(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Returns the number of bytes written.
Definition at line 231 of file OggPageInterleaver.cpp. References LOOG_INT64. |
|
Definition at line 119 of file AnxPageInterleaver.cpp. Referenced by processData(). |
|
Definition at line 140 of file AnxPageInterleaver.cpp. Referenced by processData(). |
|
Returns true if all the streams are empty.
Definition at line 267 of file OggPageInterleaver.cpp. References OggPageInterleaver::mInputStreams. Referenced by OggPageInterleaver::processData(). |
|
Returns true if all the streams are at the end.
Definition at line 248 of file OggPageInterleaver.cpp. References OggPageInterleaver::mInputStreams. Referenced by OggPageInterleaver::processData(). |
|
Returns if there is enough data to do some interleaving.
Definition at line 235 of file OggPageInterleaver.cpp. References OggPageInterleaver::mInputStreams. Referenced by OggPageInterleaver::processData(). |
|
Definition at line 161 of file AnxPageInterleaver.cpp. References IOggCallback::acceptOggPage(), OggMuxFilter::GetPin(), OggMuxFilter::GetPinCount(), FishSkeleton::makeFishBone_3_0_Page(), FishSkeleton::makeFishHeadBOS_3_0(), AnxMuxInputPin::mFishBonePacket, mParentFilter, mVersionMajor, and mVersionMinor. Referenced by processData(). |
Here is the call graph for this function:
|
Create a new OggMuxStream. You need one OggMuxStream per logical bitstream you wish to interleave.
Definition at line 55 of file OggPageInterleaver.cpp. References OggPageInterleaver::mInputStreams. Referenced by OggMuxFilter::addAnotherPin(), AnxMuxFilter::addAnotherPin(), AnxMuxFilter::AnxMuxFilter(), and OggMuxFilter::OggMuxFilter(). |
|
Implement this to be notified when "something" arrives.
Implements INotifyArrival. Definition at line 61 of file OggPageInterleaver.cpp. References OggPageInterleaver::debugLog, and OggPageInterleaver::processData(). |
Here is the call graph for this function:
|
Reimplemented from OggPageInterleaver. Definition at line 204 of file AnxPageInterleaver.cpp. References addAllAnxData_2_0_BOS(), addAnnodex_2_0_BOS(), addAnnodexEOS(), gotAllHeaders(), gotAllSecondaryHeaders(), letsGetFishy(), mIsAnxSetup, mVersionMajor, mVersionMinor, and OggPageInterleaver::processData(). |
Here is the call graph for this function:
|
Returns the mux progress in 100 nanoseconds.
Definition at line 226 of file OggPageInterleaver.cpp. References LOOG_INT64. Referenced by OggMuxFilter::GetCurrentPosition(), and OggMuxFilter::GetPositions(). |
|
Writes the lowest stream out.
Definition at line 128 of file OggPageInterleaver.cpp. References IOggCallback::acceptOggPage(), LOOG_INT64, OggPageInterleaver::mBytesWritten, OggPageInterleaver::mFileWriter, OggPageInterleaver::mInputStreams, OggPageInterleaver::mProgressTime, OggMuxStream::packetsSent(), OggPage::pageSize(), OggMuxStream::popFront(), OggMuxStream::scaledFrontTime(), and OggMuxStream::sentAllHeaders(). Referenced by OggPageInterleaver::processData(). |
Here is the call graph for this function:
|
Definition at line 106 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::notifyArrival(), OggPageInterleaver::OggPageInterleaver(), OggPageInterleaver::processData(), and OggPageInterleaver::~OggPageInterleaver(). |
|
Definition at line 71 of file AnxPageInterleaver.h. Referenced by addAnnodex_2_0_BOS(), addAnnodexEOS(), and AnxPageInterleaver(). |
|
Definition at line 103 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::writeLowest(). |
|
Definition at line 100 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::writeLowest(). |
|
Definition at line 99 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::isAllEmpty(), OggPageInterleaver::isAllEOS(), OggPageInterleaver::isProcessable(), OggPageInterleaver::newStream(), and OggPageInterleaver::writeLowest(). |
|
Definition at line 64 of file AnxPageInterleaver.h. Referenced by processData(). |
|
Definition at line 101 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::processData(). |
|
Definition at line 66 of file AnxPageInterleaver.h. Referenced by letsGetFishy(). |
|
Definition at line 104 of file OggPageInterleaver.h. Referenced by OggPageInterleaver::writeLowest(). |
|
Definition at line 68 of file AnxPageInterleaver.h. Referenced by letsGetFishy(), and processData(). |
|
Definition at line 69 of file AnxPageInterleaver.h. Referenced by letsGetFishy(), and processData(). |