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 left-most column of the image.
- uint32_t top
- The top coordinate of the region.
A value of 0 refers to the top-most 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:
libcamapiDescription:
Regions are used to report focus lock positions and to configure region-dependent focus, exposure, and white balance operations.
Page updated:
