AbstractAudioDecodeOutputPin Class Reference

#include <AbstractAudioDecodeOutputPin.h>

Inheritance diagram for AbstractAudioDecodeOutputPin:

Inheritance graph
[legend]
Collaboration diagram for AbstractAudioDecodeOutputPin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 AbstractAudioDecodeOutputPin (AbstractAudioDecodeFilter *inParentFilter, CCritSec *inFilterLock, CHAR *inObjectName, LPCWSTR inPinDisplayName)
virtual ~AbstractAudioDecodeOutputPin (void)
virtual HRESULT DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inReqAllocProps)
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
virtual bool FillWaveFormatExBuffer (WAVEFORMATEX *inFormatBuffer)=0
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
virtual HRESULT BreakConnect (void)
virtual HRESULT CompleteConnect (IPin *inReceivePin)
virtual HRESULT DeliverNewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
virtual HRESULT DeliverEndOfStream (void)
virtual HRESULT DeliverEndFlush (void)
virtual HRESULT DeliverBeginFlush (void)
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

COutputQueue * mDataQueue

Protected Member Functions

void FillMediaType (CMediaType *inMediaType)

Protected Attributes

HRESULT mHR
AbstractAudioDecodeFiltermParentFilter
IMediaSeeking * mSeekDelegate
DWORD mSeekingCap

Static Protected Attributes

const int BUFF_SIZE = 65536
const int BUFF_COUNT = 5

Constructor & Destructor Documentation

AbstractAudioDecodeOutputPin::AbstractAudioDecodeOutputPin AbstractAudioDecodeFilter inParentFilter,
CCritSec *  inFilterLock,
CHAR *  inObjectName,
LPCWSTR  inPinDisplayName
 

Definition at line 35 of file AbstractAudioDecodeOutputPin.cpp.

AbstractAudioDecodeOutputPin::~AbstractAudioDecodeOutputPin void   )  [virtual]
 

Definition at line 43 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue, and BasicSeekable::ReleaseDelegate().

Here is the call graph for this function:


Member Function Documentation

HRESULT AbstractAudioDecodeOutputPin::BreakConnect void   )  [virtual]
 

Definition at line 200 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue, and BasicSeekable::ReleaseDelegate().

Here is the call graph for this function:

STDMETHODIMP BasicSeekable::CheckCapabilities DWORD *  pCapabilities  )  [virtual, inherited]
 

Definition at line 91 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

HRESULT AbstractAudioDecodeOutputPin::CheckMediaType const CMediaType *  inMediaType  )  [virtual]
 

Definition at line 117 of file AbstractAudioDecodeOutputPin.cpp.

HRESULT AbstractAudioDecodeOutputPin::CompleteConnect IPin *  inReceivePin  )  [virtual]
 

Definition at line 179 of file AbstractAudioDecodeOutputPin.cpp.

References FALSE, mDataQueue, AbstractAudioDecodeFilter::mInputPin, mParentFilter, AbstractAudioDecodeInputPin::NonDelegatingQueryInterface(), BasicSeekable::SetDelegate(), and TRUE.

Here is the call graph for this function:

STDMETHODIMP BasicSeekable::ConvertTimeFormat LONGLONG *  pTarget,
const GUID *  pTargetFormat,
LONGLONG  Source,
const GUID *  pSourceFormat
[virtual, inherited]
 

Definition at line 212 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

HRESULT AbstractAudioDecodeOutputPin::DecideBufferSize IMemAllocator *  inAllocator,
ALLOCATOR_PROPERTIES *  inReqAllocProps
[virtual]
 

Definition at line 60 of file AbstractAudioDecodeOutputPin.cpp.

HRESULT AbstractAudioDecodeOutputPin::DeliverBeginFlush void   )  [virtual]
 

Definition at line 170 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue.

Referenced by AbstractAudioDecodeInputPin::BeginFlush().

HRESULT AbstractAudioDecodeOutputPin::DeliverEndFlush void   )  [virtual]
 

Definition at line 163 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue.

Referenced by AbstractAudioDecodeInputPin::EndFlush().

HRESULT AbstractAudioDecodeOutputPin::DeliverEndOfStream void   )  [virtual]
 

Definition at line 157 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue.

Referenced by AbstractAudioDecodeInputPin::EndOfStream().

HRESULT AbstractAudioDecodeOutputPin::DeliverNewSegment REFERENCE_TIME  tStart,
REFERENCE_TIME  tStop,
double  dRate
[virtual]
 

Definition at line 152 of file AbstractAudioDecodeOutputPin.cpp.

References mDataQueue.

Referenced by AbstractAudioDecodeInputPin::NewSegment().

void AbstractAudioDecodeOutputPin::FillMediaType CMediaType *  inMediaType  )  [protected]
 

Definition at line 128 of file AbstractAudioDecodeOutputPin.cpp.

References FALSE.

Referenced by GetMediaType().

virtual bool AbstractAudioDecodeOutputPin::FillWaveFormatExBuffer WAVEFORMATEX *  inFormatBuffer  )  [pure virtual]
 

Referenced by GetMediaType().

STDMETHODIMP BasicSeekable::GetAvailable LONGLONG *  pEarliest,
LONGLONG *  pLatest
[virtual, inherited]
 

Definition at line 251 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetCapabilities DWORD *  pCapabilities  )  [virtual, inherited]
 

Definition at line 63 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetCurrentPosition LONGLONG *  pCurrent  )  [virtual, inherited]
 

Definition at line 200 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetDuration LONGLONG *  pDuration  )  [virtual, inherited]
 

Definition at line 177 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

HRESULT AbstractAudioDecodeOutputPin::GetMediaType int  inPosition,
CMediaType *  outMediaType
[virtual]
 

Definition at line 136 of file AbstractAudioDecodeOutputPin.cpp.

References FillMediaType(), and FillWaveFormatExBuffer().

Here is the call graph for this function:

STDMETHODIMP BasicSeekable::GetPositions LONGLONG *  pCurrent,
LONGLONG *  pStop
[virtual, inherited]
 

Definition at line 240 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetPreroll LONGLONG *  pllPreroll  )  [virtual, inherited]
 

Definition at line 282 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetRate double *  dRate  )  [virtual, inherited]
 

Definition at line 272 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetStopPosition LONGLONG *  pStop  )  [virtual, inherited]
 

Definition at line 189 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::GetTimeFormat GUID *  pFormat  )  [virtual, inherited]
 

Definition at line 167 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::IsFormatSupported const GUID *  pFormat  )  [virtual, inherited]
 

Definition at line 116 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::IsUsingTimeFormat const GUID *  pFormat  )  [virtual, inherited]
 

Definition at line 292 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP AbstractAudioDecodeOutputPin::NonDelegatingQueryInterface REFIID  riid,
void **  ppv
 

Definition at line 50 of file AbstractAudioDecodeOutputPin.cpp.

STDMETHODIMP BasicSeekable::QueryPreferredFormat GUID *  pFormat  )  [virtual, inherited]
 

Definition at line 137 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

bool BasicSeekable::ReleaseDelegate  )  [inherited]
 

Definition at line 41 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

Referenced by AbstractVideoDecodeOutputPin::BreakConnect(), AbstractVideoDecodeInputPin::BreakConnect(), BreakConnect(), AbstractAudioDecodeInputPin::BreakConnect(), and ~AbstractAudioDecodeOutputPin().

bool BasicSeekable::SetDelegate IMediaSeeking *  inDelegate  )  [inherited]
 

Definition at line 49 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

Referenced by AbstractAudioEncodeInputPin::AbstractAudioEncodeInputPin(), AbstractVideoEncodeInputPin::AbstractVideoEncodeInputPin(), AbstractVideoEncodeInputPin::CompleteConnect(), AbstractVideoDecodeOutputPin::CompleteConnect(), AbstractVideoDecodeInputPin::CompleteConnect(), AbstractAudioEncodeInputPin::CompleteConnect(), CompleteConnect(), and AbstractAudioDecodeInputPin::CompleteConnect().

STDMETHODIMP BasicSeekable::SetPositions LONGLONG *  pCurrent,
DWORD  dwCurrentFlags,
LONGLONG *  pStop,
DWORD  dwStopFlags
[virtual, inherited]
 

Definition at line 223 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::SetRate double  dRate  )  [virtual, inherited]
 

Definition at line 261 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.

STDMETHODIMP BasicSeekable::SetTimeFormat const GUID *  pFormat  )  [virtual, inherited]
 

Definition at line 155 of file BasicSeekable.cpp.

References BasicSeekable::mSeekDelegate.


Member Data Documentation

const int AbstractAudioDecodeOutputPin::BUFF_COUNT = 5 [static, protected]
 

Definition at line 74 of file AbstractAudioDecodeOutputPin.h.

const int AbstractAudioDecodeOutputPin::BUFF_SIZE = 65536 [static, protected]
 

Definition at line 73 of file AbstractAudioDecodeOutputPin.h.

COutputQueue* AbstractAudioDecodeOutputPin::mDataQueue
 

Definition at line 65 of file AbstractAudioDecodeOutputPin.h.

Referenced by BreakConnect(), CompleteConnect(), DeliverBeginFlush(), DeliverEndFlush(), DeliverEndOfStream(), DeliverNewSegment(), and ~AbstractAudioDecodeOutputPin().

HRESULT AbstractAudioDecodeOutputPin::mHR [protected]
 

Reimplemented from BasicSeekable.

Definition at line 67 of file AbstractAudioDecodeOutputPin.h.

AbstractAudioDecodeFilter* AbstractAudioDecodeOutputPin::mParentFilter [protected]
 

Definition at line 68 of file AbstractAudioDecodeOutputPin.h.

Referenced by CompleteConnect().

IMediaSeeking* BasicSeekable::mSeekDelegate [protected, inherited]
 

Definition at line 45 of file BasicSeekable.h.

Referenced by BasicSeekable::BasicSeekable(), BasicSeekable::CheckCapabilities(), BasicSeekable::ConvertTimeFormat(), BasicSeekable::GetAvailable(), BasicSeekable::GetCapabilities(), BasicSeekable::GetCurrentPosition(), BasicSeekable::GetDuration(), BasicSeekable::GetPositions(), BasicSeekable::GetPreroll(), BasicSeekable::GetRate(), BasicSeekable::GetStopPosition(), BasicSeekable::GetTimeFormat(), BasicSeekable::IsFormatSupported(), BasicSeekable::IsUsingTimeFormat(), BasicSeekable::QueryPreferredFormat(), BasicSeekable::ReleaseDelegate(), BasicSeekable::SetDelegate(), BasicSeekable::SetPositions(), BasicSeekable::SetRate(), BasicSeekable::SetTimeFormat(), and BasicSeekable::~BasicSeekable().

DWORD BasicSeekable::mSeekingCap [protected, inherited]
 

Definition at line 47 of file BasicSeekable.h.

Referenced by BasicSeekable::BasicSeekable().


The documentation for this class was generated from the following files:
Generated on Tue Feb 15 15:00:51 2005 for oggdsf by  doxygen 1.3.9