#include <SpeexStream.h>
Inheritance diagram for SpeexStream:
Public Member Functions | |
SpeexStream (OggPage *inOggPage, OggDemuxSourceFilter *inOwningFilter, bool inAllowSeek) | |
virtual | ~SpeexStream (void) |
virtual bool | InitCodec (StampedOggPacket *inOggPacket) |
virtual BYTE * | getFormatBlock () |
virtual unsigned long | getFormatBlockSize () |
virtual GUID | getFormatGUID () |
virtual GUID | getSubtypeGUID () |
virtual wstring | getPinName () |
virtual bool | createFormatBlock () |
virtual GUID | getMajorTypeGUID () |
virtual LONGLONG | getCurrentPos () |
virtual unsigned long | getNumBuffers () |
virtual unsigned long | getBufferSize () |
virtual void | setLastEndGranPos (__int64 inPos) |
unsigned long | serialNo () |
void | setSerialNo (unsigned long inSerialNo) |
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 | |
sSpeexFormatBlock * | mSpeexFormatBlock |
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 |
Static Protected Attributes | |
const unsigned long | SPEEX_NUM_BUFFERS = 75 |
const unsigned long | SPEEX_BUFFER_SIZE = 65536 |
|
Definition at line 34 of file SpeexStream.cpp. References OggPage::getStampedPacket(), and InitCodec(). |
Here is the call graph for this function:
|
Definition at line 41 of file SpeexStream.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(), OggStream::mLastEndGranulePos, OggStream::mLastStartGranulePos, OggStream::mOwningFilter, OggStream::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 OggStream::AddPin(), OggStream::deliverCodecHeaders(), OggStream::mFirstRun, OggStream::mNumHeadersNeeded, OggStream::processDataPacket(), and OggStream::processHeaderPacket(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Implements OggStream. Definition at line 61 of file SpeexStream.cpp. References iLE_Math::charArrToULong(), StreamHeaders::getPacket(), mSpeexFormatBlock, sSpeexFormatBlock::numChannels, OggPacket::packetData(), sSpeexFormatBlock::samplesPerSec, and sSpeexFormatBlock::speexVersion. |
Here is the call graph for this function:
|
Definition at line 159 of file OggStream.cpp. Referenced by OggStream::AddPin(), and CMMLStream::AddPin(). |
|
Reimplemented in FFDShowVideoStream, FLACStream, and OggFLAC_1_0_Stream. Definition at line 263 of file OggStream.cpp. References OggStream::dispatchPacket(), StreamHeaders::getPacket(), OggStream::mCodecHeaders, and StreamHeaders::numPackets(). Referenced by OggStream::acceptStampedOggPacket(). |
Here is the call graph for this function:
|
Reimplemented in FFDShowVideoStream. Definition at line 274 of file OggStream.cpp. References OggDemuxSourcePin::deliverOggPacket(), and OggStream::mSourcePin. Referenced by OggStream::deliverCodecHeaders(), OggFLAC_1_0_Stream::deliverCodecHeaders(), FLACStream::deliverCodecHeaders(), FFDShowVideoStream::dispatchPacket(), and OggStream::processDataPacket(). |
Here is the call graph for this function:
|
Definition at line 187 of file OggStream.cpp. References OggStream::mPacketiser, OggStream::mStreamLock, OggPacketiser::reset(), and OggPacketiser::setNumIgnorePackets(). |
Here is the call graph for this function:
|
Definition at line 179 of file OggStream.cpp. References OggStream::mPacketiser, OggStream::mStreamLock, and OggPacketiser::reset(). Referenced by OggDemuxSourceFilter::DeliverEndFlush(), and OggStreamMapper::toStartOfData(). |
Here is the call graph for this function:
|
Implements OggStream. Definition at line 103 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 96 of file SpeexStream.cpp. References mSpeexFormatBlock, and sSpeexFormatBlock::samplesPerSec. |
|
Implements OggStream. Definition at line 69 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 81 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 85 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 92 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 100 of file SpeexStream.cpp. |
|
Definition at line 154 of file OggStream.cpp. Referenced by OggDemuxSourceFilter::DeliverBeginFlush(), OggDemuxSourceFilter::DeliverEndFlush(), OggDemuxSourceFilter::DeliverEOS(), OggDemuxSourceFilter::DeliverNewSegment(), and OggDemuxSourceFilter::GetPin(). |
|
Implements OggStream. Definition at line 56 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 88 of file SpeexStream.cpp. |
|
Implements OggStream. Definition at line 46 of file SpeexStream.cpp. References StreamHeaders::addPacket(), StampedOggPacket::clone(), and StreamHeaders::mCodecType. Referenced by SpeexStream(). |
Here is the call graph for this function:
|
Definition at line 174 of file OggStream.cpp. References OggStream::mCodecHeaders, and StreamHeaders::numPackets(). |
Here is the call graph for this function:
|
Definition at line 141 of file OggStream.cpp. References OggStream::dispatchPacket(). Referenced by OggStream::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(), OggStream::mCodecHeaders, and OggStream::mNumHeadersNeeded. Referenced by OggStream::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 OggStream::mAllowDispatch. Referenced by OggStreamMapper::setAllowDispatch(). |
|
Reimplemented from OggStream. Definition at line 76 of file SpeexStream.cpp. References mSpeexFormatBlock, and sSpeexFormatBlock::samplesPerSec. |
|
Definition at line 259 of file OggStream.cpp. References OggStream::mSendExcess. Referenced by OggDemuxSourceFilter::resetStream(), and OggDemuxSourceFilter::SetPositions(). |
|
Definition at line 279 of file OggStream.cpp. References OggStream::mSerialNo. |
|
Definition at line 78 of file OggStream.cpp. Referenced by OggStreamMapper::isReady(). |
|
Definition at line 116 of file OggStream.h. Referenced by OggStream::setAllowDispatch(). |
|
Definition at line 115 of file OggStream.h. Referenced by OggStream::AddPin(). |
|
Definition at line 108 of file OggStream.h. Referenced by OggStream::AddPin(), OggStream::deliverCodecHeaders(), OggStream::numCodecHeaders(), and OggStream::processHeaderPacket(). |
|
Definition at line 109 of file OggStream.h. |
|
Definition at line 113 of file OggStream.h. Referenced by OggStream::acceptStampedOggPacket(). |
|
Definition at line 118 of file OggStream.h. Referenced by OggStream::acceptOggPage(), and OggStream::setLastEndGranPos(). |
|
Definition at line 119 of file OggStream.h. Referenced by OggStream::acceptOggPage(). |
|
Definition at line 111 of file OggStream.h. Referenced by OggStream::acceptStampedOggPacket(), and OggStream::processHeaderPacket(). |
|
Definition at line 122 of file OggStream.h. Referenced by OggStream::acceptOggPage(), and OggStream::AddPin(). |
|
Definition at line 106 of file OggStream.h. Referenced by OggStream::acceptOggPage(), OggStream::flush(), and OggStream::OggStream(). |
|
Definition at line 114 of file OggStream.h. Referenced by OggStream::setSendExcess(). |
|
Definition at line 110 of file OggStream.h. Referenced by OggStream::OggStream(), and OggStream::setSerialNo(). |
|
Definition at line 121 of file OggStream.h. Referenced by OggStream::AddPin(), and OggStream::dispatchPacket(). |
|
Definition at line 63 of file SpeexStream.h. Referenced by createFormatBlock(), getCurrentPos(), and setLastEndGranPos(). |
|
Definition at line 123 of file OggStream.h. Referenced by OggStream::flush(), and OggStream::OggStream(). |
|
Definition at line 112 of file OggStream.h. Referenced by OggStream::AddPin(). |
|
Definition at line 62 of file SpeexStream.h. |
|
Definition at line 61 of file SpeexStream.h. |