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;

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 addition value that can be used to configure exposure, focus, or white balance.

Typically, the additional values can be a weighting, ranking, or other application-specific value.

Library:

libcamapi

Description:

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

Last modified: 2013-12-21

comments powered by Disqus