IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

cameraFormat QML Value Type

Describes a video format supported by a camera device.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

cameraFormat QML Value Type

  • Import Statement: import QtMultimedia

  • Group: cameraFormat is part of qmlvaluetypes, multimedia_qml, multimedia_video_qml

Detailed Description

cameraFormat represents a certain video format supported by a camera device.

The format is a combination of a QVideoFrameFormat::PixelFormat, resolution and a range of frame rates.

cameraFormat objects can be queried from cameraDevice to inspect the set of supported video formats.

See Also

See also cameraDevice, Camera

Property Documentation

 

maxFrameRate : real

Returns the highest frame rate defined by this format.

In 6.2, the camera will always try to use the maximum frame rate supported by a certain video format.

minFrameRate : real

Returns the lowest frame rate defined by this format.

pixelFormat : enumeration

Holds the pixel format.

Most commonly this is either QVideoFrameFormat::Format_Jpeg or QVideoFrameFormat::Format_YUVY but other formats could also be supported by the camera.

See Also

resolution : size

Returns the resolution.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+