Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
EVRCustomPresenterActivate Class Reference
+ Inheritance diagram for EVRCustomPresenterActivate:
+ Collaboration diagram for EVRCustomPresenterActivate:

Public Member Functions

 EVRCustomPresenterActivate (QVideoSink *sink)
 
 ~EVRCustomPresenterActivate ()
 
STDMETHODIMP ActivateObject (REFIID riid, void **ppv) override
 
STDMETHODIMP ShutdownObject () override
 
STDMETHODIMP DetachObject () override
 
void setSink (QVideoSink *sink)
 
void setCropRect (QRect cropRect)
 
- Public Member Functions inherited from MFAbstractActivate
 MFAbstractActivate ()
 
virtual ~MFAbstractActivate ()
 
STDMETHODIMP QueryInterface (REFIID riid, LPVOID *ppvObject) override
 
 STDMETHODIMP_ (ULONG) AddRef(void) override
 
 STDMETHODIMP_ (ULONG) Release(void) override
 
STDMETHODIMP GetItem (REFGUID guidKey, PROPVARIANT *pValue) override
 
STDMETHODIMP GetItemType (REFGUID guidKey, MF_ATTRIBUTE_TYPE *pType) override
 
STDMETHODIMP CompareItem (REFGUID guidKey, REFPROPVARIANT Value, BOOL *pbResult) override
 
STDMETHODIMP Compare (IMFAttributes *pTheirs, MF_ATTRIBUTES_MATCH_TYPE MatchType, BOOL *pbResult) override
 
STDMETHODIMP GetUINT32 (REFGUID guidKey, UINT32 *punValue) override
 
STDMETHODIMP GetUINT64 (REFGUID guidKey, UINT64 *punValue) override
 
STDMETHODIMP GetDouble (REFGUID guidKey, double *pfValue) override
 
STDMETHODIMP GetGUID (REFGUID guidKey, GUID *pguidValue) override
 
STDMETHODIMP GetStringLength (REFGUID guidKey, UINT32 *pcchLength) override
 
STDMETHODIMP GetString (REFGUID guidKey, LPWSTR pwszValue, UINT32 cchBufSize, UINT32 *pcchLength) override
 
STDMETHODIMP GetAllocatedString (REFGUID guidKey, LPWSTR *ppwszValue, UINT32 *pcchLength) override
 
STDMETHODIMP GetBlobSize (REFGUID guidKey, UINT32 *pcbBlobSize) override
 
STDMETHODIMP GetBlob (REFGUID guidKey, UINT8 *pBuf, UINT32 cbBufSize, UINT32 *pcbBlobSize) override
 
STDMETHODIMP GetAllocatedBlob (REFGUID guidKey, UINT8 **ppBuf, UINT32 *pcbSize) override
 
STDMETHODIMP GetUnknown (REFGUID guidKey, REFIID riid, LPVOID *ppv) override
 
STDMETHODIMP SetItem (REFGUID guidKey, REFPROPVARIANT Value) override
 
STDMETHODIMP DeleteItem (REFGUID guidKey) override
 
STDMETHODIMP DeleteAllItems () override
 
STDMETHODIMP SetUINT32 (REFGUID guidKey, UINT32 unValue) override
 
STDMETHODIMP SetUINT64 (REFGUID guidKey, UINT64 unValue) override
 
STDMETHODIMP SetDouble (REFGUID guidKey, double fValue) override
 
STDMETHODIMP SetGUID (REFGUID guidKey, REFGUID guidValue) override
 
STDMETHODIMP SetString (REFGUID guidKey, LPCWSTR wszValue) override
 
STDMETHODIMP SetBlob (REFGUID guidKey, const UINT8 *pBuf, UINT32 cbBufSize) override
 
STDMETHODIMP SetUnknown (REFGUID guidKey, IUnknown *pUnknown) override
 
STDMETHODIMP LockStore () override
 
STDMETHODIMP UnlockStore () override
 
STDMETHODIMP GetCount (UINT32 *pcItems) override
 
STDMETHODIMP GetItemByIndex (UINT32 unIndex, GUID *pguidKey, PROPVARIANT *pValue) override
 
STDMETHODIMP CopyAllItems (IMFAttributes *pDest) override
 

Detailed Description

Definition at line 2092 of file mfvideorenderercontrol.cpp.

Constructor & Destructor Documentation

◆ EVRCustomPresenterActivate()

EVRCustomPresenterActivate::EVRCustomPresenterActivate ( QVideoSink sink)

Definition at line 2224 of file mfvideorenderercontrol.cpp.

◆ ~EVRCustomPresenterActivate()

EVRCustomPresenterActivate::~EVRCustomPresenterActivate ( )
inline

Definition at line 2096 of file mfvideorenderercontrol.cpp.

Member Function Documentation

◆ ActivateObject()

HRESULT EVRCustomPresenterActivate::ActivateObject ( REFIID  riid,
void **  ppv 
)
override

Definition at line 2230 of file mfvideorenderercontrol.cpp.

References ppv, EVRCustomPresenter::QueryInterface(), riid, and EVRCustomPresenter::setCropRect().

+ Here is the call graph for this function:

◆ DetachObject()

HRESULT EVRCustomPresenterActivate::DetachObject ( )
override

Definition at line 2249 of file mfvideorenderercontrol.cpp.

Referenced by ShutdownObject().

+ Here is the caller graph for this function:

◆ setCropRect()

void EVRCustomPresenterActivate::setCropRect ( QRect  cropRect)

Definition at line 2271 of file mfvideorenderercontrol.cpp.

References EVRCustomPresenter::setCropRect().

Referenced by MFVideoRendererControl::setCropRect().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSink()

void EVRCustomPresenterActivate::setSink ( QVideoSink sink)

Definition at line 2259 of file mfvideorenderercontrol.cpp.

References EVRCustomPresenter::setSink().

Referenced by MFVideoRendererControl::setSink().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShutdownObject()

HRESULT EVRCustomPresenterActivate::ShutdownObject ( )
override

Definition at line 2242 of file mfvideorenderercontrol.cpp.

References DetachObject().

+ Here is the call graph for this function:

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