OGMDecodeFilter Class Reference

#include <OGMDecodeFilter.h>

Collaboration diagram for OGMDecodeFilter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual HRESULT CheckInputType (const CMediaType *inMediaType)
virtual HRESULT CheckTransform (const CMediaType *inInputMediaType, const CMediaType *inOutputMediaType)
virtual HRESULT DecideBufferSize (IMemAllocator *inAllocator, ALLOCATOR_PROPERTIES *inPropInputRequest)
virtual HRESULT GetMediaType (int iPosition, CMediaType *outMediaType)
virtual CBasePin * GetPin (int inPinNo)
virtual HRESULT NewSegment (REFERENCE_TIME inStartTime, REFERENCE_TIME inStopTime, double inRate)
 OGMDecodeFilter (void)
virtual HRESULT Receive (IMediaSample *inSample)
virtual HRESULT Transform (IMediaSample *inInputSample, IMediaSample *inOutputSample)
virtual ~OGMDecodeFilter (void)

Static Public Member Functions

CUnknown *WINAPI CreateInstance (LPUNKNOWN pUnk, HRESULT *pHr)

Protected Member Functions

void deleteBufferedPackets ()

Protected Attributes

OGMDecodeInputPinmInputPin
unsigned long mOGMGranulesBuffered
CTransformOutputPin * mOutputPin
vector< sSimplePackmPacketBuffer
__int64 mSegEnd
double mSegRate
__int64 mSegStart

Constructor & Destructor Documentation

OGMDecodeFilter::OGMDecodeFilter void   ) 
 

Definition at line 53 of file OGMDecodeFilter.cpp.

Referenced by CreateInstance().

OGMDecodeFilter::~OGMDecodeFilter void   )  [virtual]
 

Definition at line 69 of file OGMDecodeFilter.cpp.


Member Function Documentation

HRESULT OGMDecodeFilter::CheckInputType const CMediaType *  inMediaType  )  [virtual]
 

Definition at line 84 of file OGMDecodeFilter.cpp.

References OGMDecodeInputPin::CheckMediaType(), and mInputPin.

Here is the call graph for this function:

HRESULT OGMDecodeFilter::CheckTransform const CMediaType *  inInputMediaType,
const CMediaType *  inOutputMediaType
[virtual]
 

Definition at line 88 of file OGMDecodeFilter.cpp.

CUnknown *WINAPI OGMDecodeFilter::CreateInstance LPUNKNOWN  pUnk,
HRESULT *  pHr
[static]
 

Definition at line 74 of file OGMDecodeFilter.cpp.

References OGMDecodeFilter().

Here is the call graph for this function:

HRESULT OGMDecodeFilter::DecideBufferSize IMemAllocator *  inAllocator,
ALLOCATOR_PROPERTIES *  inPropInputRequest
[virtual]
 

Definition at line 93 of file OGMDecodeFilter.cpp.

void OGMDecodeFilter::deleteBufferedPackets  )  [protected]
 

Definition at line 327 of file OGMDecodeFilter.cpp.

References mOGMGranulesBuffered, and mPacketBuffer.

Referenced by Receive().

HRESULT OGMDecodeFilter::GetMediaType int  iPosition,
CMediaType *  outMediaType
[virtual]
 

Definition at line 150 of file OGMDecodeFilter.cpp.

References OGMDecodeInputPin::getAudioFormatBlock(), OGMDecodeInputPin::getOGMMediaType(), OGMDecodeInputPin::getVideoFormatBlock(), and mInputPin.

Here is the call graph for this function:

CBasePin * OGMDecodeFilter::GetPin int  inPinNo  )  [virtual]
 

Definition at line 363 of file OGMDecodeFilter.cpp.

References mInputPin.

HRESULT OGMDecodeFilter::NewSegment REFERENCE_TIME  inStartTime,
REFERENCE_TIME  inStopTime,
double  inRate
[virtual]
 

Definition at line 143 of file OGMDecodeFilter.cpp.

References mSegEnd, mSegRate, and mSegStart.

HRESULT OGMDecodeFilter::Receive IMediaSample *  inSample  )  [virtual]
 

Definition at line 206 of file OGMDecodeFilter.cpp.

References OGMDecodeInputPin::convertGranuleToTime(), deleteBufferedPackets(), OGMDecodeFilter::sSimplePack::mBuff, OGMDecodeFilter::sSimplePack::mDuration, OGMDecodeFilter::sSimplePack::mHeaderSize, mInputPin, OGMDecodeFilter::sSimplePack::mIsKeyframe, OGMDecodeFilter::sSimplePack::mLength, mOGMGranulesBuffered, and mPacketBuffer.

Here is the call graph for this function:

HRESULT OGMDecodeFilter::Transform IMediaSample *  inInputSample,
IMediaSample *  inOutputSample
[virtual]
 

Definition at line 335 of file OGMDecodeFilter.cpp.


Member Data Documentation

OGMDecodeInputPin* OGMDecodeFilter::mInputPin [protected]
 

Definition at line 76 of file OGMDecodeFilter.h.

Referenced by CheckInputType(), GetMediaType(), GetPin(), and Receive().

unsigned long OGMDecodeFilter::mOGMGranulesBuffered [protected]
 

Definition at line 89 of file OGMDecodeFilter.h.

Referenced by deleteBufferedPackets(), and Receive().

CTransformOutputPin* OGMDecodeFilter::mOutputPin [protected]
 

Definition at line 77 of file OGMDecodeFilter.h.

vector<sSimplePack> OGMDecodeFilter::mPacketBuffer [protected]
 

Definition at line 95 of file OGMDecodeFilter.h.

Referenced by deleteBufferedPackets(), and Receive().

__int64 OGMDecodeFilter::mSegEnd [protected]
 

Definition at line 92 of file OGMDecodeFilter.h.

Referenced by NewSegment().

double OGMDecodeFilter::mSegRate [protected]
 

Definition at line 93 of file OGMDecodeFilter.h.

Referenced by NewSegment().

__int64 OGMDecodeFilter::mSegStart [protected]
 

Definition at line 91 of file OGMDecodeFilter.h.

Referenced by NewSegment().


The documentation for this class was generated from the following files:
Generated on Fri Feb 17 00:02:14 2006 for oggdsf by  doxygen 1.3.9