#include <OggDemuxSourceFilter.h>
Inheritance diagram for OggDemuxSourceFilter:


Public Types | |
| enum | eThreadCommands { THREAD_EXIT = 0, THREAD_PAUSE = 1, THREAD_RUN = 2 } |
Public Member Functions | |
| virtual bool | acceptOggPage (OggPage *inOggPage) |
| virtual STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
| virtual STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
| virtual STDMETHODIMP | get_AuthorName (BSTR *outAuthorName) |
| virtual STDMETHODIMP | get_BaseURL (BSTR *outBaseURL) |
| virtual STDMETHODIMP | get_Copyright (BSTR *outCopyright) |
| virtual STDMETHODIMP | get_Description (BSTR *outDescription) |
| virtual STDMETHODIMP | get_LogoIconURL (BSTR *outLogoIconURL) |
| virtual STDMETHODIMP | get_LogoURL (BSTR *outLogoURL) |
| virtual STDMETHODIMP | get_MoreInfoBannerImage (BSTR *outMoreInfoBannerImage) |
| virtual STDMETHODIMP | get_MoreInfoBannerURL (BSTR *outMoreInfoBannerURL) |
| virtual STDMETHODIMP | get_MoreInfoText (BSTR *outMoreInfoText) |
| virtual STDMETHODIMP | get_MoreInfoURL (BSTR *outMoreInfoURL) |
| virtual STDMETHODIMP | get_Rating (BSTR *outRating) |
| virtual STDMETHODIMP | get_Title (BSTR *outTitle) |
| virtual STDMETHODIMP | get_WatermarkURL (BSTR *outWatermarkURL) |
| virtual STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| virtual STDMETHODIMP | GetCapabilities (DWORD *inCapabilities) |
| virtual STDMETHODIMP | GetCurFile (LPOLESTR *outFileName, AM_MEDIA_TYPE *outMediaType) |
| virtual STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
| virtual STDMETHODIMP | GetDuration (LONGLONG *outDuration) |
| virtual STDMETHODIMP | GetIDsOfNames (REFIID riid, OLECHAR FAR *FAR *rgszNames, unsigned int cNames, LCID lcid, DISPID FAR *rgDispId) |
| ULONG STDMETHODCALLTYPE | GetMiscFlags (void) |
| virtual STDMETHODIMP | GetPages (CAUUID *outPropPages) |
| virtual CBasePin * | GetPin (int inPinNo) |
| virtual int | GetPinCount () |
| virtual STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
| virtual STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
| virtual STDMETHODIMP | GetRate (double *dRate) |
| virtual STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
| virtual STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
| virtual STDMETHODIMP | GetTypeInfo (unsigned int iTInfo, LCID lcid, ITypeInfo FAR *FAR *ppTInfo) |
| virtual STDMETHODIMP | GetTypeInfoCount (unsigned int FAR *pctinfo) |
| virtual STDMETHODIMP | Invoke (DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS FAR *pDispParams, VARIANT FAR *pVarResult, EXCEPINFO FAR *pExcepInfo, unsigned int FAR *puArgErr) |
| virtual STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
| virtual STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
| virtual STDMETHODIMP | Load (LPCOLESTR inFileName, const AM_MEDIA_TYPE *inMediaType) |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| OggDemuxSourceFilter (REFCLSID inFilterGUID) | |
| OggDemuxSourceFilter () | |
| STDMETHODIMP | Pause (void) |
| virtual STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| bool | ReleaseDelegate () |
| STDMETHODIMP | Run (REFERENCE_TIME tStart) |
| bool | SetDelegate (IMediaSeeking *inDelegate) |
| virtual STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD dwCurrentFlags, LONGLONG *pStop, DWORD dwStopFlags) |
| virtual STDMETHODIMP | SetRate (double dRate) |
| virtual STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
| STDMETHODIMP | Stop (void) |
| CCritSec * | theLock () |
| virtual DWORD | ThreadProc (void) |
| virtual | ~OggDemuxSourceFilter (void) |
Static Public Member Functions | |
| CUnknown *WINAPI | CreateInstance (LPUNKNOWN pUnk, HRESULT *pHr) |
Public Attributes | |
| REFERENCE_TIME | mSeekTimeBase |
| CCritSec * | mStreamLock |
Static Public Attributes | |
| const unsigned long | RAW_BUFFER_SIZE = 24 |
Protected Member Functions | |
| virtual HRESULT | DataProcessLoop () |
| void | DeliverBeginFlush () |
| void | DeliverEndFlush () |
| void | DeliverEOS () |
| void | DeliverNewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) |
| void | resetStream () |
| virtual HRESULT | SetUpPins () |
Protected Attributes | |
| fstream | debugLog |
| IFilterDataSource * | mDataSource |
| CCritSec * | mDemuxLock |
| wstring | mFileName |
| HRESULT | mHR |
| bool | mJustReset |
| OggDataBuffer | mOggBuffer |
| IMediaSeeking * | mSeekDelegate |
| DWORD | mSeekingCap |
| AutoOggSeekTable * | mSeekTable |
| bool | mSetIgnorePackets |
| CCritSec * | mSourceFileLock |
| OggStreamMapper * | mStreamMapper |
Friends | |
| class | OggStream |
|
|
Definition at line 69 of file OggDemuxSourceFilter.h. |
|
|
Definition at line 106 of file OggDemuxSourceFilter.cpp. References debugLog, mDemuxLock, mSourceFileLock, mStreamLock, mStreamMapper, and true. Referenced by CreateInstance(). |
|
|
Definition at line 128 of file OggDemuxSourceFilter.cpp. References debugLog, mDemuxLock, mSourceFileLock, mStreamLock, and true. |
|
|
Definition at line 149 of file OggDemuxSourceFilter.cpp. References IFilterDataSource::close(), debugLog, mDataSource, mSeekTable, and mStreamMapper. |
Here is the call graph for this function:

|
|
All callers to acceptOggPage give away their pointer to this function. All methods implementing this interface are responsible for deleting this page. All callers should NULL their pointer immediately after calling to avoid reusing them. Implements IOggCallback. Definition at line 675 of file OggDemuxSourceFilter.cpp. References OggStreamMapper::acceptOggPage(), and mStreamMapper. |
Here is the call graph for this function:

|
|
Reimplemented from BasicSeekPassThrough. Definition at line 258 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||||||||||
|
Reimplemented from BasicSeekPassThrough. Definition at line 307 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||
|
Reimplemented in AnxDemuxSourceFilter. Definition at line 64 of file OggDemuxSourceFilter.cpp. References OggDemuxSourceFilter(). |
Here is the call graph for this function:

|
|
Definition at line 555 of file OggDemuxSourceFilter.cpp. References DeliverEOS(), OggDataBuffer::feed(), IFilterDataSource::isEOF(), mDataSource, mDemuxLock, mJustReset, mOggBuffer, mSourceFileLock, and IFilterDataSource::read(). Referenced by ThreadProc(). |
Here is the call graph for this function:

|
|
Definition at line 498 of file OggDemuxSourceFilter.cpp. References debugLog, OggDemuxSourcePin::DeliverBeginFlush(), OggStreamMapper::getOggStream(), OggStream::getPin(), mStreamMapper, OggStreamMapper::numStreams(), and resetStream(). Referenced by SetPositions(), and Stop(). |
Here is the call graph for this function:

|
|
Definition at line 514 of file OggDemuxSourceFilter.cpp. References debugLog, OggDemuxSourcePin::DeliverEndFlush(), OggStream::flush(), OggStreamMapper::getOggStream(), OggStream::getPin(), mSetIgnorePackets, mStreamMapper, OggStreamMapper::numStreams(), and OggStreamMapper::toStartOfData(). Referenced by SetPositions(), and Stop(). |
Here is the call graph for this function:

|
|
Definition at line 534 of file OggDemuxSourceFilter.cpp. References debugLog, OggDemuxSourcePin::DeliverEndOfStream(), OggStreamMapper::getOggStream(), OggStream::getPin(), mStreamMapper, OggStreamMapper::numStreams(), resetStream(), and OggStreamMapper::toStartOfData(). Referenced by DataProcessLoop(). |
Here is the call graph for this function:

|
||||||||||||||||
|
Definition at line 547 of file OggDemuxSourceFilter.cpp. References debugLog, OggDemuxSourcePin::DeliverNewSegment(), OggStreamMapper::getOggStream(), OggStream::getPin(), mStreamMapper, and OggStreamMapper::numStreams(). Referenced by SetPositions(). |
Here is the call graph for this function:

|
|
Definition at line 729 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 745 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 742 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 739 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 751 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 748 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 760 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 763 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 766 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 757 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 736 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 732 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 754 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||
|
Reimplemented from BasicSeekPassThrough. Definition at line 376 of file OggDemuxSourceFilter.cpp. References OggSeekTable::enabled(), AutoOggSeekTable::fileDuration(), and mSeekTable. |
Here is the call graph for this function:

|
|
Reimplemented from BasicSeekPassThrough. Definition at line 234 of file OggDemuxSourceFilter.cpp. References OggSeekTable::enabled(), and mSeekTable. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 209 of file OggDemuxSourceFilter.cpp. References mFileName, and outFileName. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 300 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 246 of file OggDemuxSourceFilter.cpp. References OggSeekTable::enabled(), AutoOggSeekTable::fileDuration(), and mSeekTable. |
Here is the call graph for this function:

|
||||||||||||||||||||||||
|
Definition at line 775 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 184 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 189 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 422 of file OggDemuxSourceFilter.cpp. References OggStreamMapper::getOggStream(), OggStream::getPin(), mStreamMapper, and OggStreamMapper::numStreams(). |
Here is the call graph for this function:

|
|
Definition at line 418 of file OggDemuxSourceFilter.cpp. References mStreamMapper, and OggStreamMapper::numStreams(). |
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented from BasicSeekPassThrough. Definition at line 370 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 399 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 393 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 289 of file OggDemuxSourceFilter.cpp. References OggSeekTable::enabled(), AutoOggSeekTable::fileDuration(), and mSeekTable. |
Here is the call graph for this function:

|
|
Reimplemented from BasicSeekPassThrough. Definition at line 285 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||||||
|
Definition at line 782 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 771 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||||||||||||||||||||||||||
|
Definition at line 787 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 263 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 406 of file OggDemuxSourceFilter.cpp. |
|
||||||||||||
|
Reimplemented in AnxDemuxSourceFilter. Definition at line 219 of file OggDemuxSourceFilter.cpp. References AutoOggSeekTable::buildTable(), debugLog, mFileName, mSeekTable, SetUpPins(), and StringHelper::toNarrowStr(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 74 of file OggDemuxSourceFilter.cpp. |
|
|
Definition at line 691 of file OggDemuxSourceFilter.cpp. References debugLog, and THREAD_RUN. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 276 of file OggDemuxSourceFilter.cpp. |
|
|
Here is the call graph for this function:

|
|
Definition at line 681 of file OggDemuxSourceFilter.cpp. References debugLog. |
|
|
||||||||||||||||||||
Here is the call graph for this function:

|
|
Reimplemented from BasicSeekPassThrough. Definition at line 388 of file OggDemuxSourceFilter.cpp. |
|
|
Reimplemented from BasicSeekPassThrough. Definition at line 281 of file OggDemuxSourceFilter.cpp. |
|
Here is the call graph for this function:

|
|
Definition at line 709 of file OggDemuxSourceFilter.cpp. References debugLog, DeliverBeginFlush(), DeliverEndFlush(), mSetIgnorePackets, and THREAD_EXIT. |
Here is the call graph for this function:

|
|
|