Get the list of configured exposure value offsets.
#include <camera/camera_hdr.h>
camera_error_t camera_hdr_get_exposure_values(camera_hdr_t hdr,
uint32_t numasked,
uint32_t *numreturned,
double *offsets)
BlackBerry 10.3.0
The HDR session handle obtained from a call to camera_hdr_create().
The requested number of EV offsets to return in in the offsets array. You can specify a value of 0 to determine the number of EV offsets that can be returned.
A pointer to an integer that is updated with the number of EV offsets in the offsets array.
A pointer to a double array. The array is updated with the list of EV offsets currently configured. Ensure that you allocate an array with the same number of elements as the numasked argument.
This function retrieves the exposure value (EV) offsets at which the input images will be captured from the camera.
Ensure that the offsets argument points to an array which has at least numasked elements allocated. To determine an appropriate size for this array, you can invoke this function in presizing mode by setting the numasked argument to 0 or the offsets argument to NULL. When the function is invoked in this presizing mode, the maximum array size required is returned in the numreturned argument. You can then allocate an array of the appropriate size and invoke the function again with numasked argument set to the value returned previously in the numreturned argument.
This function can only be used in Realtime HDR capture mode.
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.