Класс 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::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.13/qcameracapturebufferformatcontrol.html