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
QAndroidVideoFrameTextures Class Reference
Inheritance diagram for QAndroidVideoFrameTextures:
Collaboration diagram for QAndroidVideoFrameTextures:

Public Member Functions

 QAndroidVideoFrameTextures (QRhi *rhi, QSize size, quint64 handle)
QRhiTexturetexture (uint plane) const override
 QAndroidVideoFrameTextures (QRhi *rhi, QSize size, quint64 handle)
QRhiTexturetexture (uint plane) const override
Public Member Functions inherited from QVideoFrameTextures
virtual ~QVideoFrameTextures ()
virtual void onFrameEndInvoked ()
 The virtual method should be invoked after QRhi::endFrame to unmap and free internal resources that are not needed anymore.
virtual QVideoFrameTexturesHandlesUPtr takeHandles ()
void setSourceFrame (QVideoFrame sourceFrame)
 Sets the source frame. It is a temporary solution to delegate frame's shared ownership to the instance. Ideally, the creators of QVideoFrameTextures's or QVideoFrameTexturesHandles's instances should manage ownership.

Detailed Description

Definition at line 22 of file qandroidvideooutput.cpp.

Constructor & Destructor Documentation

◆ QAndroidVideoFrameTextures() [1/2]

QAndroidVideoFrameTextures::QAndroidVideoFrameTextures ( QRhi * rhi,
QSize size,
quint64 handle )
inline

Definition at line 25 of file qandroidvideooutput.cpp.

◆ QAndroidVideoFrameTextures() [2/2]

QAndroidVideoFrameTextures::QAndroidVideoFrameTextures ( QRhi * rhi,
QSize size,
quint64 handle )
inline

Definition at line 25 of file qandroidvideooutput.cpp.

Member Function Documentation

◆ texture() [1/2]

QRhiTexture * QAndroidVideoFrameTextures::texture ( uint plane) const
inlineoverridevirtual

Implements QVideoFrameTextures.

Definition at line 31 of file qandroidvideooutput.cpp.

◆ texture() [2/2]

QRhiTexture * QAndroidVideoFrameTextures::texture ( uint plane) const
inlineoverridevirtual

Implements QVideoFrameTextures.

Definition at line 31 of file qandroidvideooutput.cpp.


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