Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
mfvideorenderercontrol_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef MFVIDEORENDERERCONTROL_H
5#define MFVIDEORENDERERCONTROL_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qobject.h>
19#include <qpointer.h>
20#include <qrect.h>
21#include <mfobjects.h>
22
25class QVideoSink;
26
28{
29public:
32
33 void setSink(QVideoSink *surface);
34 void setCropRect(const QRect &cropRect);
35
36 IMFActivate* createActivate();
37 void releaseActivate();
38
39private:
40 QPointer<QVideoSink> m_sink;
41 IMFActivate *m_currentActivate = nullptr;
42 EVRCustomPresenterActivate *m_presenterActivate = nullptr;
43};
44
46
47#endif
void setCropRect(const QRect &cropRect)
void setSink(QVideoSink *surface)
MFVideoRendererControl(QObject *parent=0)
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
\inmodule QtCore\reentrant
Definition qrect.h:30
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.