44 #include <private/qabstractvideobuffer_p.h> 84 d->bytesPerLine = bytesPerLine;
99 return d_func()->mapMode;
113 *numBytes =
d->data.size();
116 *bytesPerLine =
d->bytesPerLine;
118 return reinterpret_cast<uchar *
>(
d->data.data());
MapMode
Enumerates how a video buffer's data is mapped to memory.
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
uchar * map(MapMode mode, int *numBytes, int *bytesPerLine)
Reimplemented Function
QMemoryVideoBuffer(const QByteArray &data, int bytesPerLine)
Constructs a video buffer with an image stride of bytesPerLine from a byte array. ...
~QMemoryVideoBuffer()
Destroys a system memory allocated video buffer.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QMemoryVideoBufferPrivate()
MapMode mapMode() const
Reimplemented Function
The QMemoryVideoBuffer class provides a system memory allocated video data buffer.
The QAbstractVideoBuffer class is an abstraction for video data.
QAbstractVideoBuffer::MapMode mapMode
void unmap()
Reimplemented Function