pipeline: ipu3: Drop unused code
Commit1a614866a2("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:1a614866a2("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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user