AnxMuxInputPin Class Reference

#include <AnxMuxInputPin.h>

Inheritance diagram for AnxMuxInputPin:

Inheritance graph
[legend]
Collaboration diagram for AnxMuxInputPin:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AnxMuxInputPin (AnxMuxFilter *inOwningFilter, CCritSec *inFilterLock, HRESULT *inHR, OggMuxStream *inMuxStream, unsigned long inAnxVersionMajor, unsigned long inAnxVersionMinor)
 ~AnxMuxInputPin (void)
virtual HRESULT CompleteConnect (IPin *inReceivePin)
 Notification that the output pin of an upstream filter has connected.
virtual HRESULT SetMediaType (const CMediaType *inMediaType)
 Notification that this media type has been selected for the connection.
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, void **ppv)
virtual HRESULT GetMediaType (int inPosition, CMediaType *outMediaType)
 Gets an indexed media type, that this pin will accept.
virtual HRESULT CheckMediaType (const CMediaType *inMediaType)
 Checks whether this pin will accepted the proposed media type.
STDMETHODIMP Receive (IMediaSample *inSample)
 Receives a sample from an upstream filter.
virtual STDMETHODIMP EndOfStream ()
 Notification that the stream has ended.
virtual HRESULT BreakConnect ()
 Notification the output pin of an upstream filter has been disconnected.
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 Attributes

fstream debugLog
StampedOggPacketmAnxDataPacket
StampedOggPacketmFishBonePacket
vector< StampedOggPacket * > mExtraPackets
unsigned long mAnxVersionMajor
unsigned long mAnxVersionMinor
OggMuxFiltermParentFilter
bool mNeedsFLACHeaderTweak
bool mNeedsFLACHeaderCount
OggPaginator mPaginator
OggMuxStreammMuxStream
IMediaSeeking * mSeekDelegate
HRESULT mHR
DWORD mSeekingCap

Friends

class AnxPageInterleaver

Constructor & Destructor Documentation

AnxMuxInputPin::AnxMuxInputPin AnxMuxFilter inOwningFilter,
CCritSec *  inFilterLock,
HRESULT *  inHR,
OggMuxStream inMuxStream,
unsigned long  inAnxVersionMajor,
unsigned long  inAnxVersionMinor
 

Definition at line 37 of file AnxMuxInputPin.cpp.

References debugLog, and mExtraPackets.

AnxMuxInputPin::~AnxMuxInputPin void   ) 
 

Definition at line 51 of file AnxMuxInputPin.cpp.


Member Function Documentation

HRESULT OggMuxInputPin::BreakConnect  )  [virtual, inherited]
 

Notification the output pin of an upstream filter has been disconnected.

Definition at line 301 of file OggMuxInputPin.cpp.

References 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 OggMuxInputPin::CheckMediaType const CMediaType *  inMediaType  )  [virtual, inherited]
 

Checks whether this pin will accepted the proposed media type.

Definition at line 175 of file OggMuxInputPin.cpp.

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

Notification that the output pin of an upstream filter has connected.

Reimplemented from OggMuxInputPin.

Definition at line 56 of file AnxMuxInputPin.cpp.

References OggPaginator::acceptStampedOggPacket(), OggMuxFilter::addAnotherPin(), mAnxDataPacket, mAnxVersionMajor, mAnxVersionMinor, mExtraPackets, mFishBonePacket, BasicSeekPassThrough::SetDelegate(), and OggMuxStream::setIsActive().

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.

STDMETHODIMP OggMuxInputPin::EndOfStream  )  [virtual, inherited]
 

Notification that the stream has ended.

Definition at line 312 of file OggMuxInputPin.cpp.

References OggPaginator::finishStream(), OggMuxInputPin::mMuxStream, OggMuxInputPin::mPaginator, OggMuxInputPin::mParentFilter, OggMuxFilter::mStreamLock, and OggMuxStream::setIsEOS().

Here is the call graph for this function:

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 OggMuxInputPin::GetMediaType int  inPosition,
CMediaType *  outMediaType
[virtual, inherited]
 

Gets an indexed media type, that this pin will accept.

Definition at line 141 of file OggMuxInputPin.cpp.

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 OggMuxInputPin::NonDelegatingQueryInterface REFIID  riid,
void **  ppv
[inherited]
 

Definition at line 72 of file OggMuxInputPin.cpp.

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

Reimplemented in OggDemuxSourceFilter.

Definition at line 171 of file BasicSeekPassThrough.cpp.

References BasicSeekPassThrough::mSeekDelegate.

STDMETHODIMP OggMuxInputPin::Receive IMediaSample *  inSample  )  [inherited]
 

Receives a sample from an upstream filter.

Definition at line 207 of file OggMuxInputPin.cpp.

References OggPaginator::acceptStampedOggPacket(), StampedOggPacket::clone(), FLACMetadataSplitter::getHeader(), FLACMetadataSplitter::loadMetadata(), OggMuxInputPin::mNeedsFLACHeaderCount, OggMuxInputPin::mNeedsFLACHeaderTweak, OggMuxInputPin::mPaginator, OggMuxInputPin::mParentFilter, OggMuxFilter::mStreamLock, FLACMetadataSplitter::numHeaders(), OggPacket::packetData(), and OggPaginator::setNumHeaders().

Here is the call graph for this function:

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(), CompleteConnect(), TheoraDecodeOutputPin::CompleteConnect(), TheoraDecodeInputPin::CompleteConnect(), NativeFLACSourcePin::NativeFLACSourcePin(), OggDemuxSourcePin::OggDemuxSourcePin(), OggMuxFilter::OggMuxFilter(), NativeFLACSourcePin::~NativeFLACSourcePin(), and OggMuxFilter::~OggMuxFilter().

HRESULT AnxMuxInputPin::SetMediaType const CMediaType *  inMediaType  )  [virtual]
 

Notification that this media type has been selected for the connection.

Reimplemented from OggMuxInputPin.

Definition at line 89 of file AnxMuxInputPin.cpp.

References sTheoraFormatBlock::frameRateDenominator, sTheoraFormatBlock::frameRateNumerator, sCMMLFormatBlock::granuleDenominator, sCMMLFormatBlock::granuleNumerator, AnxPacketMaker::makeAnxData_2_0(), FishSkeleton::makeFishBone_3_0(), AnxPacketMaker::makeMessageHeaders(), mAnxDataPacket, mAnxVersionMajor, mAnxVersionMinor, sTheoraFormatBlock::maxKeyframeInterval, mExtraPackets, mFishBonePacket, OggPaginatorSettings::mMaxPacksPerPage, OggPaginatorSettings::mSerialNo, OggPaginator::parameters(), sSpeexFormatBlock::samplesPerSec, sVorbisFormatBlock::samplesPerSec, OggMuxStream::setConversionParams(), OggPaginator::setNumHeaders(), and OggMuxStream::setNumHeaders().

Here is the call graph for this function:

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 AnxPageInterleaver [friend]
 

Definition at line 57 of file AnxMuxInputPin.h.


Member Data Documentation

fstream AnxMuxInputPin::debugLog [protected]
 

Definition at line 59 of file AnxMuxInputPin.h.

Referenced by AnxMuxInputPin().

StampedOggPacket* AnxMuxInputPin::mAnxDataPacket [protected]
 

Definition at line 61 of file AnxMuxInputPin.h.

Referenced by CompleteConnect(), and SetMediaType().

unsigned long AnxMuxInputPin::mAnxVersionMajor [protected]
 

Definition at line 65 of file AnxMuxInputPin.h.

Referenced by CompleteConnect(), and SetMediaType().

unsigned long AnxMuxInputPin::mAnxVersionMinor [protected]
 

Definition at line 66 of file AnxMuxInputPin.h.

Referenced by CompleteConnect(), and SetMediaType().

vector<StampedOggPacket*> AnxMuxInputPin::mExtraPackets [protected]
 

Definition at line 63 of file AnxMuxInputPin.h.

Referenced by AnxMuxInputPin(), CompleteConnect(), and SetMediaType().

StampedOggPacket* AnxMuxInputPin::mFishBonePacket [protected]
 

Definition at line 62 of file AnxMuxInputPin.h.

Referenced by CompleteConnect(), AnxPageInterleaver::letsGetFishy(), and SetMediaType().

HRESULT BasicSeekPassThrough::mHR [protected, inherited]
 

Reimplemented in FLACEncodeInputPin, SpeexEncodeInputPin, TheoraEncodeInputPin, VorbisDecodeInputPin, VorbisEncodeInputPin, OggMuxFilter, AbstractTransformInputPin, and AbstractTransformOutputPin.

Definition at line 76 of file BasicSeekPassThrough.h.

OggMuxStream* OggMuxInputPin::mMuxStream [protected, inherited]
 

Definition at line 88 of file OggMuxInputPin.h.

Referenced by OggMuxInputPin::CompleteConnect(), OggMuxInputPin::EndOfStream(), OggMuxInputPin::OggMuxInputPin(), and OggMuxInputPin::SetMediaType().

bool OggMuxInputPin::mNeedsFLACHeaderCount [protected, inherited]
 

Definition at line 85 of file OggMuxInputPin.h.

Referenced by OggMuxInputPin::Receive(), and OggMuxInputPin::SetMediaType().

bool OggMuxInputPin::mNeedsFLACHeaderTweak [protected, inherited]
 

Definition at line 84 of file OggMuxInputPin.h.

Referenced by OggMuxInputPin::Receive(), and OggMuxInputPin::SetMediaType().

OggPaginator OggMuxInputPin::mPaginator [protected, inherited]
 

Definition at line 87 of file OggMuxInputPin.h.

Referenced by OggMuxInputPin::EndOfStream(), OggMuxInputPin::OggMuxInputPin(), OggMuxInputPin::Receive(), and OggMuxInputPin::SetMediaType().

OggMuxFilter* OggMuxInputPin::mParentFilter [protected, inherited]
 

Definition at line 82 of file OggMuxInputPin.h.

Referenced by OggMuxInputPin::CompleteConnect(), OggMuxInputPin::EndOfStream(), and OggMuxInputPin::Receive().

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:27 2005 for oggdsf by  doxygen 1.3.9