summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2021-03-08 22:39:39 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-03-09 00:55:18 +0200
commit3a59555414da0f1c8a24bdede1ae279154a2f058 (patch)
tree33c1f632fb82881b9f8c4a2a5c78923ebc1788dc /src
parent8f3a54ae6a53076ebba44b13dbe237e348bd6d27 (diff)
ipa: raspberrypi: Rename vblank field in SensorConfig to vblankDelay
The name vblankDelay is clearer. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp2
-rw-r--r--src/libcamera/pipeline/raspberrypi/raspberrypi.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index 741bff4c..85a2b846 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -349,7 +349,7 @@ void IPARPi::configure(const CameraSensorInfo &sensorInfo,
result->params |= ipa::RPi::ConfigSensorParams;
result->sensorConfig.gainDelay = gainDelay;
result->sensorConfig.exposureDelay = exposureDelay;
- result->sensorConfig.vblank = vblankDelay;
+ result->sensorConfig.vblankDelay = vblankDelay;
result->sensorConfig.sensorMetadata = sensorMetadata;
}
diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
index db91f1b5..6387fae5 100644
--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
@@ -1266,7 +1266,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)
std::unordered_map<uint32_t, unsigned int> delays = {
{ V4L2_CID_ANALOGUE_GAIN, result.sensorConfig.gainDelay },
{ V4L2_CID_EXPOSURE, result.sensorConfig.exposureDelay },
- { V4L2_CID_VBLANK, result.sensorConfig.vblank }
+ { V4L2_CID_VBLANK, result.sensorConfig.vblankDelay }
};
delayedCtrls_ = std::make_unique<DelayedControls>(unicam_[Unicam::Image].dev(), delays);