summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-18 09:15:57 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-28 13:47:49 +0300
commit0c84c67e39e40db43605af0ee0a65b91114f6315 (patch)
tree3224d03582398373e2076c6e6d75b5ade3e4e300 /src/ipa
parent38987e165c2835d3d172be8a39c64c50903c86d6 (diff)
ipa: raspberrypi: Replace tabs with spaces in tuning data files
Tuning data files mostly use spaces for indentation, with occasional stray tabs. Use spaces consistently. This allows parsing the tuning files with libyaml, preparing to replace the dependency on boost. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: Naushir Patuck <naush@raspberrypi.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/raspberrypi/data/imx219.json8
-rw-r--r--src/ipa/raspberrypi/data/imx219_noir.json10
-rw-r--r--src/ipa/raspberrypi/data/imx290.json18
-rw-r--r--src/ipa/raspberrypi/data/imx477.json8
-rw-r--r--src/ipa/raspberrypi/data/imx477_noir.json10
-rw-r--r--src/ipa/raspberrypi/data/ov5647.json10
-rw-r--r--src/ipa/raspberrypi/data/ov5647_noir.json12
-rw-r--r--src/ipa/raspberrypi/data/se327m12.json6
8 files changed, 41 insertions, 41 deletions
diff --git a/src/ipa/raspberrypi/data/imx219.json b/src/ipa/raspberrypi/data/imx219.json
index de59d936..4e24c5d5 100644
--- a/src/ipa/raspberrypi/data/imx219.json
+++ b/src/ipa/raspberrypi/data/imx219.json
@@ -189,10 +189,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
diff --git a/src/ipa/raspberrypi/data/imx219_noir.json b/src/ipa/raspberrypi/data/imx219_noir.json
index 9a3f03ec..1835ec3d 100644
--- a/src/ipa/raspberrypi/data/imx219_noir.json
+++ b/src/ipa/raspberrypi/data/imx219_noir.json
@@ -31,7 +31,7 @@
},
"rpi.awb":
{
- "bayes": 0
+ "bayes": 0
},
"rpi.agc":
{
@@ -121,10 +121,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
diff --git a/src/ipa/raspberrypi/data/imx290.json b/src/ipa/raspberrypi/data/imx290.json
index 20b45c16..1363bab7 100644
--- a/src/ipa/raspberrypi/data/imx290.json
+++ b/src/ipa/raspberrypi/data/imx290.json
@@ -29,11 +29,11 @@
},
"rpi.awb":
{
- "bayes": 0
+ "bayes": 0
},
"rpi.agc":
{
- "speed": 0.2,
+ "speed": 0.2,
"metering_modes":
{
"matrix":
@@ -150,14 +150,14 @@
"rpi.ccm":
{
"ccms":
- [
+ [
{
- "ct": 3900, "ccm":
- [
- 1.54659, -0.17707, -0.36953, -0.51471, 1.72733, -0.21262, 0.06667, -0.92279, 1.85612
- ]
- }
- ]
+ "ct": 3900, "ccm":
+ [
+ 1.54659, -0.17707, -0.36953, -0.51471, 1.72733, -0.21262, 0.06667, -0.92279, 1.85612
+ ]
+ }
+ ]
},
"rpi.focus":
{
diff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json
index d07febd2..0f389661 100644
--- a/src/ipa/raspberrypi/data/imx477.json
+++ b/src/ipa/raspberrypi/data/imx477.json
@@ -189,10 +189,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
diff --git a/src/ipa/raspberrypi/data/imx477_noir.json b/src/ipa/raspberrypi/data/imx477_noir.json
index 7d4fc7da..a379d780 100644
--- a/src/ipa/raspberrypi/data/imx477_noir.json
+++ b/src/ipa/raspberrypi/data/imx477_noir.json
@@ -31,7 +31,7 @@
},
"rpi.awb":
{
- "bayes": 0
+ "bayes": 0
},
"rpi.agc":
{
@@ -121,10 +121,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
diff --git a/src/ipa/raspberrypi/data/ov5647.json b/src/ipa/raspberrypi/data/ov5647.json
index 24bc06fb..e65f9385 100644
--- a/src/ipa/raspberrypi/data/ov5647.json
+++ b/src/ipa/raspberrypi/data/ov5647.json
@@ -189,10 +189,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
@@ -203,7 +203,7 @@
[
0, 0.16, 1000, 0.165, 10000, 0.17
],
- "base_ev": 1.25
+ "base_ev": 1.25
},
"rpi.alsc":
{
diff --git a/src/ipa/raspberrypi/data/ov5647_noir.json b/src/ipa/raspberrypi/data/ov5647_noir.json
index 1c628ed1..dad73a5e 100644
--- a/src/ipa/raspberrypi/data/ov5647_noir.json
+++ b/src/ipa/raspberrypi/data/ov5647_noir.json
@@ -31,7 +31,7 @@
},
"rpi.awb":
{
- "bayes": 0
+ "bayes": 0
},
"rpi.agc":
{
@@ -121,10 +121,10 @@
]
}
],
- "shadows":
- [
- {
- "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
+ "shadows":
+ [
+ {
+ "bound": "LOWER", "q_lo": 0.0, "q_hi": 0.5, "y_target":
[
0, 0.17, 1000, 0.17
]
@@ -135,7 +135,7 @@
[
0, 0.16, 1000, 0.165, 10000, 0.17
],
- "base_ev": 1.25
+ "base_ev": 1.25
},
"rpi.alsc":
{
diff --git a/src/ipa/raspberrypi/data/se327m12.json b/src/ipa/raspberrypi/data/se327m12.json
index 94af2239..5b1ac2ce 100644
--- a/src/ipa/raspberrypi/data/se327m12.json
+++ b/src/ipa/raspberrypi/data/se327m12.json
@@ -334,8 +334,8 @@
},
"rpi.sharpen":
{
- "threshold": 2.0,
- "strength": 0.5,
- "limit": 0.5
+ "threshold": 2.0,
+ "strength": 0.5,
+ "limit": 0.5
}
}