camera_region_t

The camera region parameters used for focus lock, configuring focus, and functions that use autofocus, auto exposure, and auto white balance.

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: