libcamera: internal: camera_sensor: Add accessor for mountingOrientation_
To properly handle the orientation in the dewarper, the mounting orientation of the sensor needs to be queryable. Add that. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
This commit is contained in:
@@ -73,6 +73,7 @@ public:
|
||||
virtual int sensorInfo(IPACameraSensorInfo *info) const = 0;
|
||||
virtual Transform computeTransform(Orientation *orientation) const = 0;
|
||||
virtual BayerFormat::Order bayerOrder(Transform t) const = 0;
|
||||
virtual Orientation mountingOrientation() const = 0;
|
||||
|
||||
virtual const ControlInfoMap &controls() const = 0;
|
||||
virtual ControlList getControls(Span<const uint32_t> ids) = 0;
|
||||
|
||||
Reference in New Issue
Block a user