Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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)
 
std::unique_ptr< QVideoFrameTexturesmapTextures (QRhi *rhi) override
 

Detailed Description

Definition at line 133 of file evrd3dpresentengine.cpp.

Constructor & Destructor Documentation

◆ D3D11TextureVideoBuffer()

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

Definition at line 136 of file evrd3dpresentengine.cpp.

Member Function Documentation

◆ mapTextures()

std::unique_ptr< QVideoFrameTextures > D3D11TextureVideoBuffer::mapTextures ( QRhi * rhi)
inlineoverride

Definition at line 142 of file evrd3dpresentengine.cpp.

References QRhi::backend(), QRhiTexture::BGRA8, QRhi::D3D11, QRhi::nativeHandles(), QRhi::newTexture(), qCDebug, and QRhiTexture::RGBA8.

+ Here is the call graph for this function:

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