![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
QVideoFrameTextures is the base class representing an abstraction layer between QVideoFrame's texture(s) and rhi's plane textures. QVideoFrameTextures must own the inner rhi textures or share ownership. QVideoFrameTextures instances are propagated to QVideoFrameTexturesPool, where their lifetime is managed according to results of QRhi::currentFrameSlot upon rendering. More...
#include <qhwvideobuffer_p.h>
Public Member Functions | |
| QVideoFrameTextures (QVideoFrame sourceFrame={}) | |
| virtual | ~QVideoFrameTextures () |
| virtual QRhiTexture * | texture (uint plane) const =0 |
| 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 () |
QVideoFrameTextures is the base class representing an abstraction layer between QVideoFrame's texture(s) and rhi's plane textures. QVideoFrameTextures must own the inner rhi textures or share ownership. QVideoFrameTextures instances are propagated to QVideoFrameTexturesPool, where their lifetime is managed according to results of QRhi::currentFrameSlot upon rendering.
Definition at line 55 of file qhwvideobuffer_p.h.
|
explicit |
Definition at line 8 of file qhwvideobuffer.cpp.
|
virtualdefault |
|
inlinevirtual |
The virtual method should be invoked after QRhi::endFrame to unmap and free internal resources that are not needed anymore.
Reimplemented in QVideoTextureHelper::QVideoFrameTexturesFromMemory.
Definition at line 66 of file qhwvideobuffer_p.h.
|
inlinevirtual |
Reimplemented in QVideoTextureHelper::QVideoFrameTexturesFromHandlesSet.
Definition at line 68 of file qhwvideobuffer_p.h.
|
pure virtual |