camera_get_manual_white_balance_rb_gain()

Retrieve the manual white balance red and blue gains

Synopsis:

#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)

Arguments:

handle
The handle returned by a call to the camera_open() function.
red_gain
Pointer to integer that will be updated with the red gain value from camera.
blue_gain
Pointer to integer that will be updated with the blue gain value from camera.

Library:

libcamapi

Description:

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().

Returns:

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