#include <OggStream.h>
Inheritance diagram for OggStream:
Public Member Functions | |
OggStream (OggPage *inBOSPage, OggDemuxSourceFilter *inOwningFilter, bool inAllowSeek) | |
virtual | ~OggStream (void) |
virtual void | setLastEndGranPos (__int64 inGranPos) |
unsigned long | serialNo () |
void | setSerialNo (unsigned long inSerialNo) |
virtual bool | InitCodec (StampedOggPacket *inOggPacket)=0 |
virtual BYTE * | getFormatBlock ()=0 |
virtual unsigned long | getFormatBlockSize ()=0 |
virtual GUID | getMajorTypeGUID ()=0 |
virtual GUID | getFormatGUID ()=0 |
virtual GUID | getSubtypeGUID ()=0 |
virtual wstring | getPinName ()=0 |
virtual bool | createFormatBlock ()=0 |
virtual LONGLONG | getCurrentPos ()=0 |
virtual unsigned long | getNumBuffers ()=0 |
virtual unsigned long | getBufferSize ()=0 |
virtual unsigned long | numCodecHeaders () |
void | setSendExcess (bool inSendExcess) |
virtual CMediaType * | createMediaType (GUID inMajorType, GUID inSubType, GUID inFormatType, unsigned long inFormatSize, BYTE *inFormatBlock) |
virtual bool | dispatchPacket (StampedOggPacket *inPacket) |
virtual bool | deliverCodecHeaders () |
virtual bool | acceptOggPage (OggPage *inOggPage) |
virtual OggDemuxSourcePin * | getPin () |
virtual bool | AddPin () |
void | setAllowDispatch (bool inAllowDispatch) |
bool | streamReady () |
void | flush () |
void | flush (unsigned short inNumPacketsToIgnore) |
Protected Member Functions | |
virtual bool | acceptStampedOggPacket (StampedOggPacket *inPacket) |
virtual bool | processHeaderPacket (StampedOggPacket *inPacket) |
virtual bool | processDataPacket (StampedOggPacket *inPacket) |
Protected Attributes | |
OggPacketiser | mPacketiser |
StreamHeaders * | mCodecHeaders |
vector< StampedOggPacket * > | mExcessPackets |
unsigned long | mSerialNo |
signed long | mNumHeadersNeeded |
bool | mStreamReady |
bool | mFirstRun |
bool | mSendExcess |
bool | mAllowSeek |
bool | mAllowDispatch |
__int64 | mLastEndGranulePos |
__int64 | mLastStartGranulePos |
OggDemuxSourcePin * | mSourcePin |
OggDemuxSourceFilter * | mOwningFilter |
CCritSec * | mStreamLock |
|
Definition at line 34 of file OggStream.cpp. References false, OggPage::header(), mPacketiser, mSerialNo, mStreamLock, OggPacketiser::setPacketSink(), OggPageHeader::StreamSerialNo(), and true. |
Here is the call graph for this function:
|
Definition at line 65 of file OggStream.cpp. |
|
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 228 of file OggStream.cpp. References OggPacketiser::acceptOggPage(), OggPageHeader::GranulePos(), OggPage::header(), OggPageHeader::isBOS(), mLastEndGranulePos, mLastStartGranulePos, mOwningFilter, mPacketiser, and OggDemuxSourceFilter::mSeekTimeBase. |
Here is the call graph for this function:
|
All callers to acceptStampedOggPacket 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 IStampedOggPacketSink. Definition at line 89 of file OggStream.cpp. References AddPin(), deliverCodecHeaders(), mFirstRun, mNumHeadersNeeded, processDataPacket(), and processHeaderPacket(). |
Here is the call graph for this function:
|
Reimplemented in CMMLStream. Definition at line 197 of file OggStream.cpp. References createFormatBlock(), createMediaType(), getBufferSize(), getFormatBlock(), getFormatBlockSize(), getFormatGUID(), getMajorTypeGUID(), getNumBuffers(), getPinName(), getSubtypeGUID(), mAllowSeek, mCodecHeaders, mOwningFilter, mSourcePin, and mStreamReady. Referenced by acceptStampedOggPacket(). |
Here is the call graph for this function:
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Definition at line 159 of file OggStream.cpp. Referenced by AddPin(), and CMMLStream::AddPin(). |
|
Reimplemented in FFDShowVideoStream, FLACStream, and OggFLAC_1_0_Stream. Definition at line 263 of file OggStream.cpp. References dispatchPacket(), StreamHeaders::getPacket(), mCodecHeaders, and StreamHeaders::numPackets(). Referenced by acceptStampedOggPacket(). |
Here is the call graph for this function:
|
Reimplemented in FFDShowVideoStream. Definition at line 274 of file OggStream.cpp. References OggDemuxSourcePin::deliverOggPacket(), and mSourcePin. Referenced by deliverCodecHeaders(), OggFLAC_1_0_Stream::deliverCodecHeaders(), FLACStream::deliverCodecHeaders(), FFDShowVideoStream::dispatchPacket(), and processDataPacket(). |
Here is the call graph for this function:
|
Definition at line 187 of file OggStream.cpp. References mPacketiser, mStreamLock, OggPacketiser::reset(), and OggPacketiser::setNumIgnorePackets(). |
Here is the call graph for this function:
|
Definition at line 179 of file OggStream.cpp. References mPacketiser, mStreamLock, and OggPacketiser::reset(). Referenced by OggDemuxSourceFilter::DeliverEndFlush(), and OggStreamMapper::toStartOfData(). |
Here is the call graph for this function:
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Definition at line 154 of file OggStream.cpp. Referenced by OggDemuxSourceFilter::DeliverBeginFlush(), OggDemuxSourceFilter::DeliverEndFlush(), OggDemuxSourceFilter::DeliverEOS(), OggDemuxSourceFilter::DeliverNewSegment(), and OggDemuxSourceFilter::GetPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Referenced by AddPin(). |
|
Implemented in CMMLStream, FFDShowVideoStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. |
|
Definition at line 174 of file OggStream.cpp. References mCodecHeaders, and StreamHeaders::numPackets(). |
Here is the call graph for this function:
|
Definition at line 141 of file OggStream.cpp. References dispatchPacket(). Referenced by acceptStampedOggPacket(). |
Here is the call graph for this function:
|
Reimplemented in FLACStream, and OggFLAC_1_0_Stream. Definition at line 126 of file OggStream.cpp. References StreamHeaders::addPacket(), mCodecHeaders, and mNumHeadersNeeded. Referenced by acceptStampedOggPacket(). |
Here is the call graph for this function:
|
Definition at line 83 of file OggStream.cpp. |
|
Definition at line 86 of file OggStream.cpp. References mAllowDispatch. Referenced by OggStreamMapper::setAllowDispatch(). |
|
Reimplemented in CMMLStream, FLACStream, OggFLAC_1_0_Stream, SpeexStream, TheoraStream, and VorbisStream. Definition at line 223 of file OggStream.cpp. References mLastEndGranulePos. Referenced by OggDemuxSourceFilter::SetPositions(). |
|
Definition at line 259 of file OggStream.cpp. References mSendExcess. Referenced by OggDemuxSourceFilter::resetStream(), and OggDemuxSourceFilter::SetPositions(). |
|
Definition at line 279 of file OggStream.cpp. References mSerialNo. |
|
Definition at line 78 of file OggStream.cpp. Referenced by OggStreamMapper::isReady(). |
|
Definition at line 116 of file OggStream.h. Referenced by setAllowDispatch(). |
|
Definition at line 115 of file OggStream.h. Referenced by AddPin(). |
|
Definition at line 108 of file OggStream.h. Referenced by AddPin(), deliverCodecHeaders(), numCodecHeaders(), and processHeaderPacket(). |
|
Definition at line 109 of file OggStream.h. |
|
Definition at line 113 of file OggStream.h. Referenced by acceptStampedOggPacket(). |
|
Definition at line 118 of file OggStream.h. Referenced by acceptOggPage(), and setLastEndGranPos(). |
|
Definition at line 119 of file OggStream.h. Referenced by acceptOggPage(). |
|
Definition at line 111 of file OggStream.h. Referenced by acceptStampedOggPacket(), and processHeaderPacket(). |
|
Definition at line 122 of file OggStream.h. Referenced by acceptOggPage(), and AddPin(). |
|
Definition at line 106 of file OggStream.h. Referenced by acceptOggPage(), flush(), and OggStream(). |
|
Definition at line 114 of file OggStream.h. Referenced by setSendExcess(). |
|
Definition at line 110 of file OggStream.h. Referenced by OggStream(), and setSerialNo(). |
|
Definition at line 121 of file OggStream.h. Referenced by AddPin(), and dispatchPacket(). |
|
Definition at line 123 of file OggStream.h. Referenced by flush(), and OggStream(). |
|
Definition at line 112 of file OggStream.h. Referenced by AddPin(). |