AbstractVideoDecodeOutputPin Class Reference

#include <AbstractVideoDecodeOutputPin.h>

Inheritance diagram for AbstractVideoDecodeOutputPin:

Inheritance graph
[legend]
Collaboration diagram for AbstractVideoDecodeOutputPin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 AbstractVideoDecodeOutputPin (AbstractVideoDecodeFilter *inParentFilter, CCritSec *inFilterLock, CHAR *inObjectName, LPCWSTR inPinDisplayName)
virtual ~AbstractVideoDecodeOutputPin (void)
virtual HRESULT DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inReqAllocProps)
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
virtual bool FillVideoInfoHeader (VIDEOINFOHEADER *inFormatBuffer)=0
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
virtual HRESULT InitAllocator (IMemAllocator **ppAlloc)
virtual HRESULT SetMediaType (const CMediaType *pmt)
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
AbstractVideoDecodeFiltermParentFilter
IMediaSeeking * mSeekDelegate
DWORD mSeekingCap

Static Protected Attributes

const int BUFF_SIZE = 65536
const int BUFF_COUNT = 5

Friends

class AbstractVideoDecodeInputPin

Constructor & Destructor Documentation

AbstractVideoDecodeOutputPin::AbstractVideoDecodeOutputPin AbstractVideoDecodeFilter inParentFilter,
CCritSec *  inFilterLock,
CHAR *  inObjectName,
LPCWSTR  inPinDisplayName
 

Definition at line 35 of file AbstractVideoDecodeOutputPin.cpp.

AbstractVideoDecodeOutputPin::~AbstractVideoDecodeOutputPin void   )  [virtual]
 

Definition at line 42 of file AbstractVideoDecodeOutputPin.cpp.

References mDataQueue.


Member Function Documentation

HRESULT AbstractVideoDecodeOutputPin::BreakConnect void   )  [virtual]
 

Definition at line 310 of file AbstractVideoDecodeOutputPin.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 AbstractVideoDecodeOutputPin::CheckMediaType const CMediaType *  inMediaType  )  [virtual]
 

Definition at line 196 of file AbstractVideoDecodeOutputPin.cpp.

References AbstractVideoDecodeInputPin::mFrameSize, AbstractVideoDecodeInputPin::mHeight, AbstractVideoDecodeFilter::mInputPin, mParentFilter, and AbstractVideoDecodeInputPin::mWidth.

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

Definition at line 287 of file AbstractVideoDecodeOutputPin.cpp.

References FALSE, mDataQueue, AbstractVideoDecodeFilter::mInputPin, mParentFilter, AbstractVideoDecodeInputPin::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 AbstractVideoDecodeOutputPin::DecideBufferSize IMemAllocator *  inAllocator,
ALLOCATOR_PROPERTIES *  inReqAllocProps
[virtual]
 

Definition at line 60 of file AbstractVideoDecodeOutputPin.cpp.

HRESULT AbstractVideoDecodeOutputPin::DeliverBeginFlush void   )  [virtual]
 

Definition at line 279 of file AbstractVideoDecodeOutputPin.cpp.

References AbstractVideoDecodeInputPin::BeginFlush(), and mDataQueue.

Referenced by AbstractVideoDecodeInputPin::BeginFlush().

Here is the call graph for this function:

HRESULT AbstractVideoDecodeOutputPin::DeliverEndFlush void   )  [virtual]
 

Definition at line 272 of file AbstractVideoDecodeOutputPin.cpp.

References AbstractVideoDecodeInputPin::EndFlush(), and mDataQueue.

Referenced by AbstractVideoDecodeInputPin::EndFlush().

Here is the call graph for this function:

HRESULT AbstractVideoDecodeOutputPin::DeliverEndOfStream void   )  [virtual]
 

Definition at line 264 of file AbstractVideoDecodeOutputPin.cpp.

References mDataQueue.

Referenced by AbstractVideoDecodeInputPin::EndOfStream().

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

Definition at line 254 of file AbstractVideoDecodeOutputPin.cpp.

References mDataQueue, and AbstractVideoDecodeInputPin::NewSegment().

Referenced by AbstractVideoDecodeInputPin::NewSegment().

Here is the call graph for this function:

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

Definition at line 224 of file AbstractVideoDecodeOutputPin.cpp.

References FALSE.

Referenced by GetMediaType().

virtual bool AbstractVideoDecodeOutputPin::FillVideoInfoHeader VIDEOINFOHEADER *  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 AbstractVideoDecodeOutputPin::GetMediaType int  inPosition,
CMediaType *  outMediaType
[virtual]
 

Definition at line 232 of file AbstractVideoDecodeOutputPin.cpp.

References FillMediaType(), and FillVideoInfoHeader().

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.

HRESULT AbstractVideoDecodeOutputPin::InitAllocator IMemAllocator **  ppAlloc  )  [virtual]
 

Definition at line 322 of file AbstractVideoDecodeOutputPin.cpp.

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 AbstractVideoDecodeOutputPin::NonDelegatingQueryInterface REFIID  riid,
void **  ppv
 

Definition at line 50 of file AbstractVideoDecodeOutputPin.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 BreakConnect(), AbstractVideoDecodeInputPin::BreakConnect(), AbstractAudioDecodeOutputPin::BreakConnect(), AbstractAudioDecodeInputPin::BreakConnect(), and AbstractAudioDecodeOutputPin::~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(), CompleteConnect(), AbstractVideoDecodeInputPin::CompleteConnect(), AbstractAudioEncodeInputPin::CompleteConnect(), AbstractAudioDecodeOutputPin::CompleteConnect(), and AbstractAudioDecodeInputPin::CompleteConnect().

HRESULT AbstractVideoDecodeOutputPin::SetMediaType const CMediaType *  pmt  )  [virtual]
 

Definition at line 329 of file AbstractVideoDecodeOutputPin.cpp.

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.


Friends And Related Function Documentation

friend class AbstractVideoDecodeInputPin [friend]
 

Definition at line 47 of file AbstractVideoDecodeOutputPin.h.


Member Data Documentation

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

Definition at line 86 of file AbstractVideoDecodeOutputPin.h.

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

Definition at line 85 of file AbstractVideoDecodeOutputPin.h.

COutputQueue* AbstractVideoDecodeOutputPin::mDataQueue
 

Definition at line 75 of file AbstractVideoDecodeOutputPin.h.

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

HRESULT AbstractVideoDecodeOutputPin::mHR [protected]
 

Reimplemented from BasicSeekable.

Definition at line 77 of file AbstractVideoDecodeOutputPin.h.

AbstractVideoDecodeFilter* AbstractVideoDecodeOutputPin::mParentFilter [protected]
 

Definition at line 78 of file AbstractVideoDecodeOutputPin.h.

Referenced by CheckMediaType(), and 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:01:07 2005 for oggdsf by  doxygen 1.3.9