summaryrefslogtreecommitdiff
path: root/src/apps/qcam/main.cpp
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-06-14 12:46:09 +0200
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2023-06-19 10:58:12 +0200
commit9c666075f3e8886217a4c557a6a59112a139e98f (patch)
tree6b63eaf9d043bd44051f873797b89e69c8adaf8b /src/apps/qcam/main.cpp
parent5a142438b025b448eedfa67678fe8e169c66f566 (diff)
libcamera: camera_sensor: Adjust properties::Rotation
As the CameraSensor::validateTransform() function compensate for the sensor's mounting rotation, the properties::Rotation value should be adjusted to make sure application that receive already "corrected" images do not get confused by Rotation still reporting a value. Howerver, as an image sensor can only compensate rotations by applying H/V flips, only correct Rotation when the mounting rotation is 180 degrees. Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/main.cpp')
0 files changed, 0 insertions, 0 deletions