4#ifndef QVIDEOTEXTUREHELPER_H
5#define QVIDEOTEXTUREHELPER_H
21#include <QtGui/qtextlayout.h>
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
The QPainter class performs low-level painting on widgets and other paint devices.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
Format
Describes the swapchain format.
Format
Specifies the texture format.
\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)
std::unique_ptr< QVideoFrameTextures > createTextures(QVideoFrame &frame, QRhi *rhi, QRhiResourceUpdateBatch *rub, std::unique_ptr< QVideoFrameTextures > &&oldTextures)
void updateUniformData(QByteArray *dst, const QVideoFrameFormat &format, const QVideoFrame &frame, const QMatrix4x4 &transform, float opacity, float maxNits)
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei height
const void GLsizei GLsizei stride
GLint GLsizei GLsizei GLenum format
GLuint GLenum GLenum transform
static constexpr QSize frameSize(const T &frame)
static bool translate(xcb_connection_t *connection, xcb_window_t child, xcb_window_t parent, int *x, int *y)
myFilter draw(painter, QPoint(0, 0), originalPixmap)
QRhiTexture::Format textureFormat[maxPlanes]
int widthForPlane(int width, int plane) const
static constexpr int maxPlanes
int heightForPlane(int height, int plane) const
int(*)(int stride, int height) BytesRequired
int bytesForSize(QSize s) const
SizeScale sizeScale[maxPlanes]
int strideForWidth(int width) const
BytesRequired bytesRequired
float transformMatrix[4][4]