camera_get_ev_offset()

Updated: April 19, 2023

Retrieve the current exposure value (EV) offset for exposure compensation

Synopsis:

#include <camera/camera_3a.h>
camera_error_t camera_get_ev_offset(camera_handle_t handle,
                                    double *offset)

Arguments:

handle
The handle returned by a call to the camera_open() function.
offset
A pointer to a double that will be updated with the current EV offset.

Library:

libcamapi

Description:

Use this function to retrieve the current EV offset. The current EV offset is disabled when the exposure mode is one of these values:

See also camera_set_ev_offset().

Returns:

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