QCameraCaptureBufferFormatControl Class

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

头: #include <QCameraCaptureBufferFormatControl>
qmake: QT += multimedia
继承: QMediaControl

公共函数

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

QCameraCaptureBufferFormatControl_iid

额外继承成员

详细描述

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

The format is of type QVideoFrame::PixelFormat .

接口名称对于 QCameraCaptureBufferFormatControl is org.qt-project.qt.cameracapturebufferformatcontrol/5.0 作为定义在 QCameraCaptureBufferFormatControl_iid .

另请参阅 QMediaService::requestControl ().

成员函数文档编制

[protected] QCameraCaptureBufferFormatControl:: QCameraCaptureBufferFormatControl ( QObject * parent = Q_NULLPTR)

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

QCameraCaptureBufferFormatControl:: ~QCameraCaptureBufferFormatControl ()

Destroys an image buffer capture format control.

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

Returns the current buffer capture format.

另请参阅 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 .

另请参阅 bufferFormat ().

[pure virtual] QList < QVideoFrame::PixelFormat > QCameraCaptureBufferFormatControl:: supportedBufferFormats () const

Returns the list of the supported buffer capture formats.

宏文档编制

QCameraCaptureBufferFormatControl_iid

org.qt-project.qt.cameracapturebufferformatcontrol/5.0

定义接口名为 QCameraCaptureBufferFormatControl 类。