Updated: April 19, 2023 |
Retrieve the manual white balance red and blue gains
#include <camera/camera_3a.h>
camera_error_t camera_get_manual_white_balance_rb_gain(camera_handle_t handle, unsigned *red_gain, unsigned *blue_gain)
Use this function to retrieve the current manual white balance red and blue gain values. If red and blue gains weren't already set, default values are returned. To see how to set the white balance red and blue gain values, see camera_set_manual_white_balance_rb_gain().
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.