camera_hdr_set_exposure_values()

Set the exposure value offsets used for HDR capture.

Synopsis:

#include <camera/camera_hdr.h>
 
camera_error_t camera_hdr_set_exposure_values(camera_hdr_t hdr,                 
                                              const double *offsets,                 
                                              uint32_t num)

Since:

BlackBerry 10.3.0

Arguments:

hdr

The HDR session handle obtained from a call to camera_hdr_create().

offsets

The list of EV offsets to set.

num

The number of EV offsets in the offsets array.

Library:

libcamerafeatures (For the qcc command, use the -l camerafeatures option to link against this library)

Description:

This function sets the exposure value (EV) offsets at which the input images will be captured. The EV offsets must fall within the range reported by camera_hdr_get_supported_exposure_values().

This function can only be used in Realtime HDR capture mode.

Returns:

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