CopperSpice API  1.9.1
QCamera::FrameRateRange Class Reference

Represents a range of frame rates as minimum and maximum rate. More...

Public Methods

constexpr FrameRateRange ()
 
constexpr FrameRateRange (qreal minimum, qreal maximum)
 

Public Members

qreal maximumFrameRate
 
qreal minimumFrameRate
 

Detailed Description

A FrameRateRange represents a range of frame rates as minimum and maximum rate. If the minimum frame rate is equal to the maximum frame rate, the frame rate is fixed. If not, the actual frame rate fluctuates between the minimum and the maximum.

See also
QCamera::supportedViewfinderFrameRateRanges(), QCameraViewfinderSettings

Constructor & Destructor Documentation

constexpr QCamera::FrameRateRange::FrameRateRange ( )
inlineconstexpr

Constructs a null frame rate range with minimumFrameRate and maximumFrameRate both equal to 0.0.

constexpr QCamera::FrameRateRange::FrameRateRange ( qreal  minimum,
qreal  maximum 
)
inlineconstexpr

Constructs a frame rate range with the given minimum and maximum frame rates.

Member Data Documentation

qreal QCamera::FrameRateRange::maximumFrameRate

The maximum frame rate supported by the range, in frames per second.

qreal QCamera::FrameRateRange::minimumFrameRate

The minimum frame rate supported by the range, in frames per second.