AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CRenderedInputPin Class Reference

#include <amextra.h>

Inheritance diagram for CRenderedInputPin:
[legend]
Collaboration diagram for CRenderedInputPin:
[legend]

Public Member Functions

 CRenderedInputPin (__in_opt LPCTSTR pObjectName, __in CBaseFilter *pFilter, __in CCritSec *pLock, __inout HRESULT *phr, __in_opt LPCWSTR pName)
 
STDMETHODIMP EndOfStream ()
 
STDMETHODIMP EndFlush ()
 
HRESULT Active ()
 
HRESULT Run (REFERENCE_TIME tStart)
 
- Public Member Functions inherited from CBaseInputPin
 CBaseInputPin (__in_opt LPCTSTR pObjectName, __in CBaseFilter *pFilter, __in CCritSec *pLock, __inout HRESULT *phr, __in_opt LPCWSTR pName)
 
virtual ~CBaseInputPin ()
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, __deref_out void **ppv)
 
STDMETHODIMP GetAllocator (__deref_out IMemAllocator **ppAllocator)
 
STDMETHODIMP NotifyAllocator (IMemAllocator *pAllocator, BOOL bReadOnly)
 
STDMETHODIMP Receive (IMediaSample *pSample)
 
STDMETHODIMP ReceiveMultiple (__in_ecount(nSamples) IMediaSample **pSamples, long nSamples, __out long *nSamplesProcessed)
 
STDMETHODIMP ReceiveCanBlock ()
 
STDMETHODIMP BeginFlush (void)
 
STDMETHODIMP EndFlush (void)
 
STDMETHODIMP GetAllocatorRequirements (__out 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 ()
 
- Public Member Functions inherited from CBasePin
 CBasePin (__in_opt LPCTSTR pObjectName, __in CBaseFilter *pFilter, __in CCritSec *pLock, __inout HRESULT *phr, __in_opt LPCWSTR pName, PIN_DIRECTION dir)
 
virtual ~CBasePin ()
 
DECLARE_IUNKNOWN STDMETHODIMP NonDelegatingQueryInterface (REFIID riid, __deref_out void **ppv)
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
STDMETHODIMP Connect (IPin *pReceivePin, __in_opt const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP ReceiveConnection (IPin *pConnector, const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP Disconnect ()
 
STDMETHODIMP ConnectedTo (__deref_out IPin **pPin)
 
STDMETHODIMP ConnectionMediaType (__out AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP QueryPinInfo (__out PIN_INFO *pInfo)
 
STDMETHODIMP QueryDirection (__out PIN_DIRECTION *pPinDir)
 
STDMETHODIMP QueryId (__deref_out LPWSTR *Id)
 
STDMETHODIMP QueryAccept (const AM_MEDIA_TYPE *pmt)
 
STDMETHODIMP EnumMediaTypes (__deref_out IEnumMediaTypes **ppEnum)
 
STDMETHODIMP QueryInternalConnections (__out_ecount_part(*nPin, *nPin) IPin **apPin, __inout ULONG *nPin)
 
STDMETHODIMP EndOfStream (void)
 
STDMETHODIMP NewSegment (REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
 
STDMETHODIMP Notify (IBaseFilter *pSender, Quality q)
 
STDMETHODIMP SetSink (IQualityControl *piqc)
 
BOOL IsConnected (void)
 
IPin * GetConnected ()
 
BOOL IsStopped ()
 
virtual LONG GetMediaTypeVersion ()
 
void IncrementTypeVersion ()
 
virtual HRESULT CheckMediaType (const CMediaType *) PURE
 
virtual HRESULT SetMediaType (const CMediaType *)
 
virtual HRESULT CheckConnect (IPin *)
 
virtual HRESULT CompleteConnect (IPin *pReceivePin)
 
virtual HRESULT GetMediaType (int iPosition, __inout CMediaType *pMediaType)
 
REFERENCE_TIME CurrentStopTime ()
 
REFERENCE_TIME CurrentStartTime ()
 
double CurrentRate ()
 
LPWSTR Name ()
 
void SetReconnectWhenActive (bool bCanReconnect)
 
bool CanReconnectWhenActive ()
 
- Public Member Functions inherited from CUnknown
 CUnknown (__in_opt LPCTSTR pName, __in_opt LPUNKNOWN pUnk)
 
virtual ~CUnknown ()
 
 CUnknown (__in_opt LPCTSTR Name, __in_opt LPUNKNOWN pUnk, __inout_opt HRESULT *phr)
 
LPUNKNOWN GetOwner () const
 
STDMETHODIMP NonDelegatingQueryInterface (REFIID, __deref_out void **)
 
 STDMETHODIMP_ (ULONG) NonDelegatingAddRef()
 
 STDMETHODIMP_ (ULONG) NonDelegatingRelease()
 
- Public Member Functions inherited from CBaseObject
 CBaseObject (__in_opt LPCTSTR pName)
 
 ~CBaseObject ()
 

Protected Attributes

BOOL m_bAtEndOfStream
 
BOOL m_bCompleteNotified
 
- Protected Attributes inherited from CBaseInputPin
IMemAllocator * m_pAllocator
 
BYTE m_bReadOnly
 
BYTE m_bFlushing
 
AM_SAMPLE2_PROPERTIES m_SampleProps
 
- Protected Attributes inherited from CBasePin
WCHAR * m_pName
 
IPin * m_Connected
 
PIN_DIRECTION m_dir
 
CCritSecm_pLock
 
bool m_bRunTimeError
 
bool m_bCanReconnectWhenActive
 
bool m_bTryMyTypesFirst
 
CBaseFilterm_pFilter
 
IQualityControl * m_pQSink
 
LONG m_TypeVersion
 
CMediaType m_mt
 
CRefTime m_tStart
 
CRefTime m_tStop
 
double m_dRate
 
- Protected Attributes inherited from CUnknown
volatile LONG m_cRef
 

Additional Inherited Members

- Static Public Member Functions inherited from CBaseObject
static LONG ObjectsActive ()
 
- Protected Member Functions inherited from CBasePin
void DisplayPinInfo (IPin *pReceivePin)
 
void DisplayTypeInfo (IPin *pPin, const CMediaType *pmt)
 
HRESULT AttemptConnection (IPin *pReceivePin, const CMediaType *pmt)
 
HRESULT TryMediaTypes (IPin *pReceivePin, __in_opt const CMediaType *pmt, IEnumMediaTypes *pEnum)
 
HRESULT AgreeMediaType (IPin *pReceivePin, const CMediaType *pmt)
 
STDMETHODIMP DisconnectInternal ()
 

Detailed Description

Definition at line 21 of file amextra.h.

Constructor & Destructor Documentation

◆ CRenderedInputPin()

CRenderedInputPin::CRenderedInputPin ( __in_opt LPCTSTR  pObjectName,
__in CBaseFilter pFilter,
__in CCritSec pLock,
__inout HRESULT *  phr,
__in_opt LPCWSTR  pName 
)

Definition at line 21 of file amextra.cpp.

Member Function Documentation

◆ Active()

HRESULT CRenderedInputPin::Active ( )
virtual

Reimplemented from CBasePin.

Definition at line 93 of file amextra.cpp.

◆ EndFlush()

STDMETHODIMP CRenderedInputPin::EndFlush ( )

Definition at line 66 of file amextra.cpp.

◆ EndOfStream()

STDMETHODIMP CRenderedInputPin::EndOfStream ( )

Definition at line 47 of file amextra.cpp.

◆ Run()

HRESULT CRenderedInputPin::Run ( REFERENCE_TIME  tStart)
virtual

Reimplemented from CBasePin.

Definition at line 80 of file amextra.cpp.

Member Data Documentation

◆ m_bAtEndOfStream

BOOL CRenderedInputPin::m_bAtEndOfStream
protected

Definition at line 48 of file amextra.h.

◆ m_bCompleteNotified

BOOL CRenderedInputPin::m_bCompleteNotified
protected

Definition at line 49 of file amextra.h.


The documentation for this class was generated from the following files: