set_manual_wb_rb_gain_func_t
Change the white balance red and blue gain values in manual mode
Synopsis:
#include <camera/external_camera_api.h>typedef int(* set_manual_wb_rb_gain_func_t)(void *handle,
unsigned redGain,
unsigned blueGain);Arguments:
- handle
- The handle that's returned from calling the function open_external_camera_func_t.
- redGain
- The desired white balance red gain value to apply.
- blueGain
- The desired white balance blue gain value to apply.
Library:
libcamapiDescription:
This function sets the specified white balance red and blue gain values when the camera is in the appropriate manual white balance mode.
Note:
This function is optional. If it is not present, the camera will not support changing of the white balance red and blue gain values.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.
Page updated:
