QCameraCaptureBufferFormatControl Class
The QCameraCaptureBufferFormatControl class provides a control for setting the capture buffer format. More...
Header: | #include <QCameraCaptureBufferFormatControl> |
qmake: | QT += multimedia |
Inherits: | QMediaControl |
Public Functions
virtual | ~QCameraCaptureBufferFormatControl() |
virtual QVideoFrame::PixelFormat | bufferFormat() const = 0 |
virtual void | setBufferFormat(QVideoFrame::PixelFormat format) = 0 |
virtual QList<QVideoFrame::PixelFormat> | supportedBufferFormats() const = 0 |
- 30 public functions inherited from QObject
Signals
void | bufferFormatChanged(QVideoFrame::PixelFormat format) |
- 2 signals inherited from QObject
Protected Functions
QCameraCaptureBufferFormatControl(QObject *parent = nullptr) |
- 9 protected functions inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QCameraCaptureBufferFormatControl_iid | |
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_MEDIA_DECLARE_CONTROL(Class, IId) | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 9 static public members inherited from QObject
Detailed Description
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().
Member Function Documentation
[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.
Macro Documentation
QCameraCaptureBufferFormatControl::QCameraCaptureBufferFormatControl_iid
org.qt-project.qt.cameracapturebufferformatcontrol/5.0
Defines the interface name of the QCameraCaptureBufferFormatControl class.