#include <AbstractAudioDecodeInputPin.h>
Inheritance diagram for AbstractAudioDecodeInputPin:
Public Member Functions | |
DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
AbstractAudioDecodeInputPin (AbstractAudioDecodeFilter *inParentFilter, CCritSec *inFilterLock, AbstractAudioDecodeOutputPin *inOutputPin, CHAR *inObjectName, LPCWSTR inPinDisplayName, CMediaType *inAcceptMediaType) | |
virtual | ~AbstractAudioDecodeInputPin (void) |
virtual long | decodeData (unsigned char *inBuf, long inNumBytes)=0 |
virtual bool | ConstructCodec ()=0 |
virtual void | DestroyCodec ()=0 |
virtual HRESULT | BreakConnect () |
virtual HRESULT | CompleteConnect (IPin *inReceivePin) |
STDMETHODIMP | Receive (IMediaSample *pSample) |
virtual HRESULT | CheckMediaType (const CMediaType *inMediaType) |
virtual HRESULT | GetMediaType (int inPosition, CMediaType *outMediaType) |
virtual HRESULT | SetMediaType (const CMediaType *inMediaType)=0 |
virtual void | ResetFrameCount () |
virtual void | ResetTimeBases () |
virtual STDMETHODIMP | EndOfStream (void) |
virtual STDMETHODIMP | BeginFlush () |
virtual STDMETHODIMP | EndFlush () |
virtual STDMETHODIMP | NewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) |
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) |
Public Attributes | |
REFERENCE_TIME | mChainTimeBase |
REFERENCE_TIME | mPreviousEndTime |
Static Public Attributes | |
const short | SIZE_16_BITS = 2 |
const signed short | SINT_MAX = 32767 |
const signed short | SINT_MIN = -32768 |
Protected Member Functions | |
virtual bool | SetSampleParams (IMediaSample *outMediaSample, unsigned long inDataSize, REFERENCE_TIME *inStartTime, REFERENCE_TIME *inEndTime) |
Protected Attributes | |
HRESULT | mHR |
bool | mBegun |
AbstractAudioDecodeOutputPin * | mOutputPin |
__int64 | mUptoFrame |
__int64 | mLastSeenStartGranPos |
AbstractAudioDecodeFilter * | mParentFilter |
CMediaType * | mAcceptableMediaType |
CCritSec * | mStreamLock |
unsigned long | mFrameSize |
unsigned long | mNumChannels |
unsigned long | mSampleRate |
REFERENCE_TIME | mSeekTimeBase |
IMediaSeeking * | mSeekDelegate |
DWORD | mSeekingCap |
Friends | |
class | AbstractAudioDecodeOutputPin |
|
Definition at line 36 of file AbstractAudioDecodeInputPin.cpp. References false, mAcceptableMediaType, and mStreamLock. |
|
Definition at line 110 of file AbstractAudioDecodeInputPin.cpp. References mAcceptableMediaType. |
|
Definition at line 215 of file AbstractAudioDecodeInputPin.cpp. References AbstractAudioDecodeOutputPin::DeliverBeginFlush(), AbstractAudioDecodeFilter::mOutputPin, and mParentFilter. |
Here is the call graph for this function:
|
Definition at line 94 of file AbstractAudioDecodeInputPin.cpp. References BasicSeekable::ReleaseDelegate(). |
Here is the call graph for this function:
|
Definition at line 91 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 197 of file AbstractAudioDecodeInputPin.cpp. References mAcceptableMediaType. |
|
Definition at line 101 of file AbstractAudioDecodeInputPin.cpp. References BasicSeekable::SetDelegate(). |
Here is the call graph for this function:
|
|
|
Definition at line 212 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Referenced by Receive(). |
|
|
|
Definition at line 221 of file AbstractAudioDecodeInputPin.cpp. References AbstractAudioDecodeOutputPin::DeliverEndFlush(), AbstractAudioDecodeFilter::mOutputPin, and mParentFilter. |
Here is the call graph for this function:
|
Definition at line 209 of file AbstractAudioDecodeInputPin.cpp. References AbstractAudioDecodeOutputPin::DeliverEndOfStream(), AbstractAudioDecodeFilter::mOutputPin, mParentFilter, and mStreamLock. |
Here is the call graph for this function:
|
Definition at line 251 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 63 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 200 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 177 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 237 of file AbstractAudioDecodeInputPin.cpp. References mAcceptableMediaType. |
|
Definition at line 240 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 282 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 272 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 189 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 167 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 116 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 292 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 228 of file AbstractAudioDecodeInputPin.cpp. References AbstractAudioDecodeOutputPin::DeliverNewSegment(), AbstractAudioDecodeFilter::mOutputPin, mParentFilter, mStreamLock, and ResetFrameCount(). |
Here is the call graph for this function:
|
Definition at line 83 of file AbstractAudioDecodeInputPin.cpp. Referenced by AbstractAudioDecodeOutputPin::CompleteConnect(). |
|
Definition at line 137 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 141 of file AbstractAudioDecodeInputPin.cpp. References decodeData(), mLastSeenStartGranPos, mSeekTimeBase, mStreamLock, and ResetFrameCount(). |
Here is the call graph for this function:
|
Definition at line 41 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. Referenced by AbstractVideoDecodeOutputPin::BreakConnect(), AbstractVideoDecodeInputPin::BreakConnect(), AbstractAudioDecodeOutputPin::BreakConnect(), BreakConnect(), and AbstractAudioDecodeOutputPin::~AbstractAudioDecodeOutputPin(). |
|
Definition at line 120 of file AbstractAudioDecodeInputPin.cpp. References mUptoFrame. Referenced by NewSegment(), Receive(), and AbstractAudioDecodeFilter::Stop(). |
|
Definition at line 125 of file AbstractAudioDecodeInputPin.cpp. References mLastSeenStartGranPos. Referenced by AbstractAudioDecodeFilter::Stop(). |
|
|
|
|
Definition at line 223 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 261 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 129 of file AbstractAudioDecodeInputPin.cpp. |
|
Definition at line 155 of file BasicSeekable.cpp. References BasicSeekable::mSeekDelegate. |
|
Definition at line 51 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 102 of file AbstractAudioDecodeInputPin.h. Referenced by AbstractAudioDecodeInputPin(), CheckMediaType(), GetMediaType(), and ~AbstractAudioDecodeInputPin(). |
|
Definition at line 97 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 89 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 108 of file AbstractAudioDecodeInputPin.h. |
|
Reimplemented from BasicSeekable. Definition at line 96 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 100 of file AbstractAudioDecodeInputPin.h. Referenced by Receive(), and ResetTimeBases(). |
|
Definition at line 109 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 98 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 101 of file AbstractAudioDecodeInputPin.h. Referenced by BeginFlush(), EndFlush(), EndOfStream(), and NewSegment(). |
|
Definition at line 90 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 110 of file AbstractAudioDecodeInputPin.h. |
|
|
Definition at line 47 of file BasicSeekable.h. Referenced by BasicSeekable::BasicSeekable(). |
|
Definition at line 112 of file AbstractAudioDecodeInputPin.h. Referenced by Receive(). |
|
Definition at line 105 of file AbstractAudioDecodeInputPin.h. Referenced by AbstractAudioDecodeInputPin(), EndOfStream(), NewSegment(), and Receive(). |
|
Definition at line 99 of file AbstractAudioDecodeInputPin.h. Referenced by ResetFrameCount(). |
|
Definition at line 55 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 56 of file AbstractAudioDecodeInputPin.h. |
|
Definition at line 54 of file AbstractAudioDecodeInputPin.h. |