Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qx11surfacecapture_p.h
Go to the documentation of this file.
1
// Copyright (C) 2023 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
X11SURFACECAPTURE_P_H
5
#
define
X11SURFACECAPTURE_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
QT_BEGIN_NAMESPACE
21
22
class
QX11SurfaceCapture :
public
QPlatformSurfaceCapture
23
{
24
class
Grabber;
25
26
public
:
27
explicit
QX11SurfaceCapture(Source initialSource);
28
~QX11SurfaceCapture() override;
29
30
QVideoFrameFormat frameFormat()
const
override;
31
32
static
bool
isSupported();
33
34
protected
:
35
bool
setActiveInternal(
bool
active) override;
36
37
private
:
38
void
activate(ScreenSource);
39
void
activate(
const
WindowSource &);
40
41
private
:
42
std::unique_ptr<Grabber> m_grabber;
43
};
44
45
QT_END_NAMESPACE
46
47
#
endif
// X11SURFACECAPTURE_P_H
QX11SurfaceCapture::Grabber
Definition
qx11surfacecapture.cpp:89
QX11SurfaceCapture::Grabber::create
static std::unique_ptr< Grabber > create(QX11SurfaceCapture &capture, QScreen *screen)
Definition
qx11surfacecapture.cpp:91
QX11SurfaceCapture::Grabber::format
const QVideoFrameFormat & format() const
Definition
qx11surfacecapture.cpp:110
QX11SurfaceCapture::Grabber::grabFrame
QVideoFrame grabFrame() override
Definition
qx11surfacecapture.cpp:302
QX11SurfaceCapture::Grabber::create
static std::unique_ptr< Grabber > create(QX11SurfaceCapture &capture, WId wid)
Definition
qx11surfacecapture.cpp:97
QX11SurfaceCapture::Grabber::~Grabber
~Grabber() override
Definition
qx11surfacecapture.cpp:103
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qCDebug
#define qCDebug(category,...)
Definition
qloggingcategory.h:162
Q_STATIC_LOGGING_CATEGORY
#define Q_STATIC_LOGGING_CATEGORY(name,...)
Definition
qloggingcategory.h:154
qtmultimedia
src
plugins
multimedia
ffmpeg
qx11surfacecapture_p.h
Generated on
for Qt by
1.18.0