#include <functional>#include <QtCore/QString>#include <QtCore/qcontainerfwd.h>#include <QtMultimedia/QCameraDevice>#include <QtMultimedia/QVideoFrameFormat>Go to the source code of this file.
Namespaces | |
| namespace | UVCDevices |
Functions | |
| QStringList | UVCDevices::deviceNames () |
| Descriptions of the attached cameras. | |
| QCameraDevice | UVCDevices::device (const QString &description) |
The attached camera of description description; a null device when none is. | |
| bool | UVCDevices::deviceExists (const QString &description) |
| QString | UVCDevices::pixelFormatName (QVideoFrameFormat::PixelFormat pixelFormat) |
| "MJPEG", "YUYV", "NV12", ...; empty for an invalid format. | |
| QString | UVCDevices::formatName (const QCameraFormat &format) |
| "1920x1080 30 fps MJPEG": a camera format as settings store it and menus show it. | |
| QStringList | UVCDevices::formatNames (const QCameraDevice &device) |
| QCameraFormat | UVCDevices::format (const QCameraDevice &device, const QString &name) |
The format of device that formatName() calls name; a null format for none. | |
| void | UVCDevices::requestPermission (QObject *context, std::function< void()> granted) |