[libcamera-devel] [PATCH v2 0/4] Raspberry Pi: Sensor limits

Naushir Patuck naush at raspberrypi.com
Mon Mar 27 11:34:35 CEST 2023


Hi,

Version 2 of this series is significantly different from version 1.
Specifically, on Jacopo's suggestion, I've moved the sensor limit fields into
the CameraMode structure.  This made the code changes less obtrusive overall.

Note that the AgcAlgorithm::setMaxShutter remains now as this is passed the
"current frame duration based" limits, as the mode structure stores the sensor
mode limits.

Regards,
Naush

Naushir Patuck (4):
  ipa: raspberrypi: Add sensor mode limits to CameraMode
  ipa: raspberrypi: Use the new sensor limits fields in CameraMode
  ipa: raspberrypi: Ensure shutter speed and gain are clipped in the AGC
  ipa: raspberrypi: Fix default frame durations calculation

 src/ipa/raspberrypi/controller/camera_mode.h | 10 +++-
 src/ipa/raspberrypi/controller/rpi/agc.cpp   | 55 ++++++++++++++-----
 src/ipa/raspberrypi/controller/rpi/agc.h     |  4 +-
 src/ipa/raspberrypi/raspberrypi.cpp          | 57 ++++++++++----------
 4 files changed, 83 insertions(+), 43 deletions(-)

-- 
2.34.1



More information about the libcamera-devel mailing list