camera_hdr_set_postview_size()

Set the HDR postview image size.

Synopsis:

#include <camera/camera_hdr.h>
 
camera_error_t camera_hdr_set_postview_size(camera_hdr_t hdr,                 
                                            uint32_t width,                 
                                            uint32_t height)

Since:

BlackBerry 10.3.0

Arguments:

hdr

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

width

The width of the HDR postview image.

height

The height of the HDR postview image.

Library:

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

Description:

This function specifies the resolution of the HDR postview image buffer returned by camera_hdr_take_photo() or the image buffer returned by camera_hdr_render() when invoked with CAMERA_HDR_RENDERTYPE_POSTVIEW.

Note: The HDR postview image size is reset when a camera is bound to the HDR session using camera_hdr_bind_camera().

Returns:

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