get_supported_whitebalance_func_t

Updated: April 19, 2023

Retrieve the range of supported white balance values

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_supported_whitebalance_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 value.
maxWbVal
The returned maximum supported white balance value.

Library:

libcamapi

Description:

This function retrieves the range of supported white balance values, which are expressed as color temperatures in Kelvin.
Note:

This function is optional. If it is not present, no white balance 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.