libcamera/src
Laurent Pinchart b0e31c9020 ipa: ipu3: agc: Saturate the averages when computing relative luminance
The relative luminance is calculated using an iterative process to
account for saturation in the sensor, as multiplying pixels by a gain
doesn't increase the relative luminance by the same factor if some
regions are saturated. Relative luminance estimation doesn't apply a
saturation, which produces a value that doesn't match what the sensor
will output, and defeats the point of the iterative process. Fix it.

Fixes: f8f07f9468 ("ipa: ipu3: agc: Improve gain calculation")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Tested-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-11-23 10:29:31 +02:00
..
android android: Camera3RequestDescriptor: Provide a constructor for StreamBuffer 2021-11-08 17:34:45 +05:30
cam cam: Remove using namespace in stream_options.h 2021-10-15 05:05:38 +03:00
gstreamer gstreamer: Check if Stream configurations were generated correctly 2021-10-05 03:30:36 +03:00
ipa ipa: ipu3: agc: Saturate the averages when computing relative luminance 2021-11-23 10:29:31 +02:00
lc-compliance lc-compliance: Build with gtest in subprojects 2021-11-15 10:04:10 +00:00
libcamera ipa: ipu3: Move ExposureTime to IPA 2021-11-15 11:00:05 +01:00
qcam qcam: Remove using namespace in header files 2021-10-15 05:05:39 +03:00
v4l2 v4l2: Remove using namespace in header files 2021-10-15 05:05:40 +03:00
meson.build android: Split HAL to its own shared library 2021-06-25 16:09:46 +01:00