summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2022-11-24 09:41:56 +0100
committerJacopo Mondi <jacopo@jmondi.org>2022-12-09 08:57:40 +0100
commit9227deb254f6ed29837f4f8c490137be18d26056 (patch)
tree5d2abaa9b344c7119571a94fae764df8e9066275 /include
parent30a775b82af90b02e9fe6fe9bbd20f834a55c58a (diff)
libcamera: camera_sensor: Verify flips support
During the camera sensor driver validation, verify if the sensor supports horizontal and vertical flips and store a flag as CameraSensor::supportFlips_ class member. The flag will be later inspected when applying flips. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/camera_sensor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h
index b9f4d786..878f3c28 100644
--- a/include/libcamera/internal/camera_sensor.h
+++ b/include/libcamera/internal/camera_sensor.h
@@ -101,6 +101,7 @@ private:
Size pixelArraySize_;
Rectangle activeArea_;
const BayerFormat *bayerFormat_;
+ bool supportFlips_;
ControlList properties_;