4#ifndef QSGVIDEONODE_P_H
5#define QSGVIDEONODE_P_H
18#include <QtQuick/qsgnode.h>
19#include <private/qtmultimediaquickglobal_p.h>
20#include "private/qvideotexturehelper_p.h"
22#include <QtMultimedia/qvideoframe.h>
23#include <QtMultimedia/qvideoframeformat.h>
24#include <QtGui/qopenglfunctions.h>
47 void setSubtitleGeometry();
52 int m_orientation = -1;
53 int m_frameOrientation = -1;
54 bool m_frameMirrored =
false;
Render video or camera viewfinder.
\inmodule QtCore\reentrant
Format
Describes the swapchain format.
The QSGGeometryNode class is used for all rendered content in the scene graph.
QSGNode * parent() const
Returns the parent node of this node.
void setHdrInfo(const QRhiSwapChainHdrInfo &hdrInfo)
void setTexturedRectGeometry(const QRectF &boundingRect, const QRectF &textureRect, int orientation)
void setSurfaceFormat(const QRhiSwapChain::Format surfaceFormat)
QVideoFrameFormat::PixelFormat pixelFormat() const
QSGVideoNode(QQuickVideoOutput *parent, const QVideoFrameFormat &videoFormat)
void setCurrentFrame(const QVideoFrame &frame)
The QVideoFrame class represents a frame of video data.
Combined button and popup list for selecting options.
static const QRectF boundingRect(const QPointF *points, int pointCount)