#include <OggPacketiser.h>
Inheritance diagram for OggPacketiser:


Public Types | |
| enum | ePacketiserState { PKRSTATE_OK, PKRSTATE_AWAITING_CONTINUATION, PKRSTATE_INVALID_STREAM } |
Public Member Functions | |
| OggPacketiser (void) | |
| OggPacketiser (IStampedOggPacketSink *inPacketSink) | |
| virtual | ~OggPacketiser (void) |
| virtual bool | acceptOggPage (OggPage *inOggPage) |
| Takes incoming pages, and fires the packets to the packet sink. | |
| void | setPacketSink (IStampedOggPacketSink *inPacketSink) |
| Set the callback interface where generated packets will go. | |
| IStampedOggPacketSink * | packetSink () |
| Returns a pointer to the interface recieving packets. | |
| void | setNumIgnorePackets (unsigned long inNumIgnorePackets) |
| Tell the packetiser to ignore this many following packets. | |
| unsigned long | numIgnorePackets () |
| How many packets we are ignoring. | |
| bool | reset () |
| Reset the packetiser. | |
Protected Member Functions | |
| virtual bool | dispatchStampedOggPacket (StampedOggPacket *inPacket) |
| bool | processPage (OggPage *inOggPage, bool inIncludeFirst, bool inIncludeLast) |
Protected Attributes | |
| IStampedOggPacketSink * | mPacketSink |
| StampedOggPacket * | mPendingPacket |
| bool | mLooseMode |
| unsigned long | mNumIgnorePackets |
| LOOG_INT64 | mPrevGranPos |
| LOOG_INT64 | mCurrentGranPos |
| ePacketiserState | mPacketiserState |
Private Member Functions | |
| OggPacketiser & | operator= (const OggPacketiser &other) |
| OggPacketiser (const OggPacketiser &other) | |
|
|
Definition at line 47 of file OggPacketiser.h. |
|
|
Definition at line 34 of file OggPacketiser.cpp. References true. |
|
|
Definition at line 46 of file OggPacketiser.cpp. References true. |
|
|
Definition at line 58 of file OggPacketiser.cpp. |
|
|
|
|
|
Takes incoming pages, and fires the packets to the packet sink. ... and there is at least 1 packet... Implements IOggCallback. Definition at line 80 of file OggPacketiser.cpp. References StampedOggPacket::clone(), dispatchStampedOggPacket(), OggPage::getPacket(), OggPage::getStampedPacket(), OggPageHeader::GranulePos(), OggPage::header(), OggPageHeader::HeaderFlags(), OggPacket::isContinuation(), OggPacket::isTruncated(), mCurrentGranPos, StampedOggPacket::merge(), mLooseMode, mPacketiserState, mPendingPacket, mPrevGranPos, OggPage::numPackets(), and processPage(). Referenced by OggStream::acceptOggPage(). |
Here is the call graph for this function:

|
|
Definition at line 334 of file OggPacketiser.cpp. References IStampedOggPacketSink::acceptStampedOggPacket(), mCurrentGranPos, mNumIgnorePackets, mPacketSink, mPrevGranPos, and StampedOggPacket::setTimeStamp(). Referenced by acceptOggPage(), and processPage(). |
Here is the call graph for this function:

|
|
How many packets we are ignoring.
Definition at line 355 of file OggPacketiser.cpp. |
|
|
|
|
|
Returns a pointer to the interface recieving packets.
Definition at line 64 of file OggPacketiser.cpp. |
|
||||||||||||||||
|
Definition at line 312 of file OggPacketiser.cpp. References StampedOggPacket::clone(), dispatchStampedOggPacket(), OggPage::getStampedPacket(), and OggPage::numPackets(). Referenced by acceptOggPage(). |
Here is the call graph for this function:

|
|
Reset the packetiser.
Definition at line 70 of file OggPacketiser.cpp. References mCurrentGranPos, mNumIgnorePackets, mPacketiserState, mPendingPacket, and mPrevGranPos. Referenced by OggStream::flush(). |
|
|
Tell the packetiser to ignore this many following packets.
Definition at line 352 of file OggPacketiser.cpp. References mNumIgnorePackets. Referenced by OggStream::flush(). |
|
|
Set the callback interface where generated packets will go.
Definition at line 67 of file OggPacketiser.cpp. References mPacketSink. Referenced by OggStream::OggStream(). |
|
|
Definition at line 85 of file OggPacketiser.h. Referenced by acceptOggPage(), dispatchStampedOggPacket(), and reset(). |
|
|
Definition at line 82 of file OggPacketiser.h. Referenced by acceptOggPage(). |
|
|
Definition at line 83 of file OggPacketiser.h. Referenced by dispatchStampedOggPacket(), reset(), and setNumIgnorePackets(). |
|
|
Definition at line 87 of file OggPacketiser.h. Referenced by acceptOggPage(), and reset(). |
|
|
Definition at line 77 of file OggPacketiser.h. Referenced by dispatchStampedOggPacket(), and setPacketSink(). |
|
|
Definition at line 78 of file OggPacketiser.h. Referenced by acceptOggPage(), and reset(). |
|
|
Definition at line 84 of file OggPacketiser.h. Referenced by acceptOggPage(), dispatchStampedOggPacket(), and reset(). |
1.3.9