558#if QT_DEPRECATED_SINCE(6, 4)
564QVideoFrameFormat::YCbCrColorSpace QVideoFrameFormat::yCbCrColorSpace()
const
575void QVideoFrameFormat::setYCbCrColorSpace(QVideoFrameFormat::YCbCrColorSpace space)
728#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
768#if Q_BYTE_ORDER == Q_LITTLE_ENDIAN
901#ifndef QT_NO_DEBUG_STREAM
902# if QT_DEPRECATED_SINCE(6, 4)
908 case QVideoFrameFormat::YCbCr_BT601:
909 dbg <<
"YCbCr_BT601";
911 case QVideoFrameFormat::YCbCr_BT709:
912 dbg <<
"YCbCr_BT709";
914 case QVideoFrameFormat::YCbCr_JPEG:
917 case QVideoFrameFormat::YCbCr_xvYCC601:
918 dbg <<
"YCbCr_xvYCC601";
920 case QVideoFrameFormat::YCbCr_xvYCC709:
921 dbg <<
"YCbCr_xvYCC709";
923 case QVideoFrameFormat::YCbCr_BT2020:
924 dbg <<
"YCbCr_BT2020";
927 dbg <<
"YCbCr_Undefined";
940 dbg <<
"ColorSpace_BT601";
943 dbg <<
"ColorSpace_BT709";
946 dbg <<
"ColorSpace_AdobeRgb";
949 dbg <<
"ColorSpace_BT2020";
952 dbg <<
"ColorSpace_Undefined";
964 dbg <<
"BottomToTop";
967 dbg <<
"TopToBottom";
977 dbg <<
"QVideoFrameFormat(" <<
f.pixelFormat() <<
", " <<
f.frameSize()
978 <<
", viewport=" <<
f.viewport()
979 <<
", colorSpace=" <<
f.colorSpace()
981 <<
"\n pixel format=" <<
f.pixelFormat()
982 <<
"\n frame size=" <<
f.frameSize()
983 <<
"\n viewport=" <<
f.viewport()
984 <<
"\n colorSpace=" <<
f.colorSpace()
985 <<
"\n frameRate=" <<
f.frameRate()
986 <<
"\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
GLsizei GLsizei GLuint * shaders
#define QT_DEFINE_QESDP_SPECIALIZATION_DTOR(Class)
#define QStringLiteral(str)
#define Q_INIT_RESOURCE(name)
view viewport() -> scroll(dx, dy, deviceRect)