18#include <QtMultimedia/qcameradevice.h>
19#include <QtCore/qsharedpointer.h>
20#include <QtCore/private/qglobal_p.h>
35 auto d = handle(format);
36 return d ? d->colorRange : QVideoFrameFormat::ColorRange_Unknown;
41 return format.d.get();
60 return device.d.data();
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;
70 QCameraDevice
create() {
return QCameraDevice(
this); }
QList< QAudioDevice > findAudioInputs() const override
QList< QAudioDevice > findAudioOutputs() const override
QPlatformAudioSource * createAudioSource(const QAudioDevice &, const QAudioFormat &, QObject *parent) override
QPlatformAudioSink * createAudioSink(const QAudioDevice &, const QAudioFormat &, QObject *parent) override
QLatin1String backendName() const override
QCameraDevice::Position position
QList< QCameraFormat > videoFormats
static const QCameraDevicePrivate * handle(const QCameraDevice &device)
bool operator==(const QCameraDevicePrivate &other) const
QList< QSize > photoResolutions
Q_MULTIMEDIA_EXPORT float convertVolume(float volume, VolumeScale from, VolumeScale to)
Converts an audio volume from a volume scale to another, and returns the result.
Combined button and popup list for selecting options.
bool operator!=(const unique_str &str, std::string_view sv)
bool operator==(const unique_str &str, std::string_view sv)
static QList< QAudioDevice > availableDevices(QAudioDevice::Mode mode)
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
void operator()(char *c) const