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
qffmpegvideorenderer_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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#ifndef QFFMPEGVIDEORENDERER_P_H
4#define QFFMPEGVIDEORENDERER_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
18
19#include <QtCore/qpointer.h>
20
22
23class QVideoSink;
24
25namespace QFFmpeg {
26
27class VideoRenderer : public Renderer
28{
30public:
32
33 void setOutput(QVideoSink *sink, bool cleanPrevSink = false);
34
35protected:
37
38private:
39 QPointer<QVideoSink> m_sink;
40 QtVideo::Rotation m_rotation;
41};
42
43} // namespace QFFmpeg
44
46
47#endif // QFFMPEGVIDEORENDERER_P_H
RenderingResult renderInternal(Frame frame) override
VideoRenderer(const TimeController &tc, QVideoSink *sink, QtVideo::Rotation rotation)
void setOutput(QVideoSink *sink, bool cleanPrevSink=false)
The QVideoSink class represents a generic sink for video data.
Definition qvideosink.h:22
Combined button and popup list for selecting options.
const GLfloat * tc
GLsizei GLenum GLboolean sink
#define Q_OBJECT
QFrame frame
[0]