Skip to main content
Version: 14 Oct 2024

MLCameraOutput

Module: Camera

More...

#include <ml_camera_v2.h>

Public Attributes

TypeName
uint32_tversion
uint8_tplane_count
Number of output image planes: 1 for compressed output such as JPEG stream, 3 for separate color component output such as YUV/RGB.
MLCameraPlaneInfo[MLCamera_MaxImagePlanes]planes
MLCameraOutputFormatformat

Detailed Description

struct MLCameraOutput;

A structure to encapsulate captured output.


Public Attributes Documentation

version

uint32_t version;

Version of this structure.


plane_count

uint8_t plane_count;

Number of output image planes: 1 for compressed output such as JPEG stream, 3 for separate color component output such as YUV/RGB.


planes

MLCameraPlaneInfo[MLCamera_MaxImagePlanes] planes;
TypeDescription
MLCameraPlaneInfo[MLCamera_MaxImagePlanes][MLCamera_MaxImagePlanes]

Output image plane info. The number of output planes is specified by plane_count.


format

MLCameraOutputFormat format;
TypeDescription
MLCameraOutputFormatCaptured output format. These three parameters determine which formats are supported:

Supported output format specified by MLCameraOutputFormat.