Updated: April 19, 2023 |
The exposure mode of the camera
#include <camera/camera_3a.h>
typedef enum { CAMERA_EXPOSUREMODE_DEFAULT, CAMERA_EXPOSUREMODE_OFF, CAMERA_EXPOSUREMODE_AUTO, CAMERA_EXPOSUREMODE_MANUAL, CAMERA_EXPOSUREMODE_ISO_PRIORITY, CAMERA_EXPOSUREMODE_SHUTTER_PRIORITY, CAMERA_EXPOSUREMODE_APERTURE_PRIORITY, CAMERA_EXPOSUREMODE_ISO_SHUTTER_PRIORITY, CAMERA_EXPOSUREMODE_ISO_APERTURE_PRIORITY, CAMERA_EXPOSUREMODE_SHUTTER_APERTURE_PRIORITY, CAMERA_EXPOSUREMODE_NUMEXPOSUREMODES } camera_exposuremode_t;
Because not every camera supports all exposure modes, CAMERA_EXPOSUREMODE_DEFAULT can always be used as an alias to the best automatic exposure mode that's supported by the camera.
The camera won't automatically adjust any of the exposure controls. The shutter speed, ISO value, and aperture value must all be set manually.
The camera automatically adjusts the shutter speed and aperture value.
The camera automatically adjusts the ISO value and aperture value.
The camera automatically adjusts the shutter speed and ISO value.
The camera automatically adjusts the aperture value.
The camera automatically adjusts the shutter speed.
The camera automatically adjusts the ISO value.
You can use the camera_get_exposure_modes() function to determine which modes are supported by the current platform and camera.