MLCameraCaptureStreamConfig
Structure to encapsulate stream configurations
Public Methods
MLCameraCaptureStreamConfig Create
Create and return an initialized version of this struct.
public static MLCameraCaptureStreamConfig Create()
Returns: A new instance of this struct.
MLCameraCaptureStreamConfig Create
public static MLCameraCaptureStreamConfig Create(
MLCamera.CaptureStreamConfig config
)
Parameters
Type | Name | Description |
---|---|---|
MLCamera.CaptureStreamConfig | config |
Public Attributes
CaptureType
capture_type Image Preview
public MLCamera.CaptureType CaptureType;
Type | Description |
---|---|
MLCamera.CaptureType | Capture operation type |
Height
Resolution height
public int Height;
MediaRecorderSurfaceHandle
media recorder surface, only valid for capture type video * set to ML_INVALID_HANDLE for yuv/rgba video capture
public ulong MediaRecorderSurfaceHandle;
OutputFormat
output Format
public MLCamera.OutputFormat OutputFormat;
Type | Description |
---|---|
MLCamera.OutputFormat | Captured output format |
Width
Capture Resolution
public int Width;