[PATCH v2 4/5] utils: tuning: rkisp1: Add skeletal CTK to the rkisp1 tuning script

Dan Scally dan.scally at ideasonboard.com
Mon May 20 15:29:28 CEST 2024


On 17/05/2024 08:57, Paul Elder wrote:
> Add the skeletal CTK module to the rkisp1 tuning script. For now it just
> spits out hardcoded values.
>
> Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
> Reviewed-by: Stefan Klug <stefan.klug at ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally at ideasonboard.com>
> ---
> No change in v2
> ---
>   utils/tuning/rkisp1.py | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/utils/tuning/rkisp1.py b/utils/tuning/rkisp1.py
> index d216967a8..aded0d8f7 100755
> --- a/utils/tuning/rkisp1.py
> +++ b/utils/tuning/rkisp1.py
> @@ -12,6 +12,7 @@ from libtuning.parsers import YamlParser
>   from libtuning.generators import YamlOutput
>   from libtuning.modules.lsc import LSCRkISP1
>   from libtuning.modules.agc import AGCRkISP1
> +from libtuning.modules.ccm import CCMRkISP1
>   
>   tuner = lt.Tuner('RkISP1')
>   tuner.add(LSCRkISP1(
> @@ -34,9 +35,10 @@ tuner.add(LSCRkISP1(
>             smoothing_function=lt.smoothing.MedianBlur(3),
>             ))
>   tuner.add(AGCRkISP1(debug=[lt.Debug.Plot]))
> +tuner.add(CCMRkISP1(debug=[lt.Debug.Plot]))
>   tuner.set_input_parser(YamlParser())
>   tuner.set_output_formatter(YamlOutput())
> -tuner.set_output_order([AGCRkISP1, LSCRkISP1])
> +tuner.set_output_order([AGCRkISP1, LSCRkISP1, CCMRkISP1])
>   
>   if __name__ == '__main__':
>       sys.exit(tuner.run(sys.argv))


More information about the libcamera-devel mailing list