Skip to main content
Version: 20 Mar 2024

MLCameraCaptureConfig

Structure to encapsulate capture configuration

Public Methods

MLCameraCaptureConfig Create

Create and return an initialized version of this struct.

public static MLCameraCaptureConfig Create()

Returns: A new instance of this struct.


MLCameraCaptureConfig Create

Create and initialize this native struct based on values exposed in MLCameraCaptureConfig .

public static MLCameraCaptureConfig Create(
MLCamera.CaptureConfig config
)

Parameters

TypeNameDescription
MLCamera.CaptureConfigconfig

Returns: A new instance of this struct.


Public Attributes

CaptureFrameRate

capture frame rate


public MLCamera.CaptureFrameRate CaptureFrameRate;

TypeDescription
MLCamera.CaptureFrameRateCapture Frame Rate Call MLCameraPrepareCapture to configure frame rate use FrameRate_None when configuring only Image capture FrameRate_60fps only supported when resolution of captures <= 1080P.

NumStreams

no of capture streams.


public uint NumStreams;


StreamConfig

Stream configurations


public MLCameraCaptureStreamConfig [] StreamConfig;

TypeDescription
MLCameraCaptureStreamConfig []Structure to encapsulate stream configurations

Version

version contains the version number for this structure.


public uint Version;