AbstractTransformOutputPin Class Reference

#include <AbstractTransformOutputPin.h>

Inheritance diagram for AbstractTransformOutputPin:

Inheritance graph
[legend]
Collaboration diagram for AbstractTransformOutputPin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 AbstractTransformOutputPin (AbstractTransformFilter *inParentFilter, CCritSec *inFilterLock, CHAR *inObjectName, LPCWSTR inPinDisplayName, int inBuffSize, int inNumBuffs, vector< CMediaType * > inAcceptableMediaTypes)
virtual ~AbstractTransformOutputPin (void)
virtual HRESULT DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inReqAllocProps)
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
virtual HRESULT CreateAndFillFormatBuffer (CMediaType *outMediaType, int inPosition)=0
virtual HRESULT BreakConnect (void)
virtual HRESULT CompleteConnect (IPin *inReceivePin)
virtual HRESULT DeliverNewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate)
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)

Protected Member Functions

void FillMediaType (CMediaType *outMediaType, int inPosition)

Protected Attributes

AbstractTransformFiltermParentFilter
COutputQueue * mDataQueue
vector< CMediaType * > mAcceptableMediaTypes
HRESULT mHR
int mDesiredBufferSize
int mDesiredBufferCount
int mActualBufferSize
int mActualBufferCount
IMediaSeeking * mSeekDelegate
DWORD mSeekingCap

Constructor & Destructor Documentation

AbstractTransformOutputPin::AbstractTransformOutputPin AbstractTransformFilter inParentFilter,
CCritSec *  inFilterLock,
CHAR *  inObjectName,
LPCWSTR  inPinDisplayName,
int  inBuffSize,
int  inNumBuffs,
vector< CMediaType * >  inAcceptableMediaTypes
 

Definition at line 36 of file AbstractTransformOutputPin.cpp.

AbstractTransformOutputPin::~AbstractTransformOutputPin void   )  [virtual]
 

Definition at line 52 of file AbstractTransformOutputPin.cpp.

References mAcceptableMediaTypes, mDataQueue, and BasicSeekPassThrough::ReleaseDelegate().

Here is the call graph for this function:


Member Function Documentation

HRESULT AbstractTransformOutputPin::BreakConnect void   )  [virtual]
 

Definition at line 221 of file AbstractTransformOutputPin.cpp.

References mDataQueue, and BasicSeekPassThrough::ReleaseDelegate().

Here is the call graph for this function:

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 125 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Definition at line 124 of file AbstractTransformOutputPin.cpp.

References mAcceptableMediaTypes.

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

Definition at line 199 of file AbstractTransformOutputPin.cpp.

References FALSE, mActualBufferCount, mDataQueue, AbstractTransformFilter::mInputPin, mParentFilter, AbstractTransformInputPin::NonDelegatingQueryInterface(), BasicSeekPassThrough::SetDelegate(), and TRUE.

Here is the call graph for this function:

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 246 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

virtual HRESULT AbstractTransformOutputPin::CreateAndFillFormatBuffer CMediaType *  outMediaType,
int  inPosition
[pure virtual]
 

Implemented in FLACDecodeOutputPin, FLACEncodeOutputPin, SpeexDecodeOutputPin, SpeexEncodeOutputPin, TheoraEncodeOutputPin, VorbisDecodeOutputPin, and VorbisEncodeOutputPin.

Referenced by GetMediaType().

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

Definition at line 74 of file AbstractTransformOutputPin.cpp.

References mActualBufferCount, and mActualBufferSize.

HRESULT AbstractTransformOutputPin::DeliverBeginFlush void   )  [virtual]
 

Definition at line 191 of file AbstractTransformOutputPin.cpp.

References mDataQueue.

Referenced by AbstractTransformInputPin::BeginFlush().

HRESULT AbstractTransformOutputPin::DeliverEndFlush void   )  [virtual]
 

Definition at line 183 of file AbstractTransformOutputPin.cpp.

References mDataQueue.

Referenced by AbstractTransformInputPin::EndFlush().

HRESULT AbstractTransformOutputPin::DeliverEndOfStream void   )  [virtual]
 

Definition at line 176 of file AbstractTransformOutputPin.cpp.

References mDataQueue.

Referenced by AbstractTransformInputPin::EndOfStream().

HRESULT AbstractTransformOutputPin::DeliverNewSegment REFERENCE_TIME  inStartTime,
REFERENCE_TIME  inStopTime,
double  inRate
[virtual]
 

Definition at line 171 of file AbstractTransformOutputPin.cpp.

References mDataQueue.

Referenced by AbstractTransformInputPin::NewSegment().

void AbstractTransformOutputPin::FillMediaType CMediaType *  outMediaType,
int  inPosition
[protected]
 

Definition at line 141 of file AbstractTransformOutputPin.cpp.

References FALSE, and mAcceptableMediaTypes.

Referenced by GetMediaType().

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 285 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 97 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter, and OggMuxFilter.

Definition at line 234 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 211 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Definition at line 156 of file AbstractTransformOutputPin.cpp.

References CreateAndFillFormatBuffer(), FillMediaType(), and mAcceptableMediaTypes.

Here is the call graph for this function:

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

Reimplemented in OggDemuxSourceFilter, and OggMuxFilter.

Definition at line 274 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

Referenced by OggMuxFilter::GetPositions().

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 316 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 306 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 223 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 201 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 150 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 326 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in FLACDecodeOutputPin, SpeexDecodeOutputPin, and VorbisDecodeOutputPin.

Definition at line 63 of file AbstractTransformOutputPin.cpp.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 171 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

bool BasicSeekPassThrough::ReleaseDelegate  )  [inherited]
 

Definition at line 75 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

Referenced by BreakConnect(), AbstractTransformInputPin::BreakConnect(), OggMuxInputPin::BreakConnect(), TheoraDecodeOutputPin::BreakConnect(), TheoraDecodeInputPin::BreakConnect(), and ~AbstractTransformOutputPin().

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

Definition at line 83 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

Referenced by AnxMuxFilter::AnxMuxFilter(), CompleteConnect(), AbstractTransformInputPin::CompleteConnect(), OggMuxInputPin::CompleteConnect(), AnxMuxInputPin::CompleteConnect(), TheoraDecodeOutputPin::CompleteConnect(), TheoraDecodeInputPin::CompleteConnect(), NativeFLACSourcePin::NativeFLACSourcePin(), OggDemuxSourcePin::OggDemuxSourcePin(), OggMuxFilter::OggMuxFilter(), NativeFLACSourcePin::~NativeFLACSourcePin(), and OggMuxFilter::~OggMuxFilter().

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 257 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 295 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 189 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.


Member Data Documentation

vector<CMediaType*> AbstractTransformOutputPin::mAcceptableMediaTypes [protected]
 

Definition at line 85 of file AbstractTransformOutputPin.h.

Referenced by CheckMediaType(), FillMediaType(), GetMediaType(), and ~AbstractTransformOutputPin().

int AbstractTransformOutputPin::mActualBufferCount [protected]
 

Definition at line 93 of file AbstractTransformOutputPin.h.

Referenced by CompleteConnect(), and DecideBufferSize().

int AbstractTransformOutputPin::mActualBufferSize [protected]
 

Definition at line 92 of file AbstractTransformOutputPin.h.

Referenced by DecideBufferSize().

COutputQueue* AbstractTransformOutputPin::mDataQueue [protected]
 

Definition at line 84 of file AbstractTransformOutputPin.h.

Referenced by BreakConnect(), CompleteConnect(), DeliverBeginFlush(), TheoraEncodeInputPin::deliverData(), DeliverEndFlush(), DeliverEndOfStream(), DeliverNewSegment(), FLACEncodeInputPin::write_callback(), and ~AbstractTransformOutputPin().

int AbstractTransformOutputPin::mDesiredBufferCount [protected]
 

Definition at line 91 of file AbstractTransformOutputPin.h.

int AbstractTransformOutputPin::mDesiredBufferSize [protected]
 

Definition at line 90 of file AbstractTransformOutputPin.h.

HRESULT AbstractTransformOutputPin::mHR [protected]
 

Reimplemented from BasicSeekPassThrough.

Definition at line 87 of file AbstractTransformOutputPin.h.

AbstractTransformFilter* AbstractTransformOutputPin::mParentFilter [protected]
 

Definition at line 83 of file AbstractTransformOutputPin.h.

Referenced by CompleteConnect().

IMediaSeeking* BasicSeekPassThrough::mSeekDelegate [protected, inherited]
 

Definition at line 75 of file BasicSeekPassThrough.h.

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

DWORD BasicSeekPassThrough::mSeekingCap [protected, inherited]
 

Definition at line 77 of file BasicSeekPassThrough.h.

Referenced by BasicSeekPassThrough::BasicSeekPassThrough().


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