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 QVideoFrame::PixelFormat bufferFormat() const = 0
virtual void setBufferFormat(QVideoFrame::PixelFormat format) = 0
virtual QList<QVideoFrame::PixelFormat> supportedBufferFormats() const = 0
  • 31 public functions inherited from QObject


void bufferFormatChanged(QVideoFrame::PixelFormat format)

Protected Functions

QCameraCaptureBufferFormatControl(QObject *parent = Q_NULLPTR)
  • 9 protected functions inherited from QObject


Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 11 static public members inherited from QObject

Detailed Description

The QCameraCaptureBufferFormatControl class provides a control for setting the capture buffer format.

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 = Q_NULLPTR)

Constructs a new image buffer capture format control object with the given parent


Destroys an image buffer capture format control.

[pure virtual] QVideoFrame::PixelFormat QCameraCaptureBufferFormatControl::bufferFormat() const

Returns the current buffer capture format.

See also setBufferFormat().

[signal] void QCameraCaptureBufferFormatControl::bufferFormatChanged(QVideoFrame::PixelFormat format)

Signals the buffer image capture format changed to format.

[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



Defines the interface name of the QCameraCaptureBufferFormatControl class.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.