summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2024-10-31 09:49:56 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-11-04 17:23:56 +0200
commit7154247b86d46bb538be8fedfd436749d72171c8 (patch)
treeeb6e8c8371b608aeb7c0133886c043592b9db6c1 /src/libcamera/pipeline/rpi/common/pipeline_base.cpp
parentd6a1d9596bca20188ad90c99654cf9dbff5de403 (diff)
pipeline: rpi: Pass ISP output index into platformSetIspCrop()
At this point, the index is unused, but will be in a future commit where we can set different crops on each ISP output. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline/rpi/common/pipeline_base.cpp')
-rw-r--r--src/libcamera/pipeline/rpi/common/pipeline_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
index 220c7b96..267e6bd9 100644
--- a/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
+++ b/src/libcamera/pipeline/rpi/common/pipeline_base.cpp
@@ -1321,7 +1321,7 @@ void CameraData::applyScalerCrop(const ControlList &controls)
if (ispCrop != cropParams.ispCrop) {
cropParams.ispCrop = ispCrop;
- platformSetIspCrop(ispCrop);
+ platformSetIspCrop(cropParams.ispIndex, ispCrop);
}
}
}