Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qffmpegsubtitlerenderer_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
QFFMPEGSUBTITLERENDERER_P_H
4
#
define
QFFMPEGSUBTITLERENDERER_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
17
#
include
<
QtFFmpegMediaPluginImpl
/
private
/
qffmpegrenderer_p
.
h
>
18
19
#
include
<
QtCore
/
qpointer
.
h
>
20
21
QT_BEGIN_NAMESPACE
22
23
class
QVideoSink;
24
25
namespace
QFFmpeg
{
26
27
class
SubtitleRenderer
:
public
Renderer
28
{
29
Q_OBJECT
30
public
:
31
SubtitleRenderer
(
const
PlaybackEngineObjectID
&
id
,
const
TimeController
&
tc
,
QVideoSink
*
sink
);
32
33
~
SubtitleRenderer
()
override
;
34
35
void
setOutput
(QVideoSink *sink,
bool
cleanPrevSink =
false
);
36
37
protected
:
38
RenderingResult
renderInternal
(Frame frame)
override
;
39
40
private
:
41
QPointer<QVideoSink> m_sink;
42
};
43
44
}
// namespace QFFmpeg
45
46
QT_END_NAMESPACE
47
48
#
endif
// QFFMPEGSUBTITLERENDERER_P_H
QFFmpeg::SubtitleRenderer
Definition
qffmpegsubtitlerenderer_p.h:28
QFFmpeg::SubtitleRenderer::~SubtitleRenderer
~SubtitleRenderer() override
Definition
qffmpegsubtitlerenderer.cpp:32
QFFmpeg::SubtitleRenderer::renderInternal
RenderingResult renderInternal(Frame frame) override
Definition
qffmpegsubtitlerenderer.cpp:38
QFFmpeg::SubtitleRenderer::setOutput
void setOutput(QVideoSink *sink, bool cleanPrevSink=false)
Definition
qffmpegsubtitlerenderer.cpp:18
QFFmpeg
Definition
qandroidcacertificates.cpp:26
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtmultimedia
src
plugins
multimedia
ffmpeg
playbackengine
qffmpegsubtitlerenderer_p.h
Generated on
for Qt by
1.16.1