summaryrefslogtreecommitdiff
path: root/utils/tuning/libtuning
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2024-12-19 18:57:22 +0100
committerStefan Klug <stefan.klug@ideasonboard.com>2024-12-20 17:22:42 +0100
commit83e186a0945bc9fa37694b96e8ba361817d7e488 (patch)
tree502284ea51e97b451aa88880c859fe7d5dabbe24 /utils/tuning/libtuning
parent3077f951c105f54c7066723354d587f538856615 (diff)
libtuning: Remove the Cam object from ctt_awb.awb()
Replace the Cam object with a list parameter to be able to call the ctt_awb.awb() function from libtuning code. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/tuning/libtuning')
-rw-r--r--utils/tuning/libtuning/ctt_awb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/tuning/libtuning/ctt_awb.py b/utils/tuning/libtuning/ctt_awb.py
index 880094e9..b996daba 100644
--- a/utils/tuning/libtuning/ctt_awb.py
+++ b/utils/tuning/libtuning/ctt_awb.py
@@ -18,8 +18,7 @@ logger = logging.getLogger(__name__)
"""
obtain piecewise linear approximation for colour curve
"""
-def awb(Cam, cal_cr_list, cal_cb_list, plot):
- imgs = Cam.imgs
+def awb(imgs, cal_cr_list, cal_cb_list, plot):
"""
condense alsc calibration tables into one dictionary
"""