Skip to main content
Version: 12 Dec 2024

MLCameraCaptureConfig

Module: Camera

More...

#include <ml_camera_v2.h>

Public Attributes

TypeName
uint32_tversion
MLCameraCaptureFrameRatecapture_frame_rate
Capture frame rate: If only IMAGE stream configuration set to MLCameraCaptureFrameRate_None. If setting to 60fps capture resolution should not be more than 1920x1080 for any of the streams. For MR/virtual only capture, the frame rate should match the value selected in MLCameraMRConnectInfo.
uint32_tnum_streams
MLCameraCaptureStreamConfig[MLCAMERA_MAXSTREAMS]stream_config

Detailed Description

struct MLCameraCaptureConfig;

A structure to encapsulate capture configuration.


Public Attributes Documentation

version

uint32_t version;

Version of this structure.


capture_frame_rate

MLCameraCaptureFrameRate capture_frame_rate;

Capture frame rate: If only IMAGE stream configuration set to MLCameraCaptureFrameRate_None. If setting to 60fps capture resolution should not be more than 1920x1080 for any of the streams. For MR/virtual only capture, the frame rate should match the value selected in MLCameraMRConnectInfo.

TypeDescription
MLCameraCaptureFrameRateCaptures frame rate.

num_streams

uint32_t num_streams;

Number of captured streams.


stream_config

MLCameraCaptureStreamConfig[MLCAMERA_MAXSTREAMS] stream_config;
TypeDescription
MLCameraCaptureStreamConfig[MLCAMERA_MAXSTREAMS][MLCAMERA_MAXSTREAMS]

Stream configurations.