summaryrefslogtreecommitdiff
path: root/src/android/metadata
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-11-06 14:27:59 +0100
committerJacopo Mondi <jacopo@jmondi.org>2020-12-07 14:26:33 +0100
commitb33a5c4153852274efc7e3cd076d057bb7affbed (patch)
treeae41f7aa3261f5b69d59887d2c7d64c98c55de6f /src/android/metadata
parentc5b732b2caacdedde53160e9cf4adc6901fb7454 (diff)
libcamera: camera_sensor: Adjust CameraSensorInfo::analogCrop
The CameraSensorInfo::analogCrop top-left corner is defined relatively to the sensor active area. The analogCrop rectangle is constucted by retrieving the V4L2 selection target V4L2_SEL_TGT_CROP which is instead defined relatively to the whole sensor's pixel array size. Adjust the the analogCrop rectangle subtracting from its top-left corner the active area distance from the full pixel array. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/metadata')
0 files changed, 0 insertions, 0 deletions