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
qpipewire_screencapture_p.h
Go to the documentation of this file.
1
// Copyright (C) 2024 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
QPIPEWIRE_SCREENCAPTURE_P_H
5
#
define
QPIPEWIRE_SCREENCAPTURE_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
<
QtMultimedia
/
private
/
qplatformsurfacecapture_p
.
h
>
19
20
#
include
<
memory
>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QtPipeWire
{
25
26
class
QPipeWireCaptureHelper
;
27
class
QPipeWireInstance
;
28
29
class
Q_MULTIMEDIA_EXPORT
QPipeWireCapture
:
public
QPlatformSurfaceCapture
30
{
31
Q_OBJECT
32
33
public
:
34
QPipeWireCapture
(
Source
initialSource
,
std
::
shared_ptr
<
QPipeWireInstance
>);
35
~
QPipeWireCapture
()
override
;
36
37
QVideoFrameFormat
frameFormat
()
const
override
;
38
39
static
std
::
unique_ptr
<
QPipeWireCapture
>
create
(
Source
initialSource
= {});
40
41
protected
:
42
bool
setActiveInternal
(
bool
active
)
override
;
43
44
private
:
45
const
std
::
shared_ptr
<
QPipeWireInstance
>
m_instance
;
46
std
::
unique_ptr
<
QPipeWireCaptureHelper
>
m_helper
;
47
};
48
49
}
// namespace QtPipeWire
50
51
QT_END_NAMESPACE
52
53
#
endif
// QPIPEWIRE_SCREENCAPTURE_P_H
QtPipeWire::QPipeWireCaptureHelper
Definition
qpipewire_screencapturehelper_p.h:43
QtPipeWire::QPipeWireCapture
Definition
qpipewire_screencapture_p.h:30
QtPipeWire::QPipeWireInstance
Definition
qpipewire_instance_p.h:43
QtPipeWire
Definition
qpipewire_async_support.cpp:10
qtmultimedia
src
multimedia
pipewire
qpipewire_screencapture_p.h
Generated on
for Qt by
1.16.1