#include <amfilter.h>

Public Member Functions | |
| CBaseInputPin (TCHAR *pObjectName, CBaseFilter *pFilter, CCritSec *pLock, HRESULT *phr, LPCWSTR pName) | |
| virtual | ~CBaseInputPin () |
| DECLARE_IUNKNOWN STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| STDMETHODIMP | GetAllocator (IMemAllocator **ppAllocator) |
| STDMETHODIMP | NotifyAllocator (IMemAllocator *pAllocator, BOOL bReadOnly) |
| STDMETHODIMP | Receive (IMediaSample *pSample) |
| STDMETHODIMP | ReceiveMultiple (IMediaSample **pSamples, long nSamples, long *nSamplesProcessed) |
| STDMETHODIMP | ReceiveCanBlock () |
| STDMETHODIMP | BeginFlush (void) |
| STDMETHODIMP | EndFlush (void) |
| STDMETHODIMP | GetAllocatorRequirements (ALLOCATOR_PROPERTIES *pProps) |
| HRESULT | BreakConnect () |
| BOOL | IsReadOnly () |
| BOOL | IsFlushing () |
| virtual HRESULT | CheckStreaming () |
| HRESULT | PassNotify (Quality &q) |
| STDMETHODIMP | Notify (IBaseFilter *pSender, Quality q) |
| virtual HRESULT | Inactive (void) |
| AM_SAMPLE2_PROPERTIES * | SampleProps () |
Protected Attributes | |
| IMemAllocator * | m_pAllocator |
| BYTE | m_bReadOnly |
| BYTE | m_bFlushing |
| AM_SAMPLE2_PROPERTIES | m_SampleProps |
Definition at line 694 of file amfilter.h.
| CBaseInputPin::CBaseInputPin | ( | TCHAR * | pObjectName, | |
| CBaseFilter * | pFilter, | |||
| CCritSec * | pLock, | |||
| HRESULT * | phr, | |||
| LPCWSTR | pName | |||
| ) |
| CBaseInputPin::~CBaseInputPin | ( | ) | [virtual] |
| STDMETHODIMP CBaseInputPin::NonDelegatingQueryInterface | ( | REFIID | riid, | |
| void ** | ppv | |||
| ) |
Reimplemented from CBasePin.
Definition at line 2037 of file amfilter.cpp.
References GetInterface(), and CBasePin::NonDelegatingQueryInterface().
| STDMETHODIMP CBaseInputPin::GetAllocator | ( | IMemAllocator ** | ppAllocator | ) |
Reimplemented in CTransInPlaceInputPin.
Definition at line 2049 of file amfilter.cpp.
References ASSERT, CheckPointer, CreateMemoryAllocator(), FAILED, hr, HRESULT, m_pAllocator, CBasePin::m_pLock, NULL, and ValidateReadWritePtr.
Referenced by CTransInPlaceInputPin::GetAllocator().
| STDMETHODIMP CBaseInputPin::NotifyAllocator | ( | IMemAllocator * | pAllocator, | |
| BOOL | bReadOnly | |||
| ) |
Reimplemented in CTransInPlaceInputPin.
Definition at line 2069 of file amfilter.cpp.
References CheckPointer, m_bReadOnly, m_pAllocator, CBasePin::m_pLock, NULL, and ValidateReadPtr.
Referenced by CTransInPlaceInputPin::NotifyAllocator().
| STDMETHODIMP CBaseInputPin::Receive | ( | IMediaSample * | pSample | ) |
Reimplemented in CRendererInputPin, and CTransformInputPin.
Definition at line 2113 of file amfilter.cpp.
References ASSERT, CBasePin::CheckMediaType(), CheckPointer, CheckStreaming(), CBasePin::EndOfStream(), FAILED, hr, HRESULT, CBasePin::m_bRunTimeError, CBasePin::m_pFilter, m_SampleProps, CBaseFilter::NotifyEvent(), S_OK, TRUE, and ValidateReadPtr.
Referenced by CTransformInputPin::Receive(), and ReceiveMultiple().
| STDMETHODIMP CBaseInputPin::ReceiveMultiple | ( | IMediaSample ** | pSamples, | |
| long | nSamples, | |||
| long * | nSamplesProcessed | |||
| ) |
Definition at line 2184 of file amfilter.cpp.
References CheckPointer, hr, HRESULT, Receive(), S_OK, and ValidateReadPtr.
| STDMETHODIMP CBaseInputPin::ReceiveCanBlock | ( | ) |
Definition at line 2207 of file amfilter.cpp.
References ASSERT, c, CBasePin::ConnectedTo(), FAILED, CBaseFilter::GetPin(), CBaseFilter::GetPinCount(), hr, HRESULT, CBasePin::m_pFilter, NULL, CBasePin::QueryDirection(), S_FALSE, and S_OK.
| STDMETHODIMP CBaseInputPin::BeginFlush | ( | void | ) |
Reimplemented in CRendererInputPin, and CTransformInputPin.
Definition at line 2249 of file amfilter.cpp.
References ASSERT, m_bFlushing, CBasePin::m_pLock, S_OK, and TRUE.
Referenced by CTransformInputPin::BeginFlush(), and CRendererInputPin::BeginFlush().
| STDMETHODIMP CBaseInputPin::EndFlush | ( | void | ) |
Reimplemented in CRenderedInputPin, CRendererInputPin, and CTransformInputPin.
Definition at line 2268 of file amfilter.cpp.
References ASSERT, FALSE, m_bFlushing, CBasePin::m_bRunTimeError, CBasePin::m_pLock, and S_OK.
Referenced by CTransformInputPin::EndFlush(), CRendererInputPin::EndFlush(), and CRenderedInputPin::EndFlush().
| STDMETHODIMP CBaseInputPin::GetAllocatorRequirements | ( | ALLOCATOR_PROPERTIES * | pProps | ) |
| HRESULT CBaseInputPin::BreakConnect | ( | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CRendererInputPin, and CTransformInputPin.
Definition at line 2093 of file amfilter.cpp.
References FAILED, hr, HRESULT, m_pAllocator, NULL, and S_OK.
Referenced by CTransformInputPin::BreakConnect(), and CRendererInputPin::BreakConnect().
| BOOL CBaseInputPin::IsReadOnly | ( | ) | [inline] |
Definition at line 782 of file amfilter.h.
| BOOL CBaseInputPin::IsFlushing | ( | ) | [inline] |
Definition at line 787 of file amfilter.h.
Referenced by CBaseRenderer::Pause(), CBaseRenderer::PrepareReceive(), CBaseRenderer::Run(), and CBaseRenderer::SendRepaint().
| HRESULT CBaseInputPin::CheckStreaming | ( | ) | [virtual] |
Reimplemented in CTransformInputPin.
Definition at line 2321 of file amfilter.cpp.
References ASSERT, CBasePin::IsConnected(), CBasePin::IsStopped(), m_bFlushing, CBasePin::m_bRunTimeError, S_FALSE, and S_OK.
Referenced by CRendererInputPin::EndOfStream(), CRenderedInputPin::EndOfStream(), and Receive().
| HRESULT CBaseInputPin::PassNotify | ( | Quality & | q | ) |
Definition at line 2340 of file amfilter.cpp.
References DbgLog, hr, HRESULT, LOG_TRACE, CBasePin::m_Connected, CBasePin::m_pFilter, CBasePin::m_pQSink, and NULL.
Referenced by CTransformOutputPin::Notify().
| STDMETHODIMP CBaseInputPin::Notify | ( | IBaseFilter * | pSender, | |
| Quality | q | |||
| ) |
Reimplemented from CBasePin.
Definition at line 2291 of file amfilter.cpp.
References CheckPointer, DbgBreak, and ValidateReadPtr.
| HRESULT CBaseInputPin::Inactive | ( | void | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CRendererInputPin.
Definition at line 2301 of file amfilter.cpp.
References FALSE, m_bFlushing, CBasePin::m_bRunTimeError, m_pAllocator, and NULL.
Referenced by CTransformFilter::Stop().
| AM_SAMPLE2_PROPERTIES* CBaseInputPin::SampleProps | ( | ) | [inline] |
Definition at line 811 of file amfilter.h.
References ASSERT.
Referenced by CTransInPlaceFilter::Copy(), CTransformFilter::InitializeOutputSample(), CBaseRenderer::PrepareReceive(), CTransInPlaceFilter::Receive(), and CTransformFilter::Receive().
IMemAllocator* CBaseInputPin::m_pAllocator [protected] |
Definition at line 700 of file amfilter.h.
Referenced by CRendererInputPin::Allocator(), BreakConnect(), GetAllocator(), Inactive(), CTransInPlaceInputPin::NotifyAllocator(), NotifyAllocator(), CTransInPlaceInputPin::PeekAllocator(), and ~CBaseInputPin().
BYTE CBaseInputPin::m_bReadOnly [protected] |
Reimplemented in CTransInPlaceInputPin.
Definition at line 705 of file amfilter.h.
Referenced by NotifyAllocator().
BYTE CBaseInputPin::m_bFlushing [protected] |
Definition at line 709 of file amfilter.h.
Referenced by BeginFlush(), CTransformInputPin::CheckStreaming(), CheckStreaming(), EndFlush(), and Inactive().
AM_SAMPLE2_PROPERTIES CBaseInputPin::m_SampleProps [protected] |
1.5.6