camera3_stream_configuration Struct Reference
#include <
camera3.h
>
Data Fields |
|
uint32_t | num_streams |
camera3_stream_t ** | streams |
uint32_t | operation_mode |
Detailed Description
camera3_stream_configuration_t:
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.
Field Documentation
uint32_t num_streams |
uint32_t operation_mode |
>= CAMERA_DEVICE_API_VERSION_3_3:
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).
camera3_stream_t ** streams |
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).
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ camera3.h