summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-05 14:49:17 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-02-09 21:40:47 +0200
commit9cc5cbadc2244560ea5325491acdb90e2bbbc196 (patch)
tree9c98a72a875d7074d2455b957a18f6672f4ea822 /src
parentec392360f65639d6fbc9d2c54fe119baa49248cb (diff)
pipeline: ipu3: Drop unused code
Commit 1a614866a29c ("libcamera: camera_sensor: Validate Transform") has removed usage of the IPU3CameraData::rotationTransform_ but hasn't removed the field itself, nor its initialization. Drop those as they're unused. Fixes: 1a614866a29c ("libcamera: camera_sensor: Validate Transform") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 3a569c7e..355cb0cb 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -73,7 +73,6 @@ public:
Stream rawStream_;
Rectangle cropRegion_;
- Transform rotationTransform_;
std::unique_ptr<DelayedControls> delayedCtrls_;
IPU3Frames frameInfos_;
@@ -1101,13 +1100,6 @@ int PipelineHandlerIPU3::registerCameras()
<< cio2->sensor()->id()
<< ". Assume rotation 0";
- int32_t rotationValue = rotation.value_or(0);
- bool success;
- data->rotationTransform_ = transformFromRotation(rotationValue, &success);
- if (!success)
- LOG(IPU3, Warning) << "Invalid rotation of " << rotationValue
- << " degrees: ignoring";
-
/**
* \todo Dynamically assign ImgU and output devices to each
* stream and camera; as of now, limit support to two cameras