5#ifndef QQUICKVIDEOOUTPUT_P_H
6#define QQUICKVIDEOOUTPUT_P_H
19#include <QtCore/qrect.h>
20#include <QtCore/qsharedpointer.h>
21#include <QtQuick/qquickitem.h>
22#include <QtCore/qpointer.h>
23#include <QtCore/qmutex.h>
25#include <private/qtmultimediaquickglobal_p.h>
31class QQuickVideoBackend;
41 Q_PROPERTY(
int orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
65 void setFillMode(FillMode
mode);
67 int orientation()
const;
68 void setOrientation(
int);
71 QRectF contentRect()
const;
83 void geometryChange(
const QRectF &newGeometry,
const QRectF &oldGeometry)
override;
84 void releaseResources()
override;
87 QSize nativeSize()
const;
88 void updateGeometry();
89 QRectF adjustedViewport()
const;
93 void invalidateSceneGraph();
95 void initRhiForSink();
99 void _q_newFrame(
QSize);
100 void _q_updateGeometry();
101 void _q_invalidateSceneGraph();
102 void _q_sceneGraphInitialized();
107 bool m_geometryDirty =
true;
110 int m_orientation = 0;
111 int m_frameOrientation = 0;
114 QPointer<QQuickWindow> m_window;
118 QList<QVideoFrame> m_videoFrameQueue;
120 bool m_frameChanged =
false;
123 QRectF m_sourceTextureRect;
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
ItemChange
Used in conjunction with QQuickItem::itemChange() to notify the item about certain types of changes.
Render video or camera viewfinder.
void fillModeChanged(QQuickVideoOutput::FillMode)
void contentRectChanged()
void orientationChanged()
\inmodule QtCore\reentrant
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
The QVideoFrame class represents a frame of video data.
The QVideoSink class represents a generic sink for video data.
Combined button and popup list for selecting options.
@ KeepAspectRatioByExpanding
GLfloat GLfloat GLfloat GLfloat h
#define QML_NAMED_ELEMENT(NAME)