QCameraCaptureBufferFormatControl Class

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

頭: #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

詳細描述

The format is of type QVideoFrame::PixelFormat .

The interface name of QCameraCaptureBufferFormatControl is org.qt-project.qt.cameracapturebufferformatcontrol/5.0 作為定義在 QCameraCaptureBufferFormatControl_iid .

另請參閱 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 .

[虛擬] QCameraCaptureBufferFormatControl:: ~QCameraCaptureBufferFormatControl ()

Destroys an image buffer capture format control.

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

Returns the current buffer capture format.

另請參閱 setBufferFormat ().

[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 類。