AJA NTV2 SDK  17.6.0.2675
NTV2 SDK 17.6.0.2675
CRendererInputPin Class Reference

#include <renbase.h>

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

Public Member Functions

 CRendererInputPin (__inout CBaseRenderer *pRenderer, __inout HRESULT *phr, __in_opt LPCWSTR Name)
 
HRESULT BreakConnect ()
 
HRESULT CompleteConnect (IPin *pReceivePin)
 
HRESULT SetMediaType (const CMediaType *pmt)
 
HRESULT CheckMediaType (const CMediaType *pmt)
 
HRESULT Active ()
 
HRESULT Inactive ()
 
STDMETHODIMP QueryId (__deref_out LPWSTR *Id)
 
STDMETHODIMP EndOfStream ()
 
STDMETHODIMP BeginFlush ()
 
STDMETHODIMP EndFlush ()
 
STDMETHODIMP Receive (IMediaSample *pMediaSample)
 
IMemAllocator * Allocator () const
 
- 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)
 
BOOL IsReadOnly ()
 
BOOL IsFlushing ()
 
virtual HRESULT CheckStreaming ()
 
HRESULT PassNotify (Quality &q)
 
STDMETHODIMP Notify (IBaseFilter *pSender, Quality q)
 
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 Run (REFERENCE_TIME tStart)
 
virtual HRESULT CheckConnect (IPin *)
 
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

CBaseRendererm_pRenderer
 
- 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 22 of file renbase.h.

Constructor & Destructor Documentation

◆ CRendererInputPin()

CRendererInputPin::CRendererInputPin ( __inout CBaseRenderer pRenderer,
__inout HRESULT *  phr,
__in_opt LPCWSTR  Name 
)

Definition at line 1562 of file renbase.cpp.

Member Function Documentation

◆ Active()

HRESULT CRendererInputPin::Active ( )
virtual

Reimplemented from CBasePin.

Definition at line 1728 of file renbase.cpp.

◆ Allocator()

IMemAllocator* CRendererInputPin::Allocator ( ) const
inline

Definition at line 52 of file renbase.h.

◆ BeginFlush()

STDMETHODIMP CRendererInputPin::BeginFlush ( )

Definition at line 1606 of file renbase.cpp.

◆ BreakConnect()

HRESULT CRendererInputPin::BreakConnect ( )
virtual

Reimplemented from CBaseInputPin.

Definition at line 1679 of file renbase.cpp.

◆ CheckMediaType()

HRESULT CRendererInputPin::CheckMediaType ( const CMediaType pmt)
virtual

Reimplemented from CBasePin.

Definition at line 1720 of file renbase.cpp.

◆ CompleteConnect()

HRESULT CRendererInputPin::CompleteConnect ( IPin *  pReceivePin)
virtual

Reimplemented from CBasePin.

Definition at line 1691 of file renbase.cpp.

◆ EndFlush()

STDMETHODIMP CRendererInputPin::EndFlush ( )

Definition at line 1620 of file renbase.cpp.

◆ EndOfStream()

STDMETHODIMP CRendererInputPin::EndOfStream ( )

Definition at line 1578 of file renbase.cpp.

◆ Inactive()

HRESULT CRendererInputPin::Inactive ( )
virtual

Reimplemented from CBaseInputPin.

Definition at line 1736 of file renbase.cpp.

◆ QueryId()

STDMETHODIMP CRendererInputPin::QueryId ( __deref_out LPWSTR *  Id)

Definition at line 1703 of file renbase.cpp.

◆ Receive()

STDMETHODIMP CRendererInputPin::Receive ( IMediaSample *  pMediaSample)

Definition at line 1635 of file renbase.cpp.

◆ SetMediaType()

HRESULT CRendererInputPin::SetMediaType ( const CMediaType pmt)
virtual

Reimplemented from CBasePin.

Definition at line 1750 of file renbase.cpp.

Member Data Documentation

◆ m_pRenderer

CBaseRenderer* CRendererInputPin::m_pRenderer
protected

Definition at line 26 of file renbase.h.


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