MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QCameraCaptureBufferFormatControl Class Reference

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

 #include <QCameraCaptureBufferFormatControl>

Inherits: QMediaControl.

This class was introduced in QtMobility 1.2.

Public Functions

~QCameraCaptureBufferFormatControl ()
virtual QVideoFrame::PixelFormat bufferFormat () const = 0
virtual void setBufferFormat ( QVideoFrame::PixelFormat format ) = 0
virtual QList<QVideoFrame::PixelFormat> supportedBufferFormats () const = 0
  • 29 public functions inherited from QObject

Signals

void bufferFormatChanged ( QVideoFrame::PixelFormat format )

Protected Functions

QCameraCaptureBufferFormatControl ( QObject * parent = 0 )
  • 7 protected functions inherited from QObject

Macros

QCameraCaptureBufferFormatControl_iid

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 1 public variable inherited from QObject
  • 4 static public members inherited from QObject
  • 2 protected variables 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 com.nokia.Qt.QCameraCaptureBufferFormatControl/1.0 as defined in QCameraCaptureBufferFormatControl_iid.

See also QMediaService::requestControl().

Member Function Documentation

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

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

QCameraCaptureBufferFormatControl::~QCameraCaptureBufferFormatControl ()

Destroys an image buffer capture format control.

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

Returns the current buffer capture format.

This function was introduced in Qt Mobility 1.2.

See also setBufferFormat().

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

Signals the buffer image capture format changed to format.

This function was introduced in Qt Mobility 1.2.

void QCameraCaptureBufferFormatControl::setBufferFormat ( QVideoFrame::PixelFormat format ) [pure virtual]

Sets the buffer capture format.

This function was introduced in Qt Mobility 1.2.

See also bufferFormat().

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

Returns the list of the supported buffer capture formats.

This function was introduced in Qt Mobility 1.2.

Macro Documentation

QCameraCaptureBufferFormatControl_iid

com.nokia.Qt.QCameraCaptureBufferFormatControl/1.0

Defines the interface name of the QCameraCaptureBufferFormatControl class.