[libcamera-devel] [PATCH 2/3] libcamera: pipeline: rkisp1: Reset sensor HBLANK control
David Plowman
david.plowman at raspberrypi.com
Tue Nov 22 13:03:42 CET 2022
Resetting the sensor's HBLANK to its minimum value is no longer
performed for us, so the pipeline handler must call the helper method
to do it.
Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
---
src/libcamera/pipeline/rkisp1/rkisp1.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1.cpp b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
index 3d3a7086..4163cc27 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1.cpp
@@ -632,6 +632,9 @@ int PipelineHandlerRkISP1::configure(Camera *camera, CameraConfiguration *c)
if (ret)
return ret;
+ /* Reset the horizontal blanking to minimum in case it has changed. */
+ sensor->resetHblank();
+
/*
* Configure the format on the sensor output and propagate it through
* the pipeline.
--
2.30.2
More information about the libcamera-devel
mailing list