CMMLRawSourcePin Class Reference

#include <CMMLRawSourcePin.h>

Collaboration diagram for CMMLRawSourcePin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
 CMMLRawSourcePin (CMMLRawSourceFilter *inParentFilter, CCritSec *inFilterLock)
virtual ~CMMLRawSourcePin (void)
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
virtual HRESULT DecideBufferSize (IMemAllocator *inoutAllocator, ALLOCATOR_PROPERTIES *inoutInputRequest)
virtual HRESULT CompleteConnect (IPin *inReceivePin)
virtual HRESULT BreakConnect (void)
virtual HRESULT DeliverNewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
virtual HRESULT DeliverEndOfStream (void)
virtual HRESULT DeliverEndFlush (void)
virtual HRESULT DeliverBeginFlush (void)
virtual HRESULT deliverTag (C_CMMLTag *inTag)

Static Public Attributes

const unsigned short ANX_VERSION_MAJOR = 2
const unsigned short ANX_VERSION_MINOR = 0
const unsigned long BUFFER_SIZE = 65536
const unsigned long NUM_BUFFERS = 10

Protected Attributes

fstream debugLog
HRESULT mFilterHR
COutputQueue * mDataQueue
sCMMLFormatBlock mCMMLFormatBlock
__int64 mLastTime

Constructor & Destructor Documentation

CMMLRawSourcePin::CMMLRawSourcePin CMMLRawSourceFilter inParentFilter,
CCritSec *  inFilterLock
 

Definition at line 4 of file CMMLRawSourcePin.cpp.

References debugLog, sCMMLFormatBlock::granuleDenominator, sCMMLFormatBlock::granuleNumerator, and mCMMLFormatBlock.

CMMLRawSourcePin::~CMMLRawSourcePin void   )  [virtual]
 

Definition at line 18 of file CMMLRawSourcePin.cpp.

References debugLog.


Member Function Documentation

HRESULT CMMLRawSourcePin::BreakConnect void   )  [virtual]
 

Definition at line 73 of file CMMLRawSourcePin.cpp.

References mDataQueue.

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

Definition at line 104 of file CMMLRawSourcePin.cpp.

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

Definition at line 57 of file CMMLRawSourcePin.cpp.

References FALSE, mDataQueue, mFilterHR, NUM_BUFFERS, and TRUE.

HRESULT CMMLRawSourcePin::DecideBufferSize IMemAllocator *  inoutAllocator,
ALLOCATOR_PROPERTIES *  inoutInputRequest
[virtual]
 

Definition at line 111 of file CMMLRawSourcePin.cpp.

HRESULT CMMLRawSourcePin::DeliverBeginFlush void   )  [virtual]
 

Definition at line 50 of file CMMLRawSourcePin.cpp.

References mDataQueue.

Referenced by CMMLRawSourceFilter::Stop().

HRESULT CMMLRawSourcePin::DeliverEndFlush void   )  [virtual]
 

Definition at line 43 of file CMMLRawSourcePin.cpp.

References mDataQueue.

Referenced by CMMLRawSourceFilter::Stop().

HRESULT CMMLRawSourcePin::DeliverEndOfStream void   )  [virtual]
 

Definition at line 36 of file CMMLRawSourcePin.cpp.

References mDataQueue.

Referenced by CMMLRawSourceFilter::DataProcessLoop().

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

Definition at line 29 of file CMMLRawSourcePin.cpp.

References mDataQueue.

HRESULT CMMLRawSourcePin::deliverTag C_CMMLTag inTag  )  [virtual]
 

Definition at line 137 of file CMMLRawSourcePin.cpp.

References ANX_VERSION_MAJOR, ANX_VERSION_MINOR, debugLog, FALSE, mLastTime, C_TimeStamp::parseTimeStamp(), C_ClipTag::start(), C_CMMLTag::tagType(), C_TimeStamp::toHunNanos(), StringHelper::toNarrowStr(), C_CMMLTag::toString(), and TRUE.

Referenced by CMMLRawSourceFilter::DataProcessLoop().

Here is the call graph for this function:

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

Definition at line 81 of file CMMLRawSourcePin.cpp.

References mCMMLFormatBlock.

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

Definition at line 23 of file CMMLRawSourcePin.cpp.


Member Data Documentation

const unsigned short CMMLRawSourcePin::ANX_VERSION_MAJOR = 2 [static]
 

Definition at line 47 of file CMMLRawSourcePin.h.

Referenced by deliverTag().

const unsigned short CMMLRawSourcePin::ANX_VERSION_MINOR = 0 [static]
 

Definition at line 48 of file CMMLRawSourcePin.h.

Referenced by deliverTag().

const unsigned long CMMLRawSourcePin::BUFFER_SIZE = 65536 [static]
 

Definition at line 57 of file CMMLRawSourcePin.h.

fstream CMMLRawSourcePin::debugLog [protected]
 

Definition at line 76 of file CMMLRawSourcePin.h.

Referenced by CMMLRawSourcePin(), deliverTag(), and ~CMMLRawSourcePin().

sCMMLFormatBlock CMMLRawSourcePin::mCMMLFormatBlock [protected]
 

Definition at line 79 of file CMMLRawSourcePin.h.

Referenced by CMMLRawSourcePin(), and GetMediaType().

COutputQueue* CMMLRawSourcePin::mDataQueue [protected]
 

Definition at line 78 of file CMMLRawSourcePin.h.

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

HRESULT CMMLRawSourcePin::mFilterHR [protected]
 

Definition at line 77 of file CMMLRawSourcePin.h.

Referenced by CompleteConnect().

__int64 CMMLRawSourcePin::mLastTime [protected]
 

Definition at line 80 of file CMMLRawSourcePin.h.

Referenced by deliverTag().

const unsigned long CMMLRawSourcePin::NUM_BUFFERS = 10 [static]
 

Definition at line 58 of file CMMLRawSourcePin.h.

Referenced by CompleteConnect().


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