Updated: October 28, 2024 |
Set the white balance value
#include <camera/external_camera_api.h>
typedef int(* set_whitebalance_func_t)(void *handle, unsigned wbVal);
This function changes the white balance value for a defined camera. The white balance value is a color temperature in Kelvin.
This function is optional. If it is not present, setting the white balance value will not be supported for this camera.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.