camera_set_whitebalance_mode()

Updated: April 19, 2023

Configure the white balance mode on the camera

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_set_whitebalance_mode(camera_handle_t handle,
                                            camera_whitebalancemode_t mode)

Arguments:

handle
The handle returned by a call to the camera_open() function.
mode
The white balance mode to apply.

Library:

libcamapi

Description:

Use this function to set the active white balance mode on the camera. To determine valid white balance modes that can be set, call the camera_get_whitebalance_modes() function.

Returns:

CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.