The QCameraCaptureBufferFormatControl class provides a control for setting the capture buffer format. More...
Header: | #include <QCameraCaptureBufferFormatControl> |
qmake: | QT += multimedia |
Inherits: | QMediaControl |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
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 |
The format is of type QVideoFrame::PixelFormat.
The interface name of QCameraCaptureBufferFormatControl is org.qt-project.qt.cameracapturebufferformatcontrol/5.0
as defined in QCameraCaptureBufferFormatControl_iid.
See also QMediaService::requestControl().
[protected]
QCameraCaptureBufferFormatControl::QCameraCaptureBufferFormatControl(QObject *parent = nullptr)
Constructs a new image buffer capture format control object with the given parent
[signal]
void QCameraCaptureBufferFormatControl::bufferFormatChanged(QVideoFrame::PixelFormat format)
Signals the buffer image capture format changed to format.
[virtual]
QCameraCaptureBufferFormatControl::~QCameraCaptureBufferFormatControl()
Destroys an image buffer capture format control.
[pure virtual]
QVideoFrame::PixelFormat QCameraCaptureBufferFormatControl::bufferFormat() const
Returns the current buffer capture format.
See also setBufferFormat().
[pure virtual]
void QCameraCaptureBufferFormatControl::setBufferFormat(QVideoFrame::PixelFormat format)
Sets the buffer capture format.
See also bufferFormat().
[pure virtual]
QList<QVideoFrame::PixelFormat> QCameraCaptureBufferFormatControl::supportedBufferFormats() const
Returns the list of the supported buffer capture formats.
org.qt-project.qt.cameracapturebufferformatcontrol/5.0
Defines the interface name of the QCameraCaptureBufferFormatControl class.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qcameracapturebufferformatcontrol.html