VideoFormatChange
public readonly record struct VideoFormatChange : IEquatable<VideoFormatChange>
The camera's picture changed size or frame rate.
Delivered to the handler given to ThermalCamera.OnVideoFormatChange(…).
A camera renegotiates its video format on an operation-mode change and on a reconnect. The new size is what every buffer, bitmap and layout sized against the old one has to be rebuilt for, so this is the moment to do it rather than on the first frame that no longer fits.
VideoFormatChange: constructors
public VideoFormatChange(int Width, int Height, float FrameRate)
The camera's picture changed size or frame rate.
Width: The picture's width in pixels, from now on.Height: The picture's height in pixels, from now on.FrameRate: The frame rate the camera now runs at, in frames per second.
Delivered to the handler given to ThermalCamera.OnVideoFormatChange(…).
A camera renegotiates its video format on an operation-mode change and on a reconnect. The new size is what every buffer, bitmap and layout sized against the old one has to be rebuilt for, so this is the moment to do it rather than on the first frame that no longer fits.
VideoFormatChange: properties
public float FrameRate { get; init; }
The frame rate the camera now runs at, in frames per second.
public int Height { get; init; }
The picture's height in pixels, from now on.
public int Width { get; init; }
The picture's width in pixels, from now on.