[libcamera-devel] softISP for libcamera

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Dec 6 14:48:53 CET 2023


On Wed, Dec 06, 2023 at 02:44:41PM +0100, Pavel Machek via libcamera-devel wrote:
> Hi!
> 
> > I forgot to add the README.soft-isp.txt, in particular the command to setup the build:
> > 
> > $ meson setup -Dprefix=$INSTALL_DIR -Dpipelines=simple/linaro -Dipas=simple/linaro $BUILD_DIR
> > $ ninja -C $BUILD_DIR
> > $ ninja -C $BUILD_DIR install
> > 
> > With "-Dpipelines=simple/linaro -Dipas=simple/linaro" the libcamera/ipa/soft_ipa_interface.h
> > will be generated OK.
> 
> Thanks a lot, I got this all to work on pinephone.
> 
> I'd really like to see statistics gathering separated from
> debayer.
> 
> Another thing is that soft IPA is a bit too simplistic
> (soft_linaro.cpp):
> 
>         /*
>          * Try to use the minimal possible analogue gain.
>          * The exposure can be any value from exposure_min_ to exposure_max_,
>          * and normally this should keep the frame rate intact.
>          */
> 
> That will result in shooting at 1/15, ISO50 -- resulting in blurry
> photos (motion) -- even with sensors that could shoot at ISO500
> without getting grainy. RPI pipeline has support for this, with config
> file saying "stay at ISO50 to 1/60, then move iso up to ISO200 @ 1/60,
> then start adjusting exposure again". It would be nice to reuse it.

Let's please not refer to "ISO" in technical discussions. The ISO 12232
standard is pretty much useless, "ISO" values are only meant for
marketing.

> (Anyway, existing code is good enough for testing, and probably for
> webcam use).

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list