From 4eb3ff2350f6cf38fa72dfcfd98a41c2cda4ad95 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Thu, 29 Feb 2024 18:31:36 +0900 Subject: utils: libtuning: modules: Add skeletal AGC module Add a skeletal AGC module just so that we can have some AGC tuning values that we can use to test during development of AGC in the IPAs. As rkisp1 is the main target, we only add support for rkisp1 for now. The parameters are mostly copied from the hardcoded values in ctt, except for the metering modes. Signed-off-by: Paul Elder Reviewed-by: Stefan Klug Reviewed-by: Kieran Bingham --- utils/tuning/libtuning/modules/agc/agc.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 utils/tuning/libtuning/modules/agc/agc.py (limited to 'utils/tuning/libtuning/modules/agc/agc.py') diff --git a/utils/tuning/libtuning/modules/agc/agc.py b/utils/tuning/libtuning/modules/agc/agc.py new file mode 100644 index 00000000..9c8899ba --- /dev/null +++ b/utils/tuning/libtuning/modules/agc/agc.py @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: BSD-2-Clause +# +# Copyright (C) 2019, Raspberry Pi Ltd +# Copyright (C) 2024, Paul Elder + +from ..module import Module + +import libtuning as lt + + +class AGC(Module): + type = 'agc' + hr_name = 'AGC (Base)' + out_name = 'GenericAGC' + + # \todo Add sector shapes and stuff just like lsc + def __init__(self, *, + debug: list): + super().__init__() + + self.debug = debug -- cgit v1.2.1