543#if QT_DEPRECATED_SINCE(6, 8)
547qreal QVideoFrameFormat::frameRate()
const
555void QVideoFrameFormat::setFrameRate(
qreal rate)
578#if QT_DEPRECATED_SINCE(6, 4)
584QVideoFrameFormat::YCbCrColorSpace QVideoFrameFormat::yCbCrColorSpace()
const
595void QVideoFrameFormat::setYCbCrColorSpace(QVideoFrameFormat::YCbCrColorSpace space)
765#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
807#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
940#ifndef QT_NO_DEBUG_STREAM
941# if QT_DEPRECATED_SINCE(6, 4)
947 case QVideoFrameFormat::YCbCr_BT601:
948 dbg <<
"YCbCr_BT601";
950 case QVideoFrameFormat::YCbCr_BT709:
951 dbg <<
"YCbCr_BT709";
953 case QVideoFrameFormat::YCbCr_JPEG:
956 case QVideoFrameFormat::YCbCr_xvYCC601:
957 dbg <<
"YCbCr_xvYCC601";
959 case QVideoFrameFormat::YCbCr_xvYCC709:
960 dbg <<
"YCbCr_xvYCC709";
962 case QVideoFrameFormat::YCbCr_BT2020:
963 dbg <<
"YCbCr_BT2020";
966 dbg <<
"YCbCr_Undefined";
979 dbg <<
"ColorSpace_BT601";
982 dbg <<
"ColorSpace_BT709";
985 dbg <<
"ColorSpace_AdobeRgb";
988 dbg <<
"ColorSpace_BT2020";
991 dbg <<
"ColorSpace_Undefined";
1003 dbg <<
"BottomToTop";
1006 dbg <<
"TopToBottom";
1016 dbg <<
"QVideoFrameFormat(" <<
f.pixelFormat() <<
", " <<
f.frameSize()
1017 <<
", viewport=" <<
f.viewport()
1018 <<
", colorSpace=" <<
f.colorSpace()
1020 <<
"\n pixel format=" <<
f.pixelFormat()
1021 <<
"\n frame size=" <<
f.frameSize()
1022 <<
"\n viewport=" <<
f.viewport()
1023 <<
"\n colorSpace=" <<
f.colorSpace()
1024 <<
"\n frameRate=" <<
f.streamFrameRate()
1025 <<
"\n mirrored=" <<
f.isMirrored();
void detach()
If the shared data object's reference count is greater than 1, this function creates a deep copy of t...
Format
The following image formats are available in Qt.
@ Format_RGBA8888_Premultiplied
@ Format_ARGB32_Premultiplied
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
constexpr int height() const noexcept
Returns the height.
constexpr int width() const noexcept
Returns the width.
constexpr bool isValid() const noexcept
Returns true if both the width and height is equal to or greater than 0; otherwise returns false.
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QVideoFrame class represents a frame of video data.
Combined button and popup list for selecting options.
QString vertexShaderFileName(const QVideoFrameFormat &format)
QString fragmentShaderFileName(const QVideoFrameFormat &format, QRhiSwapChain::Format surfaceFormat)
const TextureDescription * textureDescription(QVideoFrameFormat::PixelFormat format)
void updateUniformData(QByteArray *dst, const QVideoFrameFormat &format, const QVideoFrame &frame, const QMatrix4x4 &transform, float opacity, float maxNits)
constexpr const T & qMin(const T &a, const T &b)
constexpr T qAbs(const T &t)
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
GLuint GLenum GLenum transform
#define QT_DEFINE_QESDP_SPECIALIZATION_DTOR(Class)
#define QStringLiteral(str)
#define Q_INIT_RESOURCE(name)
view viewport() -> scroll(dx, dy, deviceRect)