#include <transfrm.h>

Public Member Functions | |
| CTransformOutputPin (TCHAR *pObjectName, CTransformFilter *pTransformFilter, HRESULT *phr, LPCWSTR pName) | |
| ~CTransformOutputPin () | |
| STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| STDMETHODIMP | QueryId (LPWSTR *Id) |
| HRESULT | CheckConnect (IPin *pPin) |
| HRESULT | BreakConnect () |
| HRESULT | CompleteConnect (IPin *pReceivePin) |
| HRESULT | CheckMediaType (const CMediaType *mtOut) |
| HRESULT | SetMediaType (const CMediaType *pmt) |
| HRESULT | DecideBufferSize (IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *pProp) |
| HRESULT | GetMediaType (int iPosition, CMediaType *pMediaType) |
| STDMETHODIMP | Notify (IBaseFilter *pSender, Quality q) |
| CMediaType & | CurrentMediaType () |
Public Attributes | |
| IUnknown * | m_pPosition |
Protected Attributes | |
| CTransformFilter * | m_pTransformFilter |
Friends | |
| class | CTransformFilter |
Definition at line 68 of file transfrm.h.
| CTransformOutputPin::CTransformOutputPin | ( | TCHAR * | pObjectName, | |
| CTransformFilter * | pTransformFilter, | |||
| HRESULT * | phr, | |||
| LPCWSTR | pName | |||
| ) |
| CTransformOutputPin::~CTransformOutputPin | ( | ) |
| STDMETHODIMP CTransformOutputPin::NonDelegatingQueryInterface | ( | REFIID | riid, | |
| void ** | ppv | |||
| ) |
Reimplemented from CBasePin.
Definition at line 695 of file transfrm.cpp.
References ASSERT, CheckPointer, CreatePosPassThru(), FAILED, FALSE, CUnknown::GetOwner(), hr, HRESULT, CTransformFilter::m_pInput, m_pPosition, m_pTransformFilter, CBasePin::NonDelegatingQueryInterface(), NULL, IUnknown::QueryInterface(), and ValidateReadWritePtr.
| STDMETHODIMP CTransformOutputPin::QueryId | ( | LPWSTR * | Id | ) | [inline] |
Reimplemented from CBasePin.
Definition at line 99 of file transfrm.h.
References AMGetWideString().
| HRESULT CTransformOutputPin::CheckConnect | ( | IPin * | pPin | ) | [virtual] |
Reimplemented from CBaseOutputPin.
Definition at line 725 of file transfrm.cpp.
References ASSERT, CBaseOutputPin::CheckConnect(), CTransformFilter::CheckConnect(), FAILED, FALSE, hr, HRESULT, CBasePin::IsConnected(), CTransformFilter::m_pInput, m_pTransformFilter, and NULL.
| HRESULT CTransformOutputPin::BreakConnect | ( | ) | [virtual] |
Reimplemented from CBaseOutputPin.
Definition at line 742 of file transfrm.cpp.
References ASSERT, CBaseOutputPin::BreakConnect(), CTransformFilter::BreakConnect(), CBasePin::IsStopped(), and m_pTransformFilter.
| HRESULT CTransformOutputPin::CompleteConnect | ( | IPin * | pReceivePin | ) | [virtual] |
Reimplemented from CBaseOutputPin.
Definition at line 751 of file transfrm.cpp.
References CBaseOutputPin::CompleteConnect(), CTransformFilter::CompleteConnect(), FAILED, hr, HRESULT, and m_pTransformFilter.
| HRESULT CTransformOutputPin::CheckMediaType | ( | const CMediaType * | mtOut | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CTransInPlaceOutputPin.
Definition at line 761 of file transfrm.cpp.
References ASSERT, CTransformFilter::CheckTransform(), CTransformInputPin::CurrentMediaType(), E_INVALIDARG, FALSE, CBasePin::IsConnected(), CTransformFilter::m_pInput, m_pTransformFilter, and NULL.
| HRESULT CTransformOutputPin::SetMediaType | ( | const CMediaType * | pmt | ) | [virtual] |
Reimplemented from CBasePin.
Definition at line 775 of file transfrm.cpp.
References ASSERT, CTransformFilter::CheckTransform(), CTransformInputPin::CurrentMediaType(), DbgLog, FAILED, hr, HRESULT, CMediaType::IsValid(), LOG_ERROR, CTransformFilter::m_pInput, m_pTransformFilter, NULL, CTransformFilter::SetMediaType(), and CBasePin::SetMediaType().
| HRESULT CTransformOutputPin::DecideBufferSize | ( | IMemAllocator * | pAlloc, | |
| ALLOCATOR_PROPERTIES * | pProp | |||
| ) | [virtual] |
Reimplemented from CBaseOutputPin.
Definition at line 800 of file transfrm.cpp.
References CTransformFilter::DecideBufferSize(), and m_pTransformFilter.
| HRESULT CTransformOutputPin::GetMediaType | ( | int | iPosition, | |
| CMediaType * | pMediaType | |||
| ) | [virtual] |
Reimplemented from CBasePin.
Definition at line 808 of file transfrm.cpp.
References ASSERT, CTransformFilter::GetMediaType(), CBasePin::IsConnected(), CTransformFilter::m_pInput, m_pTransformFilter, and NULL.
| STDMETHODIMP CTransformOutputPin::Notify | ( | IBaseFilter * | pSender, | |
| Quality | q | |||
| ) |
Reimplemented from CBasePin.
Definition at line 824 of file transfrm.cpp.
References CTransformFilter::AlterQuality(), ASSERT, hr, HRESULT, CTransformFilter::m_pInput, m_pTransformFilter, NULL, CBaseInputPin::PassNotify(), S_FALSE, and ValidateReadPtr.
| CMediaType& CTransformOutputPin::CurrentMediaType | ( | ) | [inline] |
Definition at line 130 of file transfrm.h.
References CBasePin::m_mt.
Referenced by CTransformInputPin::CheckMediaType(), CTransInPlaceFilter::CompleteConnect(), and CVideoTransformFilter::Receive().
friend class CTransformFilter [friend] |
Definition at line 70 of file transfrm.h.
CTransformFilter* CTransformOutputPin::m_pTransformFilter [protected] |
Definition at line 73 of file transfrm.h.
Referenced by BreakConnect(), CheckConnect(), CheckMediaType(), CompleteConnect(), CTransformOutputPin(), DecideBufferSize(), GetMediaType(), NonDelegatingQueryInterface(), Notify(), and SetMediaType().
Definition at line 78 of file transfrm.h.
Referenced by NonDelegatingQueryInterface(), and ~CTransformOutputPin().
1.5.6