Класс QCameraCaptureBufferFormatControl
Класс QCameraCaptureBufferFormatControl предоставляет средство управления форматом буфера захвата. Подробнее...
| Заголовок: | #include <QCameraCaptureBufferFormatControl> |
| qmake: | QT += multimedia |
| Наследует: | QMediaControl |
Этот класс устарел. Он предоставляется для обеспечения работы старого исходного кода. Мы настоятельно рекомендуем не использовать его в новом коде.
Открытые функции
| virtual | ~QCameraCaptureBufferFormatControl() |
| virtual QVideoFrame::PixelFormat | bufferFormat() const = 0 |
| virtual void | setBufferFormat(QVideoFrame::PixelFormat format) = 0 |
| virtual 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.15/qcameracapturebufferformatcontrol.html