[libcamera-devel] [PATCH v2 07/18] libcamera: software_isp: Add SwStats base class

Pavel Machek pavel at ucw.cz
Tue Feb 13 18:23:00 CET 2024


Hi!

> >> And I also plan to use swstats + the softIPA together with
> >> the atomisp, which has a working HW ISP, but we have no idea
> >> what the statistics mean so my plan so to use swstats
> >> for autogain + awb.
> > 
> > Fun hardware. You could still access the raw bayer, no?
> 
> No, the Android driver the current mainline-staging driver
> is based on has RAW bayer format support commented out
> with a statement that it is broken...

Fun :-).

> >> This will mean running swstats after debayering, so on
> >> say RGB888 or YUV420, so yet more formats to support.
> > 
> > For taking photos on cellphone, best solution would be to do swstats
> > (but not debayer) most of the time, so ability to do them on bayer
> > remains important.
> 
> Right, I'm not suggesting that we remove swstats support
> for Bayer formats. What I'm trying to say is that we will
> want to support some non Bayer formats on top of the Bayer
> formats.

Ok, interesting. It would eventually be good to do some ISP processing
while debayering (at least on GPU, black level compensation likely
makes sense on CPU, too), but this will make statistics after debayer
even more tricky.

Best regards,

							Pavel
-- 
People of Russia, stop Putin before his war on Ukraine escalates.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.libcamera.org/pipermail/libcamera-devel/attachments/20240213/381db36a/attachment.sig>


More information about the libcamera-devel mailing list