[libcamera-devel] [PATCH 0/3] ipa: rkisp1: Add script to extract LSC tables from Android

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Mar 6 18:50:27 CET 2023


Hi Jacopo,

Thank you for the patches.

On Mon, Mar 06, 2023 at 06:24:37PM +0100, Jacopo Mondi via libcamera-devel wrote:
> Android configuration files in .xml format contain important information
> among which LSC tables which can be reused for libcamera.
> 
> Add a script to extract LSC tables from Android .xml configuration files
> used by the Rockchip IQ algorithm library.
> 
> With the new script extract LSC tables for the Google DRU and Pine64 Pinephone
> Pro devices and add tuning files for their sensors.

It would be an interesting exercise to later generate LSC tables with
our tuning tool and compare the values.

> Jacopo Mondi (3):
>   utils: rkisp1: Add script to extract LSC tables from Android
>   ipa: rkisp1: Add tuning files for Google DRU "Scarlet" sensors
>   ipa: rkisp1: Add tuning files for PinephonePro sensors
> 
>  src/ipa/rkisp1/data/imx258.yaml          |  54 +++++++
>  src/ipa/rkisp1/data/ov2685.yaml          |  41 +++++
>  src/ipa/rkisp1/data/ov5695.yaml          |  41 +++++

Those two sensors should be added to the camera sensor helper.

>  src/ipa/rkisp1/data/ov8858.yaml          |  54 +++++++
>  utils/rkisp1/lsc_parse_android_config.py | 187 +++++++++++++++++++++++
>  5 files changed, 377 insertions(+)
>  create mode 100644 src/ipa/rkisp1/data/imx258.yaml
>  create mode 100644 src/ipa/rkisp1/data/ov2685.yaml
>  create mode 100644 src/ipa/rkisp1/data/ov5695.yaml
>  create mode 100644 src/ipa/rkisp1/data/ov8858.yaml
>  create mode 100755 utils/rkisp1/lsc_parse_android_config.py

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list