Class AndroidUVCCameraMode
- Assembly
- VisioForge.Core.dll
A resolution, frame rate and format combination that a USB (UVC) camera advertises. Obtained from AndroidUVCDevices.GetModes or AndroidUVCSourceBlock.GetModes.
public class AndroidUVCCameraModeInheritance
Inherited Members
Constructors
AndroidUVCCameraMode(AndroidUVCFrameFormat, int, int, VideoFrameRate)
Initializes a new instance of the VisioForge.Core.Types.X.Sources.AndroidUVC.AndroidUVCCameraMode class.
public AndroidUVCCameraMode(AndroidUVCFrameFormat format, int width, int height, VideoFrameRate frameRate)Parameters
formatAndroidUVCFrameFormat-
The frame format.
widthint-
The frame width, in pixels.
heightint-
The frame height, in pixels.
frameRateVideoFrameRate-
The frame rate.
Properties
Format
Gets the frame format.
public AndroidUVCFrameFormat Format { get; }Property Value
FrameRate
Gets the frame rate, derived from the frame interval the camera reports rather than from its rounded frame-per-second field - so a 29.97 fps mode is described as 29.97, not 29.
public VideoFrameRate FrameRate { get; }Property Value
Height
Gets the frame height, in pixels.
public int Height { get; }Property Value
Width
Gets the frame width, in pixels.
public int Width { get; }Property Value
Methods
ToString()
Returns a readable description of the mode, such as "1280x720 @ 30 MJPEG".
public override string ToString()