#include <SpeexEncodeInputPin.h>
Inheritance diagram for SpeexEncodeInputPin:
Public Member Functions | |
SpeexEncodeInputPin (AbstractTransformFilter *inFilter, CCritSec *inFilterLock, AbstractTransformOutputPin *inOutputPin, vector< CMediaType * > inAcceptableMediaTypes) | |
virtual | ~SpeexEncodeInputPin (void) |
virtual HRESULT | SetMediaType (const CMediaType *inMediaType) |
DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
virtual HRESULT | BreakConnect () |
virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
virtual STDMETHODIMP | Receive (IMediaSample *pSample) |
virtual STDMETHODIMP | EndOfStream (void) |
virtual STDMETHODIMP | BeginFlush () |
virtual STDMETHODIMP | EndFlush () |
virtual STDMETHODIMP | NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate) |
bool | SetDelegate (IMediaSeeking *inDelegate) |
bool | ReleaseDelegate () |
virtual STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
virtual STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
virtual STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
virtual STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
virtual STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
virtual STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
virtual STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
virtual STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
virtual STDMETHODIMP | SetRate (double dRate) |
virtual STDMETHODIMP | GetRate (double *dRate) |
virtual STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
virtual STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
Static Public Member Functions | |
int __cdecl | SpeexEncoded (FishSound *inFishSound, unsigned char *inPacketData, long inNumBytes, void *inThisPointer) |
Protected Member Functions | |
virtual HRESULT | TransformData (unsigned char *inBuf, long inNumBytes) |
virtual bool | ConstructCodec () |
virtual void | DestroyCodec () |
virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
Protected Attributes | |
HRESULT | mHR |
WAVEFORMATEX * | mWaveFormat |
__int64 | mUptoFrame |
FishSound * | mFishSound |
FishSoundInfo | mFishInfo |
AbstractTransformOutputPin * | mOutputPin |
AbstractTransformFilter * | mParentFilter |
vector< CMediaType * > | mAcceptableMediaTypes |
CCritSec * | mStreamLock |
IMediaSeeking * | mSeekDelegate |
DWORD | mSeekingCap |
Static Protected Attributes | |
const short | SIZE_16_BITS = 2 |
const signed short | SINT_MAX = 32767 |
const signed short | SINT_MIN = -32768 |
Friends | |
class | AbstractTransformOutputPin |
|
Definition at line 35 of file SpeexEncodeInputPin.cpp. |
|
Definition at line 45 of file SpeexEncodeInputPin.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. Definition at line 125 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 127 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mAcceptableMediaTypes. |
|
Definition at line 68 of file AbstractTransformInputPin.cpp. References BasicSeekPassThrough::SetDelegate(). |
Here is the call graph for this function:
|
Implements AbstractTransformInputPin. Definition at line 86 of file SpeexEncodeInputPin.cpp. References FishSoundInfo::channels, fish_sound_command(), fish_sound_new(), fish_sound_set_encoded_callback(), FishSoundInfo::format, mFishInfo, mFishSound, mWaveFormat, FishSoundInfo::samplerate, and SpeexEncoded(). Referenced by SetMediaType(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Implements AbstractTransformInputPin. Definition at line 108 of file SpeexEncodeInputPin.cpp. References fish_sound_delete(), and mFishSound. Referenced by ~SpeexEncodeInputPin(). |
Here is the call graph for this function:
|
Definition at line 155 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverEndFlush(), AbstractTransformFilter::mOutputPin, and AbstractTransformInputPin::mParentFilter. |
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:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 285 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 97 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter, and OggMuxFilter. Definition at line 234 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. 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, and OggMuxFilter. Definition at line 274 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. Referenced by OggMuxFilter::GetPositions(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 316 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 306 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 223 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 201 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 150 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 326 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 162 of file AbstractTransformInputPin.cpp. References AbstractTransformOutputPin::DeliverNewSegment(), AbstractTransformFilter::mOutputPin, AbstractTransformInputPin::mParentFilter, and AbstractTransformInputPin::mStreamLock. Referenced by VorbisDecodeInputPin::NewSegment(), SpeexDecodeInputPin::NewSegment(), and FLACDecodeInputPin::NewSegment(). |
Here is the call graph for this function:
|
Reimplemented in FLACDecodeInputPin, SpeexDecodeInputPin, and VorbisDecodeInputPin. Definition at line 49 of file AbstractTransformInputPin.cpp. Referenced by AbstractTransformOutputPin::CompleteConnect(), and VorbisDecodeInputPin::NonDelegatingQueryInterface(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 100 of file AbstractTransformInputPin.cpp. References AbstractTransformInputPin::mStreamLock, and AbstractTransformInputPin::TransformData(). Referenced by SpeexDecodeInputPin::SpeexDecoded(), SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), and VorbisEncodeInputPin::VorbisEncoded(). |
Here is the call graph for this function:
|
|
|
Implements AbstractTransformInputPin. Definition at line 178 of file SpeexEncodeInputPin.cpp. References ConstructCodec(), and mWaveFormat. |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 257 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 295 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 88 of file AbstractTransformInputPin.cpp. Referenced by TheoraEncodeInputPin::deliverData(), SpeexDecodeInputPin::SpeexDecoded(), SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), VorbisEncodeInputPin::VorbisEncoded(), and FLACEncodeInputPin::write_callback(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 189 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 115 of file SpeexEncodeInputPin.cpp. References fish_sound_get_frameno(), FishSound, mFishSound, AbstractTransformInputPin::mOutputPin, mUptoFrame, AbstractTransformInputPin::Receive(), and AbstractTransformInputPin::SetSampleParams(). Referenced by ConstructCodec(). |
Here is the call graph for this function:
|
Implements AbstractTransformInputPin. Definition at line 53 of file SpeexEncodeInputPin.cpp. References FishSoundInfo::channels, fish_sound_encode(), mFishInfo, and mFishSound. |
Here is the call graph for this function:
|
Definition at line 57 of file AbstractTransformInputPin.h. |
|
Definition at line 103 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::CheckMediaType(), AbstractTransformInputPin::GetMediaType(), and AbstractTransformInputPin::~AbstractTransformInputPin(). |
|
Definition at line 71 of file SpeexEncodeInputPin.h. Referenced by ConstructCodec(), and TransformData(). |
|
Definition at line 70 of file SpeexEncodeInputPin.h. Referenced by ConstructCodec(), DestroyCodec(), SpeexEncoded(), and TransformData(). |
|
Reimplemented from AbstractTransformInputPin. Definition at line 59 of file SpeexEncodeInputPin.h. |
|
Definition at line 101 of file AbstractTransformInputPin.h. Referenced by SpeexDecodeInputPin::SpeexDecoded(), SpeexEncoded(), VorbisDecodeInputPin::VorbisDecoded(), 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 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
Definition at line 106 of file AbstractTransformInputPin.h. Referenced by AbstractTransformInputPin::AbstractTransformInputPin(), AbstractTransformInputPin::EndOfStream(), AbstractTransformInputPin::NewSegment(), and AbstractTransformInputPin::Receive(). |
|
Definition at line 67 of file SpeexEncodeInputPin.h. Referenced by SpeexEncoded(). |
|
Definition at line 66 of file SpeexEncodeInputPin.h. Referenced by ConstructCodec(), and SetMediaType(). |
|
Definition at line 88 of file AbstractTransformInputPin.h. |
|
Definition at line 89 of file AbstractTransformInputPin.h. |
|
Definition at line 87 of file AbstractTransformInputPin.h. |