camera_region_t

This structure is used to identify a subset of pixels in an image.

Synopsis:

#include <camera/camera_api.h>
typedef struct  {
    uint32_t left ;
    uint32_t top ;
    uint32_t width ;
    uint32_t height ;
    uint32_t extra ;
}camera_region_t;

Since:

BlackBerry 10.0.0

Data:

uint32_t left
The left coordinate of the region.

A value of 0 refers to the leftmost column of the image.

uint32_t top
The top coordinate of the region.

A value of 0 refers to the topmost column of the image.

uint32_t width
The width of the region in pixels.
uint32_t height
The height of the region in pixels.
uint32_t extra
An additional application-dependent value that can be used to convey extra information about a region.

Typically, this extra information may be a weighting, ranking, or other application-specific value to apply when defining a set of regions.

Library:

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

Description:

Regions are used to report focus lock positions and to configure region-dependent focus, exposure, and white balance operations.

Last modified: 2014-05-14



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

comments powered by Disqus