Table of Contents

Class AndroidUVCCameraMode

Namespace
VisioForge.Core.Types.X.Sources.AndroidUVC
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 AndroidUVCCameraMode

Inheritance

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

format AndroidUVCFrameFormat

The frame format.

width int

The frame width, in pixels.

height int

The frame height, in pixels.

frameRate VideoFrameRate

The frame rate.

Properties

Format

Gets the frame format.

public AndroidUVCFrameFormat Format { get; }

Property Value

AndroidUVCFrameFormat

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

VideoFrameRate

Height

Gets the frame height, in pixels.

public int Height { get; }

Property Value

int

Width

Gets the frame width, in pixels.

public int Width { get; }

Property Value

int

Methods

ToString()

Returns a readable description of the mode, such as "1280x720 @ 30 MJPEG".

public override string ToString()

Returns

string

A String that represents this instance.