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>
This commit is contained in:
David Plowman 2024-06-06 11:15:10 +01:00 committed by Kieran Bingham
parent b95032a842
commit e7d628942f
2 changed files with 698 additions and 96 deletions

View file

@ -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):