![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qhwvideobuffer_p.h>
Public Member Functions | |
QHwVideoBuffer (QVideoFrame::HandleType type, QRhi *rhi=nullptr) | |
~QHwVideoBuffer () override | |
QVideoFrame::HandleType | handleType () const |
virtual QRhi * | rhi () const |
QVideoFrameFormat | format () const override |
Gets \l QVideoFrameFormat of the underlying video buffer. | |
virtual QMatrix4x4 | externalTextureMatrix () const |
virtual QVideoFrameTexturesUPtr | mapTextures (QRhi &, QVideoFrameTexturesUPtr &) |
virtual void | initTextureConverter (QRhi &) |
virtual bool | isDmaBuf () const |
Public Member Functions inherited from QAbstractVideoBuffer | |
virtual | ~QAbstractVideoBuffer () |
\variable QAbstractVideoBuffer::MapData::planeCount | |
virtual MapData | map (QVideoFrame::MapMode mode)=0 |
Maps the planes of a video buffer to memory. | |
virtual void | unmap () |
Releases the memory mapped by the map() function. | |
Public Member Functions inherited from QVideoFrameTexturesHandles | |
virtual | ~QVideoFrameTexturesHandles () |
virtual quint64 | textureHandle (QRhi &, int) |
Protected Attributes | |
QVideoFrame::HandleType | m_type |
QRhi * | m_rhi = nullptr |
Definition at line 82 of file qhwvideobuffer_p.h.
QHwVideoBuffer::QHwVideoBuffer | ( | QVideoFrame::HandleType | type, |
QRhi * | rhi = nullptr ) |
Definition at line 12 of file qhwvideobuffer.cpp.
|
overridedefault |
|
inlinevirtual |
Definition at line 95 of file qhwvideobuffer_p.h.
|
inlineoverridevirtual |
Gets \l QVideoFrameFormat of the underlying video buffer.
The format must be available upon construction of \l QVideoFrame. QVideoFrame will contain won instance of the given format, that can be detached and modified.
Implements QAbstractVideoBuffer.
Definition at line 93 of file qhwvideobuffer_p.h.
|
inline |
Definition at line 90 of file qhwvideobuffer_p.h.
Reimplemented in QFFmpegVideoBuffer.
Definition at line 99 of file qhwvideobuffer_p.h.
|
inlinevirtual |
Reimplemented in QGstVideoBuffer.
Definition at line 101 of file qhwvideobuffer_p.h.
|
inlinevirtual |
Reimplemented in AndroidTextureVideoBuffer, AndroidTextureVideoBuffer, D3D11TextureVideoBuffer, D3D11TextureVideoBuffer, ImageFromVideoFrameHelper, ImageFromVideoFrameHelper, QFFmpegVideoBuffer, and QGstVideoBuffer.
Definition at line 97 of file qhwvideobuffer_p.h.
|
inlinevirtual |
Reimplemented in QFFmpegVideoBuffer.
Definition at line 91 of file qhwvideobuffer_p.h.
|
protected |
Definition at line 105 of file qhwvideobuffer_p.h.
|
protected |
Definition at line 104 of file qhwvideobuffer_p.h.