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
QFFmpeg::VideoToolBoxTextureSet Class Reference
+ Inheritance diagram for QFFmpeg::VideoToolBoxTextureSet:
+ Collaboration diagram for QFFmpeg::VideoToolBoxTextureSet:

Public Member Functions

 ~VideoToolBoxTextureSet ()
 
qint64 textureHandle (QRhi *, int plane) override
 
- Public Member Functions inherited from QFFmpeg::TextureSet
virtual ~TextureSet ()
 

Public Attributes

QRhirhi = nullptr
 
CVMetalTextureRef cvMetalTexture [3] = {}
 
CVImageBufferRef m_buffer = nullptr
 

Detailed Description

Definition at line 38 of file qffmpeghwaccel_videotoolbox.mm.

Constructor & Destructor Documentation

◆ ~VideoToolBoxTextureSet()

QFFmpeg::VideoToolBoxTextureSet::~VideoToolBoxTextureSet ( )

Definition at line 256 of file qffmpeghwaccel_videotoolbox.mm.

References cvMetalTexture, i, and m_buffer.

Member Function Documentation

◆ textureHandle()

qint64 QFFmpeg::VideoToolBoxTextureSet::textureHandle ( QRhi * ,
int plane )
overridevirtual

Reimplemented from QFFmpeg::TextureSet.

Definition at line 271 of file qffmpeghwaccel_videotoolbox.mm.

References QRhi::backend(), cvMetalTexture, QRhi::Metal, Q_ASSERT, and rhi.

+ Here is the call graph for this function:

Member Data Documentation

◆ cvMetalTexture

CVMetalTextureRef QFFmpeg::VideoToolBoxTextureSet::cvMetalTexture[3] = {}

Definition at line 45 of file qffmpeghwaccel_videotoolbox.mm.

Referenced by ~VideoToolBoxTextureSet(), and textureHandle().

◆ m_buffer

CVImageBufferRef QFFmpeg::VideoToolBoxTextureSet::m_buffer = nullptr

Definition at line 53 of file qffmpeghwaccel_videotoolbox.mm.

Referenced by ~VideoToolBoxTextureSet().

◆ rhi

QRhi* QFFmpeg::VideoToolBoxTextureSet::rhi = nullptr

Definition at line 44 of file qffmpeghwaccel_videotoolbox.mm.

Referenced by textureHandle().


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