From 196abb8d1d6e0fe9d190315e72a85eb12d16a554 Mon Sep 17 00:00:00 2001 From: Stefan Klug Date: Wed, 3 Jul 2024 15:49:54 +0200 Subject: ipa: rkisp1: Move ov4689 and ov5640 black levels into sensor helpers Move black levels for tuning files that contained a BLC block into the camera sensor helpers. ov4689.yaml had 66@12bit while the datasheet states 64@12bit. Use the value from the datasheet (scaled to 16bit). ov5640.yaml had 256@12bit while the datasheet states 16@10bit. Looking at the commit message the 256 most likely stems from the imx219 tuning file and 16@10bit is the same as the 64@12bit from the ov4689. This seems more likely and is therefore used. Signed-off-by: Stefan Klug Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- src/ipa/rkisp1/data/ov4689.yaml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/ipa/rkisp1/data/ov4689.yaml') diff --git a/src/ipa/rkisp1/data/ov4689.yaml b/src/ipa/rkisp1/data/ov4689.yaml index 2068684c..60901296 100644 --- a/src/ipa/rkisp1/data/ov4689.yaml +++ b/src/ipa/rkisp1/data/ov4689.yaml @@ -6,8 +6,4 @@ algorithms: - Agc: - Awb: - BlackLevelCorrection: - R: 66 - Gr: 66 - Gb: 66 - B: 66 ... -- cgit v1.2.1