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


Public Types | |
| enum | eAcceptHeaderResult { AHR_ALL_HEADERS_RECEIVED, AHR_MORE_HEADERS_TO_COME, AHR_INVALID_HEADER, AHR_UNEXPECTED, AHR_NULL_POINTER } |
Public Member Functions | |
| virtual STDMETHODIMP | BeginFlush () |
| virtual HRESULT | BreakConnect () |
| virtual STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
| virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
| virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
| virtual LOOG_INT64 | convertGranuleToTime (LOOG_INT64 inGranule) |
| virtual STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
| virtual STDMETHODIMP | EndFlush () |
| virtual STDMETHODIMP | EndOfStream (void) |
| virtual STDMETHODIMP | GetAllocatorRequirements (ALLOCATOR_PROPERTIES *outRequestedProps) |
| virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| virtual STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
| virtual string | getCodecIdentString () |
| virtual string | getCodecShortName () |
| virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
| virtual STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
| virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
| virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
| virtual STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
| virtual STDMETHODIMP | GetRate (double *dRate) |
| virtual STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
| virtual STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
| virtual STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
| virtual STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
| virtual LOOG_INT64 | mustSeekBefore (LOOG_INT64 inGranule) |
| virtual STDMETHODIMP | NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate) |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| virtual STDMETHODIMP | Receive (IMediaSample *inSample) |
| bool | ReleaseDelegate () |
| bool | SetDelegate (IMediaSeeking *inDelegate) |
| virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
| virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
| virtual STDMETHODIMP | SetRate (double dRate) |
| virtual STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
| virtual IOggDecoder::eAcceptHeaderResult | showHeaderPacket (OggPacket *inCodecHeaderPacket) |
| SpeexDecodeInputPin (AbstractTransformFilter *inFilter, CCritSec *inFilterLock, AbstractTransformOutputPin *inOutputPin, vector< CMediaType * > inAcceptableMediaTypes) | |
| virtual | ~SpeexDecodeInputPin (void) |
Static Public Member Functions | |
| int __cdecl | SpeexDecoded (FishSound *inFishSound, float **inPCM, long inFrames, void *inThisPointer) |
Protected Types | |
| enum | eSpeexSetupState { VSS_SEEN_NOTHING, VSS_SEEN_BOS, VSS_SEEN_COMMENT, VSS_ALL_HEADERS_SEEN, VSS_ERROR } |
Protected Member Functions | |
| virtual bool | ConstructCodec () |
| virtual void | DestroyCodec () |
| virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
| virtual HRESULT | TransformData (unsigned char *inBuf, long inNumBytes) |
Protected Attributes | |
| vector< CMediaType * > | mAcceptableMediaTypes |
| bool | mBegun |
| unsigned char * | mDecodedBuffer |
| unsigned long | mDecodedByteCount |
| FishSoundInfo | mFishInfo |
| FishSound * | mFishSound |
| int | mFrameSize |
| HRESULT | mHR |
| int | mNumChannels |
| AbstractTransformOutputPin * | mOutputPin |
| AbstractTransformFilter * | mParentFilter |
| __int64 | mRateNumerator |
| int | mSampleRate |
| IMediaSeeking * | mSeekDelegate |
| DWORD | mSeekingCap |
| eSpeexSetupState | mSetupState |
| CCritSec * | mStreamLock |
| unsigned int | mUptoFrame |
Static Protected Attributes | |
| const unsigned long | DECODED_BUFFER_SIZE = 1<<20 |
| const __int64 | RATE_DENOMINATOR = 65536 |
| const signed short | SINT_MAX = 32767 |
| const signed short | SINT_MIN = -32768 |
| const short | SIZE_16_BITS = 2 |
| const unsigned long | SPEEX_BUFFER_SIZE = 65536 |
| const unsigned long | SPEEX_IDENT_HEADER_SIZE = 80 |
| const unsigned long | SPEEX_NUM_BUFFERS = 75 |
Friends | |
| class | AbstractTransformOutputPin |
|
|
Definition at line 20 of file IOggDecoder.h. |
|
|
Definition at line 102 of file SpeexDecodeInputPin.h. |
|
||||||||||||||||||||
|
Definition at line 36 of file SpeexDecodeInputPin.cpp. References ConstructCodec(), false, and mDecodedBuffer. |
Here is the call graph for this function:

|
|
Definition at line 73 of file SpeexDecodeInputPin.cpp. References DestroyCodec(). |
Here is the call graph for this function:

|
|
Reimplemented in FLACDecodeInputPin. Definition at line 149 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverBeginFlush(), AbstractTransformFilter::mOutputPin, and AbstractTransformInputPin::mParentFilter. Referenced by FLACDecodeInputPin::BeginFlush(). |
Here is the call graph for this function:

|
|
Definition at line 61 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::ReleaseDelegate(). |
Here is the call graph for this function:

|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 125 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 421 of file SpeexDecodeInputPin.cpp. References AbstractTransformInputPin::CheckMediaType(). Referenced by SetMediaType(). |
Here is the call graph for this function:

|
|
Reimplemented in VorbisDecodeInputPin. Definition at line 68 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::SetDelegate(). Referenced by VorbisDecodeInputPin::CompleteConnect(). |
Here is the call graph for this function:

|
|
Implements AbstractTransformInputPin. Definition at line 58 of file SpeexDecodeInputPin.cpp. References fish_sound_command(), fish_sound_new(), fish_sound_set_decoded_callback(), mFishInfo, mFishSound, and SpeexDecoded(). Referenced by SpeexDecodeInputPin(). |
Here is the call graph for this function:

|
|
Implements IOggDecoder. Definition at line 435 of file SpeexDecodeInputPin.cpp. References LOOG_INT64. Referenced by Receive(). |
|
||||||||||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements AbstractTransformInputPin. Definition at line 69 of file SpeexDecodeInputPin.cpp. References fish_sound_delete(), and mFishSound. Referenced by ~SpeexDecodeInputPin(). |
Here is the call graph for this function:

|
|
Reimplemented from AbstractTransformInputPin. Definition at line 108 of file SpeexDecodeInputPin.cpp. References AbstractTransformInputPin::EndFlush(), and mDecodedByteCount. |
Here is the call graph for this function:

|
|
Reimplemented in FLACDecodeInputPin, and FLACEncodeInputPin. Definition at line 143 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverEndOfStream(), AbstractTransformFilter::mOutputPin, AbstractTransformInputPin::mParentFilter, and AbstractTransformInputPin::mStreamLock. Referenced by FLACEncodeInputPin::EndOfStream(), and FLACDecodeInputPin::EndOfStream(). |
Here is the call graph for this function:

|
|
Definition at line 116 of file SpeexDecodeInputPin.cpp. |
|
||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 285 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 97 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 497 of file SpeexDecodeInputPin.cpp. |
|
|
Implements IOggDecoder. Definition at line 493 of file SpeexDecodeInputPin.cpp. |
|
|
Reimplemented in OggDemuxSourceFilter, OggDemuxPacketSourceFilter, and OggMuxFilter. Definition at line 234 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 211 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
||||||||||||
|
Definition at line 170 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mAcceptableMediaTypes. |
|
||||||||||||
|
Reimplemented in OggDemuxSourceFilter, OggDemuxPacketSourceFilter, and OggMuxFilter. Definition at line 274 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. Referenced by OggMuxFilter::GetPositions(). |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 316 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 306 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 223 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 201 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 150 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 326 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 444 of file SpeexDecodeInputPin.cpp. References LOOG_INT64. |
|
||||||||||||||||
|
Reimplemented from AbstractTransformInputPin. Definition at line 95 of file SpeexDecodeInputPin.cpp. References mRateNumerator, mUptoFrame, AbstractTransformInputPin::NewSegment(), and RATE_DENOMINATOR. |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented from AbstractTransformInputPin. Definition at line 80 of file SpeexDecodeInputPin.cpp. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented from AbstractTransformInputPin. Definition at line 284 of file SpeexDecodeInputPin.cpp. References convertGranuleToTime(), AbstractTransformOutputPin::mDataQueue, mDecodedBuffer, mDecodedByteCount, mFrameSize, TransformData(), and TRUE. |
Here is the call graph for this function:

|
|
|
|
Implements AbstractTransformInputPin. Definition at line 400 of file SpeexDecodeInputPin.cpp. References CheckMediaType(). |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 257 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 295 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
||||||||||||||||||||
|
Definition at line 88 of file AbstractTransformInputPin.cpp. Referenced by TheoraEncodeInputPin::deliverData(), SpeexEncodeInputPin::SpeexEncoded(), VorbisEncodeInputPin::VorbisEncoded(), and FLACEncodeInputPin::write_callback(). |
|
|
Reimplemented in OggDemuxSourceFilter, and OggDemuxPacketSourceFilter. Definition at line 189 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Implements IOggDecoder. Definition at line 449 of file SpeexDecodeInputPin.cpp. References FishSoundInfo::channels, fish_sound_command(), fish_sound_decode(), mBegun, mFishInfo, mFishSound, mFrameSize, mNumChannels, mSampleRate, mSetupState, OggPacket::packetData(), OggPacket::packetSize(), FishSoundInfo::samplerate, VSS_ALL_HEADERS_SEEN, VSS_ERROR, VSS_SEEN_BOS, and VSS_SEEN_NOTHING. |
Here is the call graph for this function:

|
||||||||||||||||||||
|
Definition at line 125 of file SpeexDecodeInputPin.cpp. References DECODED_BUFFER_SIZE, FishSound, mDecodedBuffer, mDecodedByteCount, mFrameSize, and mNumChannels. Referenced by ConstructCodec(). |
|
||||||||||||
|
Implements AbstractTransformInputPin. Referenced by Receive(). |
|
|
Definition at line 57 of file AbstractTransformInputPin.h. |
|
|
Definition at line 78 of file SpeexDecodeInputPin.h. Referenced by SpeexDecoded(). |
|
|
Definition at line 103 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::CheckMediaType(), AbstractTransformInputPin::GetMediaType(), and AbstractTransformInputPin::~AbstractTransformInputPin(). |
|
|
Definition at line 96 of file SpeexDecodeInputPin.h. Referenced by showHeaderPacket(). |
|
|
Definition at line 98 of file SpeexDecodeInputPin.h. Referenced by Receive(), SpeexDecoded(), and SpeexDecodeInputPin(). |
|
|
Definition at line 100 of file SpeexDecodeInputPin.h. Referenced by EndFlush(), Receive(), and SpeexDecoded(). |
|
|
Definition at line 89 of file SpeexDecodeInputPin.h. Referenced by ConstructCodec(), and showHeaderPacket(). |
|
|
Definition at line 88 of file SpeexDecodeInputPin.h. Referenced by ConstructCodec(), DestroyCodec(), and showHeaderPacket(). |
|
|
Definition at line 92 of file SpeexDecodeInputPin.h. Referenced by Receive(), showHeaderPacket(), and SpeexDecoded(). |
|
|
Reimplemented from BasicSeekPassThrough. Reimplemented in FLACEncodeInputPin, OggRawAudioInserterInputPin, SpeexEncodeInputPin, TheoraEncodeInputPin, VorbisDecodeInputPin, and VorbisEncodeInputPin. Definition at line 98 of file AbstractTransformInputPin.h. |
|
|
Definition at line 91 of file SpeexDecodeInputPin.h. Referenced by showHeaderPacket(), and SpeexDecoded(). |
|
|
Definition at line 101 of file AbstractTransformInputPin.h. Referenced by SpeexEncodeInputPin::SpeexEncoded(), and VorbisEncodeInputPin::VorbisEncoded(). |
|
|
Definition at line 102 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::BeginFlush(), AbstractTransformInputPin::EndFlush(), AbstractTransformInputPin::EndOfStream(), and AbstractTransformInputPin::NewSegment(). |
|
|
Definition at line 112 of file SpeexDecodeInputPin.h. Referenced by NewSegment(). |
|
|
Definition at line 93 of file SpeexDecodeInputPin.h. Referenced by showHeaderPacket(). |
|
|
|
Definition at line 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
|
Definition at line 110 of file SpeexDecodeInputPin.h. Referenced by showHeaderPacket(). |
|
|
Definition at line 106 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::AbstractTransformInputPin(), AbstractTransformInputPin::EndOfStream(), AbstractTransformInputPin::NewSegment(), and AbstractTransformInputPin::Receive(). |
|
|
Definition at line 94 of file SpeexDecodeInputPin.h. Referenced by NewSegment(). |
|
|
Definition at line 113 of file SpeexDecodeInputPin.h. Referenced by NewSegment(). |
|