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

Public Types

using TextureArray = std::array<std::unique_ptr<QRhiTexture>, TextureDescription::maxPlanes>
 

Public Member Functions

 QVideoFrameTexturesArray (TextureArray &&textures, QVideoFrame mappedFrame={})
 
 ~QVideoFrameTexturesArray ()
 
QRhiTexturetexture (uint plane) const override
 
TextureArray takeTextures ()
 
- Public Member Functions inherited from QVideoFrameTextures
virtual ~QVideoFrameTextures ()
 

Detailed Description

Definition at line 663 of file qvideotexturehelper.cpp.

Member Typedef Documentation

◆ TextureArray

Constructor & Destructor Documentation

◆ QVideoFrameTexturesArray()

QVideoTextureHelper::QVideoFrameTexturesArray::QVideoFrameTexturesArray ( TextureArray && textures,
QVideoFrame mappedFrame = {} )
inline

Definition at line 667 of file qvideotexturehelper.cpp.

◆ ~QVideoFrameTexturesArray()

QVideoTextureHelper::QVideoFrameTexturesArray::~QVideoFrameTexturesArray ( )
inline

Definition at line 678 of file qvideotexturehelper.cpp.

References QVideoFrame::unmap().

+ Here is the call graph for this function:

Member Function Documentation

◆ takeTextures()

TextureArray QVideoTextureHelper::QVideoFrameTexturesArray::takeTextures ( )
inline

Definition at line 685 of file qvideotexturehelper.cpp.

Referenced by QVideoTextureHelper::createTexturesFromMemory().

+ Here is the caller graph for this function:

◆ texture()

QRhiTexture * QVideoTextureHelper::QVideoFrameTexturesArray::texture ( uint plane) const
inlineoverridevirtual

Implements QVideoFrameTextures.

Definition at line 680 of file qvideotexturehelper.cpp.


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