Класс QCameraCaptureBufferFormatControl
Класс QCameraCaptureBufferFormatControl предоставляет управление форматом буфера захвата. Подробнее...
| Заголовок: | #include <QCameraCaptureBufferFormatControl> |
| qmake: | QT += multimedia |
| Наследуется от: | QMediaControl |
Открытые функции
| виртуальный | ~QCameraCaptureBufferFormatControl() |
| виртуальный QVideoFrame::PixelFormat | bufferFormat() const = 0 |
| виртуальный void | setBufferFormat(QVideoFrame::PixelFormat format) = 0 |
| виртуальный QList<QVideoFrame::PixelFormat> | supportedBufferFormats() const = 0 |
Сигналы
| void | bufferFormatChanged(QVideoFrame::PixelFormat format) |
Защищенные функции
| QCameraCaptureBufferFormatControl(QObject *parent = nullptr) |
Макросы
| QCameraCaptureBufferFormatControl_iid |
Подробное описание
Формат имеет тип QVideoFrame::PixelFormat.
Имя интерфейса QCameraCaptureBufferFormatControl — org.qt-project.qt.cameracapturebufferformatcontrol/5.0 как определено в QCameraCaptureBufferFormatControl_iid.
См. также QMediaService::requestControl().
Документация по функциям-членам
[protected] QCameraCaptureBufferFormatControl::QCameraCaptureBufferFormatControl(QObject *parent = nullptr)
Создает новый объект управления форматом захвата буфера изображений с заданным parent
[signal] void QCameraCaptureBufferFormatControl::bufferFormatChanged(QVideoFrame::PixelFormat format)
Сигнализирует, что формат буфера захвата изображения изменился на format.
[virtual] QCameraCaptureBufferFormatControl::~QCameraCaptureBufferFormatControl()
Удаляет объект управления форматом захвата буфера изображений.
[pure virtual] QVideoFrame::PixelFormat QCameraCaptureBufferFormatControl::bufferFormat() const
Возвращает текущий формат захвата буфера.
См. также setBufferFormat().
[pure virtual] void QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format)
Устанавливает формат захвата буфера format.
См. также bufferFormat().
[pure virtual] QList<QVideoFrame::PixelFormat> QCameraCaptureBufferFormatControl::supportedBufferFormats() const
Возвращает список поддерживаемых форматов захвата буфера.
Документация по макросам
QCameraCaptureBufferFormatControl_iid
org.qt-project.qt.cameracapturebufferformatcontrol/5.0
Определяет имя интерфейса класса QCameraCaptureBufferFormatControl.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.14/qcameracapturebufferformatcontrol.html