camera_get_saturation()

Updated: May 06, 2022

Retrieve the saturation value configured for the camera

Synopsis:

#include <camera/camera_api.h>
camera_error_t camera_get_saturation(camera_handle_t handle,
                                     int32_t *saturation)

Arguments:

handle
The handle returned by a call to the camera_open() function.
saturation
A pointer to an int32_t that is updated with the current saturation value.

Library:

libcamapi

Description:

Use this function to retrieve the current saturation value. See also camera_set_saturation().

Returns:

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