From 9fc86dc02ac227a5af14e19f7f6253df377fd2e8 Mon Sep 17 00:00:00 2001 From: Stefan Klug Date: Wed, 4 Dec 2024 11:21:17 +0100 Subject: libipa: agc_mean_luminance: Rename yaml key from exposure-time to exposureTime In d0478c41f432 ("libcamera: Rename "shutter speed" to "exposure time"") the tuning file entry "shutter" was renamed to "exposure-time". As the tuning files use camel cased key names, change "exposure-time" to "exposureTime" for consistency. It doesn't break our users setups as there are no tuning files using that entry in the wild (at least officially). Signed-off-by: Stefan Klug Reviewed-by: Daniel Scally Reviewed-by: Kieran Bingham --- utils/tuning/libtuning/modules/agc/rkisp1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/tuning') diff --git a/utils/tuning/libtuning/modules/agc/rkisp1.py b/utils/tuning/libtuning/modules/agc/rkisp1.py index 1a4dbe7b..2dad3a09 100644 --- a/utils/tuning/libtuning/modules/agc/rkisp1.py +++ b/utils/tuning/libtuning/modules/agc/rkisp1.py @@ -47,9 +47,9 @@ class AGCRkISP1(AGC): } def _generate_exposure_modes(self) -> dict: - normal = {'exposure-time': [100, 10000, 30000, 60000, 120000], + normal = {'exposureTime': [100, 10000, 30000, 60000, 120000], 'gain': [2.0, 4.0, 6.0, 6.0, 6.0]} - short = {'exposure-time': [100, 5000, 10000, 20000, 120000], + short = {'exposureTime': [100, 5000, 10000, 20000, 120000], 'gain': [2.0, 4.0, 6.0, 6.0, 6.0]} return {'ExposureNormal': normal, 'ExposureShort': short} -- cgit v1.2.1