Kieran Bingham
3d4e0446af
ipa: mali-c55: Convert AWB to UQ<4, 8> usage
...
Utilise the new FixedPoint type to explicitly calculate gains for AWB in Q4.8
format. This ensures that reporting of gains in metadata reflect the true
AWB gains applied.
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com >
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2026-02-19 15:06:21 +00:00
Kieran Bingham
6b5ecd96ff
ipa: mali-c55: Reduce AWB calculations to float precision
...
The AWB calculations are determined using double precision, and then
will be soon stored in a quantized float.
Use float types for the intermediate types after the sums have been
converted to an average to remove static cast assignments.
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com >
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com >
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2026-02-19 15:06:21 +00:00
Jacopo Mondi
99e35cc9ec
ipa: mali-c55: Introduce MaliC55Params
...
Implement MaliC55Params to derive from V4L2Params and use the new
helpers in the Mali C55 IPA algorithms implementation.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Tested-by: Antoine Bouyer <antoine.bouyer@nxp.com >
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
2025-12-16 15:02:53 +01:00
Jacopo Mondi
907cd64a17
ipa: mali-c55: Update header file and adjust IPA
...
Update Mali C55 header file to the version merged in Linux v6.19-rc1 at
revision 08a99369f44e ("media: uapi: Add parameters structs to
mali-c55-config.h") with applied on top the in-review patch:
https://lore.kernel.org/all/20251215-mali-c55-header-update-for-v6-19-rc1-v1-3-69f56dee3c71@ideasonboard.com/
Adjust the IPA module to use the new header version which uses the
v4l2-isp framework.
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Tested-by: Antoine Bouyer <antoine.bouyer@nxp.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com >
2025-12-16 15:02:52 +01:00
Laurent Pinchart
cdc523225c
libcamera: Drop remaining file names from header comment blocks
...
Header comment blocks used to contain the file name. Considered as
useless information, the names have been removed, with the last ones
supposed to be dropped in commit d3bf27180e ("libcamera: Drop
remaining file names from header comment blocks"). A few have however
been forgotten, and more crept back since. Remove them.
While at it, fix one typo in a header comment block by replacing
'MaliC55 with Mali-C55', and add a missing blank line in
src/ipa/rpi/pisp/pisp.cpp.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com >
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com >
2025-07-24 21:04:09 +03:00
Daniel Scally
2f95217917
ipa: mali-c55: Add AWB Algorithm
...
Add a simple grey-world auto white balance algorithm to the mali-c55
IPA.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com >
Acked-by: Nayden Kanchev <nayden.kanchev@arm.com >
Co-developed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com >
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com >
2024-12-17 22:35:59 +00:00