7#include <QtMultimedia/qtmultimediaglobal.h>
8#include <QtMultimedia/qtvideo.h>
9#include <QtMultimedia/qvideoframeformat.h>
11#include <QtCore/qmetatype.h>
12#include <QtCore/qshareddata.h>
13#include <QtGui/qimage.h>
41 ReadWrite = ReadOnly | WriteOnly
44#if QT_DEPRECATED_SINCE(6, 7)
61 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QVideoFrame)
81 bool isMapped()
const;
83 bool isWritable()
const;
90 int bytesPerLine(
int plane)
const;
94 int mappedBytes(
int plane)
const;
95 int planeCount()
const;
103#if QT_DEPRECATED_SINCE(6, 7)
108 RotationAngle rotationAngle()
const {
return RotationAngle(rotation()); }
114 void setMirrored(
bool);
115 bool mirrored()
const;
118 qreal streamFrameRate()
const;
126 DontDrawSubtitles = 0x1
129 PaintFlags paintFlags = {};
142 QExplicitlySharedDataPointer<QVideoFramePrivate>
d;
147#ifndef QT_NO_DEBUG_STREAM
The QAbstractVideoBuffer class is an abstraction for video data. \inmodule QtMultimedia.
The QColor class provides colors based on RGB, HSV or CMYK values.
The QPainter class performs low-level painting on widgets and other paint devices.
\inmodule QtCore\reentrant
\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoFrame class represents a frame of video data.
MapMode
Enumerates how a video buffer's data is mapped to system memory.
QVideoFrame(const QVideoFrame &other)
Constructs a shallow copy of other.
HandleType
Identifies the type of a video buffers handle.
~QVideoFrame()
Destroys a video frame.
QVideoFrame(QVideoFrame &&other) noexcept=default
Constructs a QVideoFrame by moving from other.
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
#define Q_DECL_ENUMERATOR_DEPRECATED_X(x)
constexpr bool operator!=(const timespec &t1, const timespec &t2)
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
#define Q_DECLARE_FLAGS(Flags, Enum)
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLuint64 GLenum handleType
GLint GLsizei GLsizei GLenum format
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * bits
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(Class, ExportMacro)
#define QT_DEPRECATED_VERSION_X_6_7(text)
return device isReadable() ? device -> read(static_cast< char * >(buf), size) :-1
Q_MULTIMEDIA_EXPORT QDebug operator<<(QDebug, const QVideoFrame &)