#include <OggMuxFilter.h>
Inheritance diagram for OggMuxFilter:
Public Member Functions | |
OggMuxFilter (void) | |
OggMuxFilter (REFCLSID inFilterGUID) | |
virtual | ~OggMuxFilter (void) |
DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
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 HRESULT | addAnotherPin () |
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 | |
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 120 of file OggMuxFilter.cpp. References debugLog, mHR, mInputPins, mInterleaver, mStreamLock, OggPageInterleaver::newStream(), OggMuxInputPin, and BasicSeekPassThrough::SetDelegate(). Referenced by CreateInstance(). |
Here is the call graph for this function:
|
Definition at line 146 of file OggMuxFilter.cpp. References mStreamLock. |
|
Definition at line 171 of file OggMuxFilter.cpp. References mInputPins, and BasicSeekPassThrough::SetDelegate(). |
Here is the call graph for this function:
|
Takes an incoming page, usually from the interleaver.
Implements IOggCallback. Definition at line 223 of file OggMuxFilter.cpp. References OggPage::createRawPageData(), mOutputFile, and OggPage::pageSize(). |
Here is the call graph for this function:
|
Reimplemented in AnxMuxFilter. Definition at line 200 of file OggMuxFilter.cpp. References mHR, mInputPins, mInterleaver, OggPageInterleaver::newStream(), and OggMuxInputPin. Referenced by OggMuxInputPin::CompleteConnect(), and AnxMuxInputPin::CompleteConnect(). |
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 mOutputFile. Referenced by Stop(). |
|
Reimplemented in OggDemuxSourceFilter. Definition at line 246 of file BasicSeekPassThrough.cpp. References BasicSeekPassThrough::mSeekDelegate. |
|
Reimplemented in AnxMuxFilter. Definition at line 55 of file OggMuxFilter.cpp. References OggMuxFilter(). |
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 mFileName, and outFileName. |
|
Reimplemented from BasicSeekPassThrough. Definition at line 407 of file OggMuxFilter.cpp. References debugLog, 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 debugLog. |
|
Returns the indexed pin or NULL.
Definition at line 265 of file OggMuxFilter.cpp. References mInputPins. Referenced by AnxPageInterleaver::letsGetFishy(). |
|
Returns the number of pins this filter has.
Definition at line 261 of file OggMuxFilter.cpp. References mInputPins. Referenced by AnxPageInterleaver::letsGetFishy(). |
|
Reimplemented from BasicSeekPassThrough. Definition at line 399 of file OggMuxFilter.cpp. References debugLog, BasicSeekPassThrough::GetPositions(), 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 in AnxMuxFilter. Definition at line 69 of file OggMuxFilter.cpp. References debugLog. Referenced by AnxMuxFilter::NonDelegatingQueryInterface(). |
|
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 mFileName, and 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 mFileName, and mOutputFile. Referenced by 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 CloseOutput(). |
Here is the call graph for this function:
|
Definition at line 63 of file OggMuxFilter.h. Referenced by addAnotherPin(), and OggMuxFilter(). |
|
Definition at line 147 of file OggMuxFilter.h. Referenced by GetCurrentPosition(), GetMiscFlags(), GetPositions(), NonDelegatingQueryInterface(), and OggMuxFilter(). |
|
Definition at line 139 of file OggMuxFilter.h. Referenced by GetCurFile(), SetFileName(), and SetupOutput(). |
|
Reimplemented from BasicSeekPassThrough. Definition at line 148 of file OggMuxFilter.h. Referenced by addAnotherPin(), and OggMuxFilter(). |
|
Definition at line 140 of file OggMuxFilter.h. Referenced by addAnotherPin(), GetPin(), GetPinCount(), OggMuxFilter(), and ~OggMuxFilter(). |
|
Definition at line 142 of file OggMuxFilter.h. Referenced by addAnotherPin(), GetCurrentPosition(), GetPositions(), and OggMuxFilter(). |
|
Definition at line 146 of file OggMuxFilter.h. Referenced by acceptOggPage(), CloseOutput(), and 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(), and OggMuxInputPin::Receive(). |