camera3_stream_configuration Struct Reference

camera3_stream_configuration Struct Reference

#include < camera3.h >

Data Fields

uint32_t  num_streams
camera3_stream_t **  streams
uint32_t  operation_mode

Detailed Description


A structure of stream definitions, used by configure_streams(). This structure defines all the output streams and the reprocessing input stream for the current camera use case.

Definition at line 1688 of file camera3.h .

Field Documentation

uint32_t num_streams

The total number of streams requested by the framework. This includes both input and output streams. The number of streams will be at least 1, and there will be at least one output-capable stream.

Definition at line 1694 of file camera3.h .

uint32_t operation_mode


The operation mode of streams in this configuration, one of the value defined in camera3_stream_configuration_mode_t. The HAL can use this mode as an indicator to set the stream property (e.g., camera3_stream->max_buffers) appropriately. For example, if the configuration is CAMERA3_STREAM_CONFIGURATION_CONSTRAINED_HIGH_SPEED_MODE, the HAL may want to set aside more buffers for batch mode operation (see android.control.availableHighSpeedVideoConfigurations for batch mode definition).

Definition at line 1722 of file camera3.h .

An array of camera stream pointers, defining the input/output configuration for the camera HAL device.

At most one input-capable stream may be defined (INPUT or BIDIRECTIONAL) in a single configuration.

At least one output-capable stream must be defined (OUTPUT or BIDIRECTIONAL).

Definition at line 1706 of file camera3.h .

The documentation for this struct was generated from the following file: