MeasuredFrameRate
pub struct MeasuredFrameRate
What the camera is measured to be delivering.
Distinct from FrameRateInfo, which is the configuration. This
one is counted over a window, and the two differ on a camera that
drifts, which is the whole reason both exist.
MeasuredFrameRate — fields
valid: bool
Whether enough frames have arrived to measure anything.
measured_hz: f32
Real frames per second over the window.
delivered_hz: f32
Frames per second handed to the callbacks, repeats included.
Higher than MeasuredFrameRate::measured_hz whenever the SDK
is repeating a frame to keep a nominal rate, and that
difference is the thing worth watching: a display at 32 Hz
showing the same picture twice is not a camera at 32 Hz.
window: Duration
How long the window is.
real_frames: u32
Real frames in it.
repeated_frames: u32
Repeated frames in it.
total_real_frames: u64
Real frames since the camera was started.
total_repeated_frames: u64
Repeated frames since the camera was started.