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;
40 Q_PROPERTY(
int orientation READ orientation WRITE setOrientation NOTIFY orientationChanged)
64 void setFillMode(FillMode
mode);
66 int orientation()
const;
67 void setOrientation(
int);
70 QRectF contentRect()
const;
87 QSize nativeSize()
const;
88 void updateGeometry();
89 QRectF adjustedViewport()
const;
91 friend class QSGVideoItemSurface;
95 void invalidateSceneGraph();
97 void initRhiForSink();
100 void _q_newFrame(
QSize);
101 void _q_updateGeometry();
102 void _q_invalidateSceneGraph();
103 void _q_sceneGraphInitialized();
108 bool m_geometryDirty =
true;
111 int m_orientation = 0;
112 int m_frameOrientation = 0;
121 bool m_frameChanged =
false;
124 QRectF m_sourceTextureRect;
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
virtual QSGNode * updatePaintNode(QSGNode *, UpdatePaintNodeData *)
Called on the render thread when it is time to sync the state of the item with the scene graph.
virtual void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry)
virtual void itemChange(ItemChange, const ItemChangeData &)
Called when change occurs for this item.
virtual void releaseResources()
This function is called when an item should release graphics resources which are not already managed ...
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
#define QML_NAMED_ELEMENT(NAME)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent