Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
46
48{
49public:
52 bool isDefault = false;
54 int orientation = 0;
55 QList<QSize> photoResolutions;
56 QList<QCameraFormat> videoFormats;
57
59 {
60 return device.d.data();
61 }
62
64 {
65 return id == other.id && description == other.description && isDefault == other.isDefault
66 && position == other.position && orientation == other.orientation
67 && photoResolutions == other.photoResolutions && videoFormats == other.videoFormats;
68 }
69
71};
72
74
75#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::ColorRange colorRange
static const QCameraFormatPrivate * handle(const QCameraFormat &format)
QVideoFrameFormat::PixelFormat pixelFormat
static QVideoFrameFormat::ColorRange getColorRange(const QCameraFormat &format)
QCameraFormat create()
The QCameraFormat class describes a video format supported by a camera device. \inmodule QtMultimedia...
\inmodule QtCore
Definition qshareddata.h:19
\inmodule QtCore
Definition qsize.h:25
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
PixelFormat
Enumerates video data types.
ColorRange
Describes the color range used by the video data.
Combined button and popup list for selecting options.
GLuint64 GLenum void * handle
GLint GLsizei GLsizei GLenum format
QSharedPointer< T > other(t)
[5]