#include <amfilter.h>

Public Member Functions | |
| CBaseOutputPin (TCHAR *pObjectName, CBaseFilter *pFilter, CCritSec *pLock, HRESULT *phr, LPCWSTR pName) | |
| virtual HRESULT | CompleteConnect (IPin *pReceivePin) |
| virtual HRESULT | DecideAllocator (IMemInputPin *pPin, IMemAllocator **pAlloc) |
| virtual HRESULT | DecideBufferSize (IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *ppropInputRequest) PURE |
| virtual HRESULT | GetDeliveryBuffer (IMediaSample **ppSample, REFERENCE_TIME *pStartTime, REFERENCE_TIME *pEndTime, DWORD dwFlags) |
| virtual HRESULT | Deliver (IMediaSample *) |
| virtual HRESULT | InitAllocator (IMemAllocator **ppAlloc) |
| HRESULT | CheckConnect (IPin *pPin) |
| HRESULT | BreakConnect () |
| HRESULT | Active (void) |
| HRESULT | Inactive (void) |
| STDMETHODIMP | EndOfStream (void) |
| virtual HRESULT | DeliverEndOfStream (void) |
| STDMETHODIMP | BeginFlush (void) |
| STDMETHODIMP | EndFlush (void) |
| virtual HRESULT | DeliverBeginFlush (void) |
| virtual HRESULT | DeliverEndFlush (void) |
| virtual HRESULT | DeliverNewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate) |
Protected Attributes | |
| IMemAllocator * | m_pAllocator |
| IMemInputPin * | m_pInputPin |
Definition at line 599 of file amfilter.h.
| CBaseOutputPin::CBaseOutputPin | ( | TCHAR * | pObjectName, | |
| CBaseFilter * | pFilter, | |||
| CCritSec * | pLock, | |||
| HRESULT * | phr, | |||
| LPCWSTR | pName | |||
| ) |
| HRESULT CBaseOutputPin::CompleteConnect | ( | IPin * | pReceivePin | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CDynamicOutputPin, and CTransformOutputPin.
Definition at line 1774 of file amfilter.cpp.
References DecideAllocator(), m_pAllocator, and m_pInputPin.
Referenced by CTransformOutputPin::CompleteConnect(), and CDynamicOutputPin::CompleteConnect().
| HRESULT CBaseOutputPin::DecideAllocator | ( | IMemInputPin * | pPin, | |
| IMemAllocator ** | pAlloc | |||
| ) | [virtual] |
Reimplemented in CTransInPlaceOutputPin.
Definition at line 1830 of file amfilter.cpp.
References DecideBufferSize(), FALSE, hr, HRESULT, InitAllocator(), and NULL.
Referenced by CompleteConnect().
| virtual HRESULT CBaseOutputPin::DecideBufferSize | ( | IMemAllocator * | pAlloc, | |
| ALLOCATOR_PROPERTIES * | ppropInputRequest | |||
| ) | [virtual] |
Reimplemented in CTransformOutputPin.
Referenced by CDynamicOutputPin::ChangeMediaTypeHelper(), and DecideAllocator().
| HRESULT CBaseOutputPin::GetDeliveryBuffer | ( | IMediaSample ** | ppSample, | |
| REFERENCE_TIME * | pStartTime, | |||
| REFERENCE_TIME * | pEndTime, | |||
| DWORD | dwFlags | |||
| ) | [virtual] |
Definition at line 1899 of file amfilter.cpp.
References E_NOINTERFACE, m_pAllocator, and NULL.
Referenced by CSourceStream::DoBufferProcessingLoop().
| HRESULT CBaseOutputPin::Deliver | ( | IMediaSample * | pSample | ) | [virtual] |
Definition at line 1912 of file amfilter.cpp.
References m_pInputPin, and NULL.
Referenced by CSourceStream::DoBufferProcessingLoop(), CVideoTransformFilter::Receive(), and CTransInPlaceFilter::Receive().
| HRESULT CBaseOutputPin::InitAllocator | ( | IMemAllocator ** | ppAlloc | ) | [virtual] |
Definition at line 1824 of file amfilter.cpp.
References CreateMemoryAllocator().
Referenced by DecideAllocator().
| HRESULT CBaseOutputPin::CheckConnect | ( | IPin * | pPin | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CTransformOutputPin.
Definition at line 1781 of file amfilter.cpp.
References CBasePin::CheckConnect(), FAILED, hr, HRESULT, and m_pInputPin.
Referenced by CTransformOutputPin::CheckConnect().
| HRESULT CBaseOutputPin::BreakConnect | ( | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CTransformOutputPin.
Definition at line 1797 of file amfilter.cpp.
References FAILED, hr, HRESULT, m_pAllocator, m_pInputPin, and NULL.
Referenced by CTransformOutputPin::BreakConnect().
| HRESULT CBaseOutputPin::Active | ( | void | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CDynamicOutputPin, and CSourceStream.
Definition at line 1932 of file amfilter.cpp.
References m_pAllocator, and NULL.
Referenced by CSourceStream::Active(), and CDynamicOutputPin::Active().
| HRESULT CBaseOutputPin::Inactive | ( | void | ) | [virtual] |
Reimplemented from CBasePin.
Reimplemented in CDynamicOutputPin, and CSourceStream.
Definition at line 1941 of file amfilter.cpp.
References FALSE, CBasePin::m_bRunTimeError, m_pAllocator, and NULL.
Referenced by CSourceStream::Inactive(), CDynamicOutputPin::Inactive(), and CTransformFilter::Stop().
| STDMETHODIMP CBaseOutputPin::EndOfStream | ( | void | ) |
| HRESULT CBaseOutputPin::DeliverEndOfStream | ( | void | ) | [virtual] |
Definition at line 1922 of file amfilter.cpp.
References CBasePin::m_Connected, and NULL.
Referenced by CVideoTransformFilter::AbortPlayback(), CSourceStream::DoBufferProcessingLoop(), CTransformFilter::EndOfStream(), and CTransformFilter::Pause().
| STDMETHODIMP CBaseOutputPin::BeginFlush | ( | void | ) |
Definition at line 1957 of file amfilter.cpp.
| STDMETHODIMP CBaseOutputPin::EndFlush | ( | void | ) |
Definition at line 1963 of file amfilter.cpp.
| HRESULT CBaseOutputPin::DeliverBeginFlush | ( | void | ) | [virtual] |
Reimplemented in CDynamicOutputPin.
Definition at line 1969 of file amfilter.cpp.
References CBasePin::m_Connected, and NULL.
Referenced by CTransformFilter::BeginFlush(), and CDynamicOutputPin::DeliverBeginFlush().
| HRESULT CBaseOutputPin::DeliverEndFlush | ( | void | ) | [virtual] |
Reimplemented in CDynamicOutputPin.
Definition at line 1979 of file amfilter.cpp.
References CBasePin::m_Connected, and NULL.
Referenced by CDynamicOutputPin::DeliverEndFlush(), and CTransformFilter::EndFlush().
| HRESULT CBaseOutputPin::DeliverNewSegment | ( | REFERENCE_TIME | tStart, | |
| REFERENCE_TIME | tStop, | |||
| double | dRate | |||
| ) | [virtual] |
Definition at line 1989 of file amfilter.cpp.
References CBasePin::m_Connected, and NULL.
Referenced by CDynamicOutputPin::ChangeOutputFormat(), and CTransformFilter::NewSegment().
IMemAllocator* CBaseOutputPin::m_pAllocator [protected] |
Definition at line 604 of file amfilter.h.
Referenced by Active(), BreakConnect(), CDynamicOutputPin::ChangeMediaTypeHelper(), CDynamicOutputPin::CompleteConnect(), CompleteConnect(), GetDeliveryBuffer(), Inactive(), CTransformFilter::InitializeOutputSample(), CTransInPlaceOutputPin::PeekAllocator(), and CTransInPlaceOutputPin::SetAllocator().
IMemInputPin* CBaseOutputPin::m_pInputPin [protected] |
Definition at line 605 of file amfilter.h.
Referenced by BreakConnect(), CDynamicOutputPin::ChangeMediaTypeHelper(), CheckConnect(), CompleteConnect(), CTransInPlaceOutputPin::ConnectedIMemInputPin(), Deliver(), and CTransformFilter::Receive().
1.5.6