[libcamera-devel] Patch to allow the mean of an empty histogram interval

Nick Hollinghurst nick.hollinghurst at raspberrypi.com
Wed Dec 6 18:27:42 CET 2023


Hi All,

I'd like to relax an assertion in the RPi IPA code, and handle cases
where we try to take the weighted mean of a zero-width or zero-weight
interval on a histogram. Currently this can cause a crash in some
error cases on a Raspberry Pi 5 where empty statistics are generated
(something we need to investigate and handle better, but not here).

Thanks,

 Nick



More information about the libcamera-devel mailing list