4#ifndef QABSTRACTVIDEOBUFFER_H
5#define QABSTRACTVIDEOBUFFER_H
18#include <QtMultimedia/qtmultimediaglobal.h>
19#include <QtMultimedia/qvideoframe.h>
21#include <QtCore/qmetatype.h>
22#include <QtGui/qmatrix4x4.h>
23#include <QtCore/private/qglobal_p.h>
53 int bytesPerLine[4] = {};
76#ifndef QT_NO_DEBUG_STREAM
The QAbstractVideoBuffer class is an abstraction for video data. \inmodule QtMultimedia.
virtual void unmap()=0
Releases the memory mapped by the map() function.
virtual std::unique_ptr< QVideoFrameTextures > mapTextures(QRhi *)
virtual MapData map(QVideoFrame::MapMode mode)=0
Independently maps the planes of a video buffer to memory.
virtual QByteArray underlyingByteArray(int) const
QVideoFrame::HandleType m_type
virtual QVideoFrame::MapMode mapMode() const =0
virtual quint64 textureHandle(QRhi *, int) const
Returns a texture handle to the data buffer.
virtual QMatrix4x4 externalTextureMatrix() const
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
virtual QRhiTexture * texture(uint plane) const =0
virtual ~QVideoFrameTextures()
MapMode
Enumerates how a video buffer's data is mapped to system memory.
HandleType
Identifies the type of a video buffers handle.
Combined button and popup list for selecting options.
Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, QVideoFrame::MapMode)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint64 GLenum handleType
unsigned long long quint64