#include <AnxMuxFilter.h>
Inheritance diagram for AnxMuxFilter:
Public Types | |
enum | eAnxMuxState { ANX_START_STATE = 0, WRITTEN_ANNODEX_BOS = 1, WRITTEN_A_CMML_ANXDATA = 2, WRITTEN_A_CODEC_ANXDATA = 3, WRITTEN_ANNODEX_EOS = 4, PROCEED_AS_OGG = 5 } |
Public Member Functions | |
AnxMuxFilter (void) | |
virtual | ~AnxMuxFilter (void) |
DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
virtual HRESULT | addAnotherPin () |
ULONG STDMETHODCALLTYPE | GetMiscFlags (void) |
Allows the filter to return a flag to tell the graph it's a renderer. | |
virtual bool | acceptOggPage (OggPage *inOggPage) |
Takes an incoming page, usually from the interleaver. | |
STDMETHODIMP | SetFileName (LPCOLESTR inFileName, const AM_MEDIA_TYPE *inMediaType) |
Sets the filename to be used to output to. | |
STDMETHODIMP | GetCurFile (LPOLESTR *outFileName, AM_MEDIA_TYPE *outMediaType) |
Gets the output filename this filter is currently using. | |
virtual int | GetPinCount () |
Returns the number of pins this filter has. | |
virtual CBasePin * | GetPin (int inPinNo) |
Returns the indexed pin or NULL. | |
STDMETHODIMP | Run (REFERENCE_TIME tStart) |
Called when the graph starts playing. | |
STDMETHODIMP | Pause (void) |
Called when the graph pauses. | |
STDMETHODIMP | Stop (void) |
Called when the graph stops. | |
virtual | STDMETHODIMP_ (LONGLONG) getProgressTime() |
Returns the time in 100 nanosecond units of the last page that was written. | |
virtual | STDMETHODIMP_ (LONGLONG) getBytesWritten() |
Returns the number of bytes written so far. | |
virtual void | NotifyComplete () |
Implement this to be notified when "something" completes. | |
virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
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 | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
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) |
Static Public Member Functions | |
CUnknown *WINAPI | CreateInstance (LPUNKNOWN pUnk, HRESULT *pHr) |
Protected Member Functions | |
bool | SetupOutput () |
bool | CloseOutput () |
Protected Attributes | |
eAnxMuxState | mAnxMuxState |
unsigned long | mAnxVersionMajor |
unsigned long | mAnxVersionMinor |
wstring | mFileName |
vector< OggMuxInputPin * > | mInputPins |
OggPageInterleaver * | mInterleaver |
CCritSec * | mStreamLock |
fstream | mOutputFile |
fstream | debugLog |
HRESULT | mHR |
IMediaSeeking * | mSeekDelegate |
DWORD | mSeekingCap |
Friends | |
class | OggMuxInputPin |
|
Definition at line 51 of file AnxMuxFilter.h. |
|
Definition at line 71 of file AnxMuxFilter.cpp. References mAnxVersionMajor, mAnxVersionMinor, OggPageInterleaver::newStream(), and BasicSeekPassThrough::SetDelegate(). Referenced by CreateInstance(). |
Here is the call graph for this function:
|
Definition at line 93 of file AnxMuxFilter.cpp. |
|
Takes an incoming page, usually from the interleaver.
Implements IOggCallback. Definition at line 223 of file OggMuxFilter.cpp. References OggPage::createRawPageData(), OggMuxFilter::mOutputFile, and OggPage::pageSize(). |
Here is the call graph for this function:
|
Reimplemented from OggMuxFilter. Definition at line 97 of file AnxMuxFilter.cpp. References OggPageInterleaver::newStream(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 125 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 236 of file OggMuxFilter.cpp. References OggMuxFilter::mOutputFile. Referenced by OggMuxFilter::Stop(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented from OggMuxFilter. Definition at line 63 of file AnxMuxFilter.cpp. References AnxMuxFilter(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 285 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 97 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Gets the output filename this filter is currently using.
Definition at line 213 of file OggMuxFilter.cpp. References OggMuxFilter::mFileName, and outFileName. |
|
Reimplemented from BasicSeekPassThrough. Definition at line 407 of file OggMuxFilter.cpp. References OggMuxFilter::debugLog, OggMuxFilter::mInterleaver, and OggPageInterleaver::progressTime(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 211 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Allows the filter to return a flag to tell the graph it's a renderer.
Definition at line 112 of file OggMuxFilter.cpp. References OggMuxFilter::debugLog. |
|
Returns the indexed pin or NULL.
Definition at line 265 of file OggMuxFilter.cpp. References OggMuxFilter::mInputPins. Referenced by AnxPageInterleaver::letsGetFishy(). |
|
Returns the number of pins this filter has.
Definition at line 261 of file OggMuxFilter.cpp. References OggMuxFilter::mInputPins. Referenced by AnxPageInterleaver::letsGetFishy(). |
|
Reimplemented from BasicSeekPassThrough. Definition at line 399 of file OggMuxFilter.cpp. References OggMuxFilter::debugLog, BasicSeekPassThrough::GetPositions(), OggMuxFilter::mInterleaver, and OggPageInterleaver::progressTime(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 316 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 306 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 223 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 201 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 150 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 326 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented from OggMuxFilter. Definition at line 57 of file AnxMuxFilter.cpp. References OggMuxFilter::NonDelegatingQueryInterface(). |
Here is the call graph for this function:
|
Implement this to be notified when "something" completes.
Implements INotifyComplete. Definition at line 64 of file OggMuxFilter.cpp. |
|
Called when the graph pauses.
Definition at line 374 of file OggMuxFilter.cpp. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 171 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
|
Called when the graph starts playing.
Definition at line 366 of file OggMuxFilter.cpp. |
|
|
Sets the filename to be used to output to.
Definition at line 206 of file OggMuxFilter.cpp. References OggMuxFilter::mFileName, and OggMuxFilter::SetupOutput(). |
Here is the call graph for this function:
|
Reimplemented in OggDemuxSourceFilter. Definition at line 257 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 295 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 189 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Definition at line 232 of file OggMuxFilter.cpp. References OggMuxFilter::mFileName, and OggMuxFilter::mOutputFile. Referenced by OggMuxFilter::SetFileName(). |
|
Returns the number of bytes written so far.
|
|
Returns the time in 100 nanosecond units of the last page that was written.
|
|
Called when the graph stops.
Definition at line 388 of file OggMuxFilter.cpp. References OggMuxFilter::CloseOutput(). |
Here is the call graph for this function:
|
Definition at line 63 of file OggMuxFilter.h. Referenced by OggMuxFilter::addAnotherPin(), and OggMuxFilter::OggMuxFilter(). |
|
Definition at line 147 of file OggMuxFilter.h. Referenced by OggMuxFilter::GetCurrentPosition(), OggMuxFilter::GetMiscFlags(), OggMuxFilter::GetPositions(), OggMuxFilter::NonDelegatingQueryInterface(), and OggMuxFilter::OggMuxFilter(). |
|
Definition at line 64 of file AnxMuxFilter.h. |
|
Definition at line 66 of file AnxMuxFilter.h. Referenced by AnxMuxFilter(). |
|
Definition at line 67 of file AnxMuxFilter.h. Referenced by AnxMuxFilter(). |
|
Definition at line 139 of file OggMuxFilter.h. Referenced by OggMuxFilter::GetCurFile(), OggMuxFilter::SetFileName(), and OggMuxFilter::SetupOutput(). |
|
Reimplemented from BasicSeekPassThrough. Definition at line 148 of file OggMuxFilter.h. Referenced by OggMuxFilter::addAnotherPin(), and OggMuxFilter::OggMuxFilter(). |
|
Definition at line 140 of file OggMuxFilter.h. Referenced by OggMuxFilter::addAnotherPin(), OggMuxFilter::GetPin(), OggMuxFilter::GetPinCount(), OggMuxFilter::OggMuxFilter(), and OggMuxFilter::~OggMuxFilter(). |
|
Definition at line 142 of file OggMuxFilter.h. Referenced by OggMuxFilter::addAnotherPin(), OggMuxFilter::GetCurrentPosition(), OggMuxFilter::GetPositions(), and OggMuxFilter::OggMuxFilter(). |
|
Definition at line 146 of file OggMuxFilter.h. Referenced by OggMuxFilter::acceptOggPage(), OggMuxFilter::CloseOutput(), and OggMuxFilter::SetupOutput(). |
|
|
Definition at line 77 of file BasicSeekPassThrough.h. Referenced by BasicSeekPassThrough::BasicSeekPassThrough(). |
|
Definition at line 144 of file OggMuxFilter.h. Referenced by OggMuxInputPin::EndOfStream(), OggMuxFilter::OggMuxFilter(), and OggMuxInputPin::Receive(). |