camera_hdr_get_supported_image_count()

Get the minimum and maximum supported number of images.

Synopsis:

#include <camera/camera_hdr.h>
 
camera_error_t camera_hdr_get_supported_image_count(camera_hdr_t hdr,                 
                                                    uint32_t *min,                 
                                                    uint32_t *max)

Since:

BlackBerry 10.3.0

Arguments:

hdr

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

min

A pointer to the returned minimum number of images required.

max

A pointer to the returned maximum number of images supported.

Library:

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

Description:

The HDR algorithm requires a number of input images. The number of images must fall between the minimum and maximum value returned by this function (inclusive).

In Realtime HDR capture mode, the range returned by this function defines the number of exposure values that can be programmed using camera_hdr_set_exposure_values().

In Offline HDR rendering mode, the range returned by this function defines the number of images that can be added as inputs to the HDR session using camera_hdr_add_image_to_session().

Returns:

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus