get_supported_contrast_func_t

Updated: April 19, 2023

Retrieve the range of supported contrast values

Synopsis:

#include <camera/external_camera_api.h>
typedef int(* get_supported_contrast_func_t)(void *handle,
            int32_t *minContrast,
            int32_t *maxContrast);

Arguments:

handle
The handle that's returned from calling the function open_external_camera_func_t.
minContrast
The returned minimum supported contrast value.
maxContrast
The returned maximum supported contrast value.

Library:

libcamapi

Description:

This function is used to retrieve the range of supported contrast values.

Note:

This function is optional. If it is not present, retrieving the supported contrast values will not 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.