4#ifndef QVIDEOSURFACEFORMAT_H
5#define QVIDEOSURFACEFORMAT_H
7#include <QtMultimedia/qtmultimediaglobal.h>
9#include <QtCore/qlist.h>
10#include <QtCore/qmetatype.h>
11#include <QtCore/qshareddata.h>
12#include <QtCore/qsize.h>
13#include <QtGui/qimage.h>
69 static constexpr int NPixelFormats = Format_YUV420P10 + 1;
78#if QT_DEPRECATED_SINCE(6, 4)
94 ColorSpace_Undefined = 0,
97 ColorSpace_AdobeRgb = 5,
137 bool isValid()
const;
145 int frameWidth()
const;
146 int frameHeight()
const;
148 int planeCount()
const;
159#if QT_DEPRECATED_SINCE(6, 4)
161 YCbCrColorSpace yCbCrColorSpace() const;
163 void setYCbCrColorSpace(YCbCrColorSpace colorSpace);
175 bool isMirrored()
const;
176 void setMirrored(
bool mirrored);
178 QString vertexShaderFileName()
const;
179 QString fragmentShaderFileName()
const;
182 float maxLuminance()
const;
183 void setMaxLuminance(
float lum);
196#ifndef QT_NO_DEBUG_STREAM
199#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)
view viewport() -> scroll(dx, dy, deviceRect)