external_camera_api.h

Updated: April 19, 2023

Definitions and functions to use the External Camera library.

The cameras that this library works with must be configured in the sensor configuration file that's loaded by the Sensor service.
Note: The file that defines external_camera_defs or external_camera_defs_[tag] (typically a .c or .cpp file) needs to define EXTERNAL_CAMERA_API_IMPLEMENT prior to including external_camera_api.h. Because other camera header files could include external_camera_api.h, we recommend adding the #define EXTERNAL_CAMERA_API_IMPLEMENT prior to including any other camera header file. If external_camera_defs_[tag] is used in multiple files, define this flag in only one of them.