Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
D3D11TextureVideoBuffer Class Reference
Inheritance diagram for D3D11TextureVideoBuffer:
Collaboration diagram for D3D11TextureVideoBuffer:

Public Member Functions

 D3D11TextureVideoBuffer (ComPtr< IDirect3DDevice9Ex > device, const ComPtr< IMFSample > &sample, HANDLE sharedHandle, QRhi *rhi)
QVideoFrameTexturesUPtr mapTextures (QRhi &rhi, QVideoFrameTexturesUPtr &) override
 D3D11TextureVideoBuffer (ComPtr< IDirect3DDevice9Ex > device, const ComPtr< IMFSample > &sample, HANDLE sharedHandle, QRhi *rhi)
QVideoFrameTexturesUPtr mapTextures (QRhi &rhi, QVideoFrameTexturesUPtr &) override
Public Member Functions inherited from IMFSampleVideoBuffer
 IMFSampleVideoBuffer (ComPtr< IDirect3DDevice9Ex > device, const ComPtr< IMFSample > &sample, QRhi *rhi, QVideoFrame::HandleType type=QVideoFrame::NoHandle)
 ~IMFSampleVideoBuffer () override
MapData map (QVideoFrame::MapMode mode) override
 Maps the planes of a video buffer to memory.
void unmap () override
 Releases the memory mapped by the map() function.
 IMFSampleVideoBuffer (ComPtr< IDirect3DDevice9Ex > device, const ComPtr< IMFSample > &sample, QRhi *rhi, QVideoFrame::HandleType type=QVideoFrame::NoHandle)
 ~IMFSampleVideoBuffer () override
MapData map (QVideoFrame::MapMode mode) override
 Maps the planes of a video buffer to memory.
void unmap () override
 Releases the memory mapped by the map() function.
Public Member Functions inherited from QHwVideoBuffer
 QHwVideoBuffer (QVideoFrame::HandleType type, QRhi *rhi=nullptr)
 ~QHwVideoBuffer () override
QVideoFrame::HandleType handleType () const
virtual QRhirhi () const
QVideoFrameFormat format () const override
 Gets \l QVideoFrameFormat of the underlying video buffer.
virtual QMatrix4x4 externalTextureMatrix () const
virtual void initTextureConverter (QRhi &)
virtual bool isDmaBuf () const
Public Member Functions inherited from QAbstractVideoBuffer
virtual ~QAbstractVideoBuffer ()
 \variable QAbstractVideoBuffer::MapData::planeCount
Public Member Functions inherited from QVideoFrameTexturesHandles
virtual ~QVideoFrameTexturesHandles ()
virtual quint64 textureHandle (QRhi &, int)

Additional Inherited Members

Protected Attributes inherited from IMFSampleVideoBuffer
ComPtr< IDirect3DDevice9Ex > m_device
ComPtr< IMFSample > m_sample
Protected Attributes inherited from QHwVideoBuffer
QVideoFrame::HandleType m_type
QRhim_rhi = nullptr

Detailed Description

Definition at line 132 of file evrd3dpresentengine.cpp.

Constructor & Destructor Documentation

◆ D3D11TextureVideoBuffer() [1/2]

D3D11TextureVideoBuffer::D3D11TextureVideoBuffer ( ComPtr< IDirect3DDevice9Ex > device,
const ComPtr< IMFSample > & sample,
HANDLE sharedHandle,
QRhi * rhi )
inline

Definition at line 135 of file evrd3dpresentengine.cpp.

References D3D11TextureVideoBuffer().

Referenced by D3D11TextureVideoBuffer().

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

◆ D3D11TextureVideoBuffer() [2/2]

D3D11TextureVideoBuffer::D3D11TextureVideoBuffer ( ComPtr< IDirect3DDevice9Ex > device,
const ComPtr< IMFSample > & sample,
HANDLE sharedHandle,
QRhi * rhi )
inline

Definition at line 135 of file evrd3dpresentengine.cpp.

Member Function Documentation

◆ mapTextures() [1/2]

QVideoFrameTexturesUPtr D3D11TextureVideoBuffer::mapTextures ( QRhi & rhi,
QVideoFrameTexturesUPtr &  )
inlineoverridevirtual

Reimplemented from QHwVideoBuffer.

Definition at line 141 of file evrd3dpresentengine.cpp.

◆ mapTextures() [2/2]

QVideoFrameTexturesUPtr D3D11TextureVideoBuffer::mapTextures ( QRhi & rhi,
QVideoFrameTexturesUPtr &  )
inlineoverridevirtual

Reimplemented from QHwVideoBuffer.

Definition at line 141 of file evrd3dpresentengine.cpp.


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