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
QVideoFrameTexturesHandles Class Reference

QVideoFrameTexturesHandles is the base class, providing texture handles for frame planes. Instances of the class may own textures, share ownership, or refer to inner hw textures of QVideoFrame. Referencing to inner frame's textures without shared ownership is not recommended, we strive to get around it; if texture are referencing, the source frame is kept in the QVideoFrameTextures instance via its constructor-provided source frame. More...

#include <qhwvideobuffer_p.h>

Inheritance diagram for QVideoFrameTexturesHandles:
Collaboration diagram for QVideoFrameTexturesHandles:

Public Member Functions

virtual ~QVideoFrameTexturesHandles ()
virtual quint64 textureHandle (QRhi &, int)
virtual std::optional< QVideoFrameFormat::PixelFormat > texturePixelFormat () const

Detailed Description

QVideoFrameTexturesHandles is the base class, providing texture handles for frame planes. Instances of the class may own textures, share ownership, or refer to inner hw textures of QVideoFrame. Referencing to inner frame's textures without shared ownership is not recommended, we strive to get around it; if texture are referencing, the source frame is kept in the QVideoFrameTextures instance via its constructor-provided source frame.

Definition at line 39 of file qhwvideobuffer_p.h.

Constructor & Destructor Documentation

◆ ~QVideoFrameTexturesHandles()

QVideoFrameTexturesHandles::~QVideoFrameTexturesHandles ( )
virtualdefault

Member Function Documentation

◆ textureHandle()

virtual quint64 QVideoFrameTexturesHandles::textureHandle ( QRhi & ,
int  )
inlinevirtual

◆ texturePixelFormat()

virtual std::optional< QVideoFrameFormat::PixelFormat > QVideoFrameTexturesHandles::texturePixelFormat ( ) const
inlinevirtual

Reimplemented in QtMultimediaPrivate::DmaBufTextureHandles.

Definition at line 48 of file qhwvideobuffer_p.h.


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