#include <transfrm.h>

Public Member Functions | |
| CTransformInputPin (TCHAR *pObjectName, CTransformFilter *pTransformFilter, HRESULT *phr, LPCWSTR pName) | |
| STDMETHODIMP | QueryId (LPWSTR *Id) |
| HRESULT | CheckConnect (IPin *pPin) |
| HRESULT | BreakConnect () |
| HRESULT | CompleteConnect (IPin *pReceivePin) |
| HRESULT | CheckMediaType (const CMediaType *mtIn) |
| HRESULT | SetMediaType (const CMediaType *mt) |
| STDMETHODIMP | Receive (IMediaSample *pSample) |
| STDMETHODIMP | EndOfStream (void) |
| STDMETHODIMP | BeginFlush (void) |
| STDMETHODIMP | EndFlush (void) |
| STDMETHODIMP | NewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) |
| virtual HRESULT | CheckStreaming () |
| CMediaType & | CurrentMediaType () |
Protected Attributes | |
| CTransformFilter * | m_pTransformFilter |
Friends | |
| class | CTransformFilter |
Definition at line 11 of file transfrm.h.
| CTransformInputPin::CTransformInputPin | ( | TCHAR * | pObjectName, | |
| CTransformFilter * | pTransformFilter, | |||
| HRESULT * | phr, | |||
| LPCWSTR | pName | |||
| ) |
| STDMETHODIMP CTransformInputPin::QueryId | ( | LPWSTR * | Id | ) | [inline] |
Reimplemented from CBasePin.
Definition at line 33 of file transfrm.h.
References AMGetWideString().
| HRESULT CTransformInputPin::CheckConnect | ( | IPin * | pPin | ) | [virtual] |
Reimplemented from CBasePin.
Definition at line 520 of file transfrm.cpp.
References CBasePin::CheckConnect(), CTransformFilter::CheckConnect(), FAILED, hr, HRESULT, and m_pTransformFilter.
| HRESULT CTransformInputPin::BreakConnect | ( | ) | [virtual] |
Reimplemented from CBaseInputPin.
Definition at line 530 of file transfrm.cpp.
References ASSERT, CBaseInputPin::BreakConnect(), CTransformFilter::BreakConnect(), CBasePin::IsStopped(), and m_pTransformFilter.
| HRESULT CTransformInputPin::CompleteConnect | ( | IPin * | pReceivePin | ) | [virtual] |
Reimplemented from CBasePin.
Definition at line 539 of file transfrm.cpp.
References CBasePin::CompleteConnect(), CTransformFilter::CompleteConnect(), FAILED, hr, HRESULT, and m_pTransformFilter.
| HRESULT CTransformInputPin::CheckMediaType | ( | const CMediaType * | mtIn | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CTransInPlaceInputPin.
Definition at line 549 of file transfrm.cpp.
References CTransformFilter::CheckInputType(), CTransformFilter::CheckTransform(), CTransformOutputPin::CurrentMediaType(), hr, HRESULT, CBasePin::IsConnected(), CTransformFilter::m_pOutput, m_pTransformFilter, NULL, and S_OK.
| HRESULT CTransformInputPin::SetMediaType | ( | const CMediaType * | mt | ) | [virtual] |
Reimplemented from CBasePin.
Definition at line 572 of file transfrm.cpp.
References ASSERT, CTransformFilter::CheckInputType(), hr, HRESULT, m_pTransformFilter, CTransformFilter::SetMediaType(), and CBasePin::SetMediaType().
| HRESULT CTransformInputPin::Receive | ( | IMediaSample * | pSample | ) |
Reimplemented from CBaseInputPin.
Definition at line 634 of file transfrm.cpp.
References ASSERT, hr, HRESULT, CTransformFilter::m_csReceive, m_pTransformFilter, CTransformFilter::Receive(), CBaseInputPin::Receive(), and S_OK.
| STDMETHODIMP CTransformInputPin::EndOfStream | ( | void | ) |
Reimplemented from CBasePin.
Definition at line 586 of file transfrm.cpp.
References CheckStreaming(), CTransformFilter::EndOfStream(), hr, HRESULT, CTransformFilter::m_csReceive, m_pTransformFilter, and S_OK.
| STDMETHODIMP CTransformInputPin::BeginFlush | ( | void | ) |
Reimplemented from CBaseInputPin.
Definition at line 597 of file transfrm.cpp.
References ASSERT, CTransformFilter::BeginFlush(), CBaseInputPin::BeginFlush(), FAILED, hr, HRESULT, CBasePin::IsConnected(), CTransformFilter::m_csFilter, CTransformFilter::m_pOutput, m_pTransformFilter, and NULL.
| STDMETHODIMP CTransformInputPin::EndFlush | ( | void | ) |
Reimplemented from CBaseInputPin.
Definition at line 615 of file transfrm.cpp.
References ASSERT, CBaseInputPin::EndFlush(), CTransformFilter::EndFlush(), FAILED, hr, HRESULT, CBasePin::IsConnected(), CTransformFilter::m_csFilter, CTransformFilter::m_pOutput, m_pTransformFilter, and NULL.
| STDMETHODIMP CTransformInputPin::NewSegment | ( | REFERENCE_TIME | tStart, | |
| REFERENCE_TIME | tStop, | |||
| double | dRate | |||
| ) |
Reimplemented from CBasePin.
Definition at line 649 of file transfrm.cpp.
References m_pTransformFilter, CTransformFilter::NewSegment(), and CBasePin::NewSegment().
| HRESULT CTransformInputPin::CheckStreaming | ( | ) | [virtual] |
Reimplemented from CBaseInputPin.
Definition at line 471 of file transfrm.cpp.
References ASSERT, CBasePin::IsConnected(), CBasePin::IsStopped(), CBaseInputPin::m_bFlushing, CBasePin::m_bRunTimeError, CTransformFilter::m_pOutput, m_pTransformFilter, NULL, S_FALSE, and S_OK.
Referenced by EndOfStream().
| CMediaType& CTransformInputPin::CurrentMediaType | ( | ) | [inline] |
Definition at line 64 of file transfrm.h.
References CBasePin::m_mt.
Referenced by CTransformOutputPin::CheckMediaType(), CTransInPlaceFilter::CompleteConnect(), CVideoTransformFilter::Receive(), and CTransformOutputPin::SetMediaType().
friend class CTransformFilter [friend] |
Definition at line 13 of file transfrm.h.
CTransformFilter* CTransformInputPin::m_pTransformFilter [protected] |
Definition at line 16 of file transfrm.h.
Referenced by BeginFlush(), BreakConnect(), CheckConnect(), CheckMediaType(), CheckStreaming(), CompleteConnect(), CTransformInputPin(), EndFlush(), EndOfStream(), NewSegment(), Receive(), and SetMediaType().
1.5.6