4#ifndef QVIDEOSURFACEFORMAT_H
5#define QVIDEOSURFACEFORMAT_H
7#include <QtMultimedia/qtmultimediaglobal.h>
8#include <QtMultimedia/qtvideo.h>
10#include <QtCore/qlist.h>
11#include <QtCore/qmetatype.h>
12#include <QtCore/qshareddata.h>
13#include <QtCore/qsize.h>
14#include <QtGui/qimage.h>
70 static constexpr int NPixelFormats = Format_YUV420P10 + 1;
79#if QT_DEPRECATED_SINCE(6, 4)
95 ColorSpace_Undefined = 0,
98 ColorSpace_AdobeRgb = 5,
138 bool isValid()
const;
146 int frameWidth()
const;
147 int frameHeight()
const;
149 int planeCount()
const;
157#if QT_DEPRECATED_SINCE(6, 8)
164 qreal streamFrameRate()
const;
167#if QT_DEPRECATED_SINCE(6, 4)
169 YCbCrColorSpace yCbCrColorSpace() const;
171 void setYCbCrColorSpace(YCbCrColorSpace colorSpace);
183 bool isMirrored()
const;
184 void setMirrored(
bool mirrored);
189 QString vertexShaderFileName()
const;
190 QString fragmentShaderFileName()
const;
193 float maxLuminance()
const;
194 void setMaxLuminance(
float lum);
202 QExplicitlySharedDataPointer<QVideoFrameFormatPrivate>
d;
207#ifndef QT_NO_DEBUG_STREAM
210#if QT_DEPRECATED_SINCE(6, 4)
Format
The following image formats are available in Qt.
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoFrame class represents a frame of video data.
Combined button and popup list for selecting options.
constexpr bool operator!=(const timespec &t1, const timespec &t2)
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
GLuint GLenum GLenum transform
static constexpr QSize frameSize(const T &frame)
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define QT_DECLARE_QESDP_SPECIALIZATION_DTOR_WITH_EXPORT(Class, ExportMacro)
#define QT_DEPRECATED_VERSION_X_6_4(text)
#define QT_DEPRECATED_VERSION_X_6_8(text)
view viewport() -> scroll(dx, dy, deviceRect)