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
qv4l2cameradevices_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
QV4L2CAMERADEVICES_P_H
5
#
define
QV4L2CAMERADEVICES_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
/
qplatformvideodevices_p
.
h
>
19
#
include
<
QtMultimedia
/
private
/
qplatformmediaintegration_p
.
h
>
20
#
include
<
QtCore
/
qfilesystemwatcher
.
h
>
21
22
QT_BEGIN_NAMESPACE
23
24
namespace
QtV4L2
{
25
26
class
Q_MULTIMEDIA_EXPORT
QV4L2CameraDevices
:
public
QPlatformVideoDevices
27
{
28
Q_OBJECT
29
public
:
30
QV4L2CameraDevices
(
QPlatformMediaIntegration
*
integration
);
31
32
public
Q_SLOTS
:
33
void
checkCameras
();
34
35
protected
:
36
QList
<
QCameraDevice
>
findVideoInputs
()
const
override
;
37
38
private
:
39
bool
doCheckCameras
();
40
41
private
:
42
QList
<
QCameraDevice
>
m_cameras
;
43
QFileSystemWatcher
m_deviceWatcher
;
44
};
45
46
}
// namespace QtV4L2
47
48
QT_END_NAMESPACE
49
50
#
endif
// QV4L2CAMERADEVICES_P_H
QtV4L2::QV4L2CameraDevices
Definition
qv4l2cameradevices_p.h:27
QtV4L2
Definition
qv4l2camera.cpp:18
QtV4L2::Q_STATIC_LOGGING_CATEGORY
Q_STATIC_LOGGING_CATEGORY(qLcV4L2Camera, "qt.multimedia.v4l2.camera")
QtV4L2::areCamerasEqual
static bool areCamerasEqual(QSpan< const QCameraDevice > a, QSpan< const QCameraDevice > b)
Definition
qv4l2cameradevices.cpp:24
qtmultimedia
src
multimedia
v4l2
qv4l2cameradevices_p.h
Generated on
for Qt by
1.16.1