summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_pretty_print_json.py
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2023-10-06 11:00:46 +0100
committerNaushir Patuck <naush@raspberrypi.com>2023-11-15 09:17:34 +0000
commit7133386458afb5babaf587517a669f83ac9e49b8 (patch)
treef79b859f63a1e64ec2618153578acf965862ac31 /utils/raspberrypi/ctt/ctt_pretty_print_json.py
parentbc5932a4d423c744aa13bd011f19b471bb8347d1 (diff)
utils: raspberrypi: ctt: Update tuning tool for HDR
The various boilerplate parts of the tuning file are extended to include the necessary extra bits for HDR, specifically: * rpi.denoise has different configurations for HDR modes * rpi.agc now has extra channels for HDR * rpi.hdr parameters are added. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi/ctt/ctt_pretty_print_json.py')
-rwxr-xr-xutils/raspberrypi/ctt/ctt_pretty_print_json.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
index 350cec65..a4cae62d 100755
--- a/utils/raspberrypi/ctt/ctt_pretty_print_json.py
+++ b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
@@ -30,7 +30,8 @@ class Encoder(json.JSONEncoder):
'lut_ry': 9,
'gamma_curve': 2,
'y_target': 2,
- 'prior': 2
+ 'prior': 2,
+ 'tonemap': 2
}
def encode(self, o, node_key=None):