get_supported_wb_rb_gain_func_t

Updated: October 26, 2022

Retrieve the set of supported white balance red/blue gain values

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_supported_wb_rb_gain_func_t)(void *handle,
            unsigned *minWbVal,
            unsigned *maxWbVal);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
minWbVal
The returned minimum supported white balance gain value.
maxWbVal
The returned maximum supported white balance gain value.

Library:

libcamapi

Description:

This function retrieves the set of supported white balance red/blue gain values for the specified camera.

Note:

This function is optional. If it is not present, no manual white balance red/blue gain values will be supported for this camera.

Returns:

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