SpeexEncodeOutputPin Class Reference

#include <SpeexEncodeOutputPin.h>

Inheritance diagram for SpeexEncodeOutputPin:

Inheritance graph
[legend]
Collaboration diagram for SpeexEncodeOutputPin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpeexEncodeOutputPin (SpeexEncodeFilter *inParentFilter, CCritSec *inFilterLock, vector< CMediaType * > inAcceptableMediaTypes)
virtual ~SpeexEncodeOutputPin (void)
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
virtual HRESULT DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inReqAllocProps)
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
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

virtual HRESULT CreateAndFillFormatBuffer (CMediaType *outMediaType, int inPosition)
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

Friends

class SpeexEncodeInputPin

Constructor & Destructor Documentation

SpeexEncodeOutputPin::SpeexEncodeOutputPin SpeexEncodeFilter inParentFilter,
CCritSec *  inFilterLock,
vector< CMediaType * >  inAcceptableMediaTypes
 

Definition at line 35 of file SpeexEncodeOutputPin.cpp.

SpeexEncodeOutputPin::~SpeexEncodeOutputPin void   )  [virtual]
 

Definition at line 40 of file SpeexEncodeOutputPin.cpp.


Member Function Documentation

HRESULT AbstractTransformOutputPin::BreakConnect void   )  [virtual, inherited]
 

Definition at line 221 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::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, inherited]
 

Definition at line 124 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mAcceptableMediaTypes.

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

Definition at line 199 of file AbstractTransformOutputPin.cpp.

References FALSE, AbstractTransformOutputPin::mActualBufferCount, AbstractTransformOutputPin::mDataQueue, AbstractTransformFilter::mInputPin, AbstractTransformOutputPin::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.

HRESULT SpeexEncodeOutputPin::CreateAndFillFormatBuffer CMediaType *  outMediaType,
int  inPosition
[protected, virtual]
 

Implements AbstractTransformOutputPin.

Definition at line 44 of file SpeexEncodeOutputPin.cpp.

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

Definition at line 74 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mActualBufferCount, and AbstractTransformOutputPin::mActualBufferSize.

HRESULT AbstractTransformOutputPin::DeliverBeginFlush void   )  [virtual, inherited]
 

Definition at line 191 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mDataQueue.

Referenced by AbstractTransformInputPin::BeginFlush().

HRESULT AbstractTransformOutputPin::DeliverEndFlush void   )  [virtual, inherited]
 

Definition at line 183 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mDataQueue.

Referenced by AbstractTransformInputPin::EndFlush().

HRESULT AbstractTransformOutputPin::DeliverEndOfStream void   )  [virtual, inherited]
 

Definition at line 176 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mDataQueue.

Referenced by AbstractTransformInputPin::EndOfStream().

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

Definition at line 171 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::mDataQueue.

Referenced by AbstractTransformInputPin::NewSegment().

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

Definition at line 141 of file AbstractTransformOutputPin.cpp.

References FALSE, and AbstractTransformOutputPin::mAcceptableMediaTypes.

Referenced by AbstractTransformOutputPin::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, inherited]
 

Definition at line 156 of file AbstractTransformOutputPin.cpp.

References AbstractTransformOutputPin::CreateAndFillFormatBuffer(), AbstractTransformOutputPin::FillMediaType(), and AbstractTransformOutputPin::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
[inherited]
 

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 AbstractTransformOutputPin::BreakConnect(), AbstractTransformInputPin::BreakConnect(), OggMuxInputPin::BreakConnect(), TheoraDecodeOutputPin::BreakConnect(), TheoraDecodeInputPin::BreakConnect(), and AbstractTransformOutputPin::~AbstractTransformOutputPin().

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

Definition at line 83 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

Referenced by AnxMuxFilter::AnxMuxFilter(), AbstractTransformOutputPin::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.


Friends And Related Function Documentation

friend class SpeexEncodeInputPin [friend]
 

Definition at line 50 of file SpeexEncodeOutputPin.h.


Member Data Documentation

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

Definition at line 85 of file AbstractTransformOutputPin.h.

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

int AbstractTransformOutputPin::mActualBufferCount [protected, inherited]
 

Definition at line 93 of file AbstractTransformOutputPin.h.

Referenced by AbstractTransformOutputPin::CompleteConnect(), and AbstractTransformOutputPin::DecideBufferSize().

int AbstractTransformOutputPin::mActualBufferSize [protected, inherited]
 

Definition at line 92 of file AbstractTransformOutputPin.h.

Referenced by AbstractTransformOutputPin::DecideBufferSize().

COutputQueue* AbstractTransformOutputPin::mDataQueue [protected, inherited]
 

Definition at line 84 of file AbstractTransformOutputPin.h.

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

int AbstractTransformOutputPin::mDesiredBufferCount [protected, inherited]
 

Definition at line 91 of file AbstractTransformOutputPin.h.

int AbstractTransformOutputPin::mDesiredBufferSize [protected, inherited]
 

Definition at line 90 of file AbstractTransformOutputPin.h.

HRESULT AbstractTransformOutputPin::mHR [protected, inherited]
 

Reimplemented from BasicSeekPassThrough.

Definition at line 87 of file AbstractTransformOutputPin.h.

AbstractTransformFilter* AbstractTransformOutputPin::mParentFilter [protected, inherited]
 

Definition at line 83 of file AbstractTransformOutputPin.h.

Referenced by AbstractTransformOutputPin::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:04:56 2005 for oggdsf by  doxygen 1.3.9