summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_pretty_print_json.py
diff options
context:
space:
mode:
authorDavid Plowman <david.plowman@raspberrypi.com>2024-06-06 11:15:10 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-06-13 11:02:38 +0100
commite7d628942fd71899a13a3d9baf2b44075a92f20b (patch)
treeb7505b70be54e3879d6f7806aa0523218c2706fc /utils/raspberrypi/ctt/ctt_pretty_print_json.py
parentb95032a84259d5a6281bfb5b126711a47da02285 (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> Tested-by: Naushir Patuck <naush@raspberrypi.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.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):