Updated: April 19, 2023 |
Configure the auto focus, auto exposure, and auto white balance (the 3A algorithms) locks on the camera
#include <camera/camera_3a.h>
camera_error_t camera_set_3a_lock(camera_handle_t handle, uint32_t locks)
Not all cameras allow the independent locking of individual 3A algorithms. For example, it may be required that auto exposure and auto white balance be locked together. Use the camera_get_3a_lock_modes() function to discover these restrictions.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.