[0/4] Black level and other fixes for IMX662
mbox series

Message ID 20260803123012.10175-1-david.plowman@raspberrypi.com
Headers show
Series
  • Black level and other fixes for IMX662
Related show

Message

David Plowman Aug. 3, 2026, 12:07 p.m. UTC
Hi

Work with the IMX662 sensor has shown a few relatively minor
fixes/tweaks to be necessary.

1. The difference between the exposure time and frame length needs to
be longer. There is a specific problem with the HCG (high conversion
gain) mode at very high gains.

2. The IMX662 black level varies at very high levels of analogue gain,
so this feature has been added to the black level control algorithm.

3. The udpated black level calibration is added to the IMX662 tuning
files.

4. The colour temperature curve for the IMX662 is extended slightly at
the bottom of the range (for slightly less orange images).

Thanks

David

David Plowman (4):
  ipa: rpi: cam_helper: Increase frameIntegrationDiff for IMX662
  ipa: rpi: Allow black levels to vary with analogue gain
  ipa: rpi: Update black level tuning for IMX662
  ipa: rpi: Update colour temperature curve for IMX662

 src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | 19 ++++++++---
 src/ipa/rpi/controller/rpi/black_level.cpp   | 33 +++++++++++++++++---
 src/ipa/rpi/controller/rpi/black_level.h     |  7 +++++
 src/ipa/rpi/pisp/data/imx662.json            | 15 +++++++--
 src/ipa/rpi/vc4/data/imx662.json             | 14 +++++++--
 5 files changed, 76 insertions(+), 12 deletions(-)