Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qcameradevice_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 QCAMERAINFO_P_H
5#define QCAMERAINFO_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/qcameradevice.h>
19#include <QtCore/qsharedpointer.h>
20#include <QtCore/private/qglobal_p.h>
21
23
25{
26public:
29 float minFrameRate = 0;
30 float maxFrameRate = 0;
31
33};
34
36{
37public:
40 bool isDefault = false;
42 int orientation = 0;
45
47 {
48 return device.d.data();
49 }
50
52 {
53 return id == other.id && description == other.description && isDefault == other.isDefault
54 && position == other.position && orientation == other.orientation
55 && photoResolutions == other.photoResolutions && videoFormats == other.videoFormats;
56 }
57
59};
60
62
63#endif // QCAMERAINFO_P_H
IOBluetoothDevice * device
\inmodule QtCore
Definition qbytearray.h:57
QCameraDevice create()
QCameraDevice::Position position
QList< QCameraFormat > videoFormats
static const QCameraDevicePrivate * handle(const QCameraDevice &device)
bool operator==(const QCameraDevicePrivate &other) const
QList< QSize > photoResolutions
The QCameraDevice class provides general information about camera devices.
Position
This enum specifies the physical position of the camera on the system hardware.
QVideoFrameFormat::PixelFormat pixelFormat
QCameraFormat create()
The QCameraFormat class describes a video format supported by a camera device. \inmodule QtMultimedia...
Definition qlist.h:74
\inmodule QtCore
Definition qshareddata.h:19
\inmodule QtCore
Definition qsize.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
PixelFormat
Enumerates video data types.
Combined button and popup list for selecting options.
QSharedPointer< T > other(t)
[5]