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
qffmpegplaybackutils_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
4
#
ifndef
qffmpegplaybackutils_p_H
5
#
define
qffmpegplaybackutils_p_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
<
QtFFmpegMediaPluginImpl
/
private
/
qffmpegtime_p
.
h
>
19
20
#
include
<
QtCore
/
qdebug
.
h
>
21
#
include
<
QtCore
/
qtypes
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
namespace
QFFmpeg
{
26
27
struct
PlaybackEngineObjectID
28
{
29
quint64
objectID
= 0;
30
quint64
sessionID
= 0;
31
};
32
33
#
ifndef
QT_NO_DEBUG_STREAM
34
inline
QDebug
operator
<<(QDebug dbg,
const
PlaybackEngineObjectID
& id)
35
{
36
QDebugStateSaver s(dbg);
37
dbg.nospace();
38
dbg <<
"[session: "
<< id.sessionID <<
", object: "
<< id.objectID <<
"]"
;
39
return
dbg;
40
}
41
#
endif
42
43
struct
LoopOffset
44
{
45
TrackPosition
loopStartTimeUs
=
46
TrackPosition
(0);
// Accumulated duration of previous loops (microseconds)
47
int
loopIndex
= 0;
// Counts the number of times the media has been played
48
};
49
50
}
// namespace QFFmpeg
51
52
QT_END_NAMESPACE
53
54
#
endif
// qffmpegplaybackutils_p_H
QFFmpeg::QMacScreenCaptureStreamDelegate
QT_MANGLE_NAMESPACE(QMacScreenCaptureStreamDelegate) QMacScreenCaptureStreamDelegate
Definition
qmacscreencapturekit_p.h:47
QFFmpeg::operator<<
QDebug operator<<(QDebug dbg, const PlaybackEngineObjectID &id)
Definition
qffmpegplaybackutils_p.h:34
QFFmpeg::LoopOffset
Definition
qffmpegplaybackutils_p.h:44
QFFmpeg::LoopOffset::loopStartTimeUs
TrackPosition loopStartTimeUs
Definition
qffmpegplaybackutils_p.h:45
QFFmpeg::LoopOffset::loopIndex
int loopIndex
Definition
qffmpegplaybackutils_p.h:47
QFFmpeg::PlaybackEngineObjectID
Definition
qffmpegplaybackutils_p.h:28
QFFmpeg::PlaybackEngineObjectID::sessionID
quint64 sessionID
Definition
qffmpegplaybackutils_p.h:30
QFFmpeg::PlaybackEngineObjectID::objectID
quint64 objectID
Definition
qffmpegplaybackutils_p.h:29
qtmultimedia
src
plugins
multimedia
ffmpeg
playbackengine
qffmpegplaybackutils_p.h
Generated on
for Qt by
1.16.1