44 #include <private/qabstractvideobuffer_p.h> 77 return d_func()->mapMode;
88 *numBytes =
d->image.byteCount();
91 *bytesPerLine =
d->image.bytesPerLine();
93 return d->image.bits();
MapMode
Enumerates how a video buffer's data is mapped to memory.
#define QT_END_NAMESPACE
This macro expands to.
QAbstractVideoBuffer::MapMode mapMode
MapMode mapMode() const
Returns the mode a video buffer is mapped in.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QAbstractVideoBuffer class is an abstraction for video data.
uchar * map(MapMode mode, int *numBytes, int *bytesPerLine)
Maps the contents of a video buffer to memory.
QImageVideoBufferPrivate()
void unmap()
Releases the memory mapped by the map() function.
QImageVideoBuffer(const QImage &image)