4#ifndef QOPENGLVIDEOBUFFER_P_H
5#define QOPENGLVIDEOBUFFER_P_H
18#include <private/qabstractvideobuffer_p.h>
33 void unmap()
override;
39 std::unique_ptr<QOpenGLFramebufferObject> m_fbo;
40 std::unique_ptr<QImageVideoBuffer> m_imageBuffer;
The QAbstractVideoBuffer class is an abstraction for video data. \inmodule QtMultimedia.
The QOpenGLFramebufferObject class encapsulates an OpenGL framebuffer object.
quint64 textureHandle(QRhi *, int plane) const override
Returns a texture handle to the data buffer.
QImageVideoBuffer & ensureImageBuffer()
void unmap() override
Releases the memory mapped by the map() function.
QOpenGLVideoBuffer(std::unique_ptr< QOpenGLFramebufferObject > fbo)
QVideoFrame::MapMode mapMode() const override
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
MapMode
Enumerates how a video buffer's data is mapped to system memory.
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
unsigned long long quint64