summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/raspberrypi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/raspberrypi.cpp')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index 569f7380..851597f0 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -216,7 +216,6 @@ void IPARPi::configure(const CameraSensorInfo &sensorInfo,
int gainDelay, exposureDelay, sensorMetadata;
helper_->GetDelays(exposureDelay, gainDelay);
sensorMetadata = helper_->SensorEmbeddedDataPresent();
- RPi::CamTransform orientation = helper_->GetOrientation();
IPAOperationData op;
op.operation = RPI_IPA_ACTION_SET_SENSOR_CONFIG;
@@ -224,11 +223,6 @@ void IPARPi::configure(const CameraSensorInfo &sensorInfo,
op.data.push_back(exposureDelay);
op.data.push_back(sensorMetadata);
- ControlList ctrls(unicam_ctrls_);
- ctrls.set(V4L2_CID_HFLIP, (int32_t) !!(orientation & RPi::CamTransform_HFLIP));
- ctrls.set(V4L2_CID_VFLIP, (int32_t) !!(orientation & RPi::CamTransform_VFLIP));
- op.controls.push_back(ctrls);
-
queueFrameAction.emit(0, op);
}