summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h2
-rw-r--r--include/libcamera/internal/camera_sensor.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index a4536c72..ae35792d 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -24,7 +24,6 @@
#include <libcamera/orientation.h>
#include <libcamera/request.h>
#include <libcamera/stream.h>
-#include <libcamera/transform.h>
namespace libcamera {
@@ -94,7 +93,6 @@ public:
std::size_t size() const;
std::optional<SensorConfiguration> sensorConfig;
- Transform transform;
Orientation orientation;
protected:
diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h
index 0b2ece31..bcdb2d83 100644
--- a/include/libcamera/internal/camera_sensor.h
+++ b/include/libcamera/internal/camera_sensor.h
@@ -33,6 +33,8 @@ class SensorConfiguration;
struct CameraSensorProperties;
+enum class Orientation;
+
class CameraSensor : protected Loggable
{
public:
@@ -76,7 +78,7 @@ public:
CameraLens *focusLens() { return focusLens_.get(); }
- Transform validateTransform(Transform *transform) const;
+ Transform computeTransform(Orientation *orientation) const;
protected:
std::string logPrefix() const override;