[{"id":25942,"web_url":"https://patchwork.libcamera.org/comment/25942/","msgid":"<166981401698.3103093.15361532935861720356@Monstersaurus>","date":"2022-11-30T13:13:36","subject":"Re: [libcamera-devel] [PATCH] ipa: raspberrypi: imx477: Update\n\ttuning file for the latest camera modules","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Quoting David Plowman via libcamera-devel (2022-11-30 12:58:40)\n> The latest camera modules have a very slightly different IR filter, so\n> the tuning file is slightly revised to give best results with both old\n> and new camera modules.\n> \n> The original tuning file is retained as imx477_v1.json in case anyone\n> should wish to continue using it.\n\nSounds ok to me.\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n> \n> Signed-off-by: David Plowman <david.plowman@raspberrypi.com>\n> ---\n>  src/ipa/raspberrypi/data/imx477.json    |  20 +-\n>  src/ipa/raspberrypi/data/imx477_v1.json | 519 ++++++++++++++++++++++++\n>  2 files changed, 530 insertions(+), 9 deletions(-)\n>  create mode 100644 src/ipa/raspberrypi/data/imx477_v1.json\n> \n> diff --git a/src/ipa/raspberrypi/data/imx477.json b/src/ipa/raspberrypi/data/imx477.json\n> index 5bcaac67..bfc0774f 100644\n> --- a/src/ipa/raspberrypi/data/imx477.json\n> +++ b/src/ipa/raspberrypi/data/imx477.json\n> @@ -115,15 +115,17 @@\n>                  \"ct_curve\":\n>                  [\n>                      2360.0, 0.6009, 0.3093,\n> -                    2870.0, 0.5047, 0.3936,\n> -                    2970.0, 0.4782, 0.4221,\n> -                    3700.0, 0.4212, 0.4923,\n> -                    3870.0, 0.4037, 0.5166,\n> -                    4000.0, 0.3965, 0.5271,\n> -                    4400.0, 0.3703, 0.5666,\n> -                    4715.0, 0.3411, 0.6147,\n> -                    5920.0, 0.3108, 0.6687,\n> -                    9050.0, 0.2524, 0.7856\n> +                    2848.0, 0.5071, 0.4000,\n> +                    2903.0, 0.4905, 0.4392,\n> +                    3628.0, 0.4261, 0.5564,\n> +                    3643.0, 0.4228, 0.5623,\n> +                    4660.0, 0.3529, 0.6800,\n> +                    5579.0, 0.3227, 0.7000,\n> +                    6125.0, 0.3129, 0.7100,\n> +                    6671.0, 0.3065, 0.7200,\n> +                    7217.0, 0.3014, 0.7300,\n> +                    7763.0, 0.2950, 0.7400,\n> +                    9505.0, 0.2524, 0.7856\n>                  ],\n>                  \"sensitivity_r\": 1.05,\n>                  \"sensitivity_b\": 1.05,\n> diff --git a/src/ipa/raspberrypi/data/imx477_v1.json b/src/ipa/raspberrypi/data/imx477_v1.json\n> new file mode 100644\n> index 00000000..5bcaac67\n> --- /dev/null\n> +++ b/src/ipa/raspberrypi/data/imx477_v1.json\n> @@ -0,0 +1,519 @@\n> +{\n> +    \"version\": 2.0,\n> +    \"target\": \"bcm2835\",\n> +    \"algorithms\": [\n> +        {\n> +            \"rpi.black_level\":\n> +            {\n> +                \"black_level\": 4096\n> +            }\n> +        },\n> +        {\n> +            \"rpi.dpc\": { }\n> +        },\n> +        {\n> +            \"rpi.lux\":\n> +            {\n> +                \"reference_shutter_speed\": 27242,\n> +                \"reference_gain\": 1.0,\n> +                \"reference_aperture\": 1.0,\n> +                \"reference_lux\": 830,\n> +                \"reference_Y\": 17755\n> +            }\n> +        },\n> +        {\n> +            \"rpi.noise\":\n> +            {\n> +                \"reference_constant\": 0,\n> +                \"reference_slope\": 2.767\n> +            }\n> +        },\n> +        {\n> +            \"rpi.geq\":\n> +            {\n> +                \"offset\": 204,\n> +                \"slope\": 0.01078\n> +            }\n> +        },\n> +        {\n> +            \"rpi.sdn\": { }\n> +        },\n> +        {\n> +            \"rpi.awb\":\n> +            {\n> +                \"priors\": [\n> +                    {\n> +                        \"lux\": 0,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 1.0,\n> +                            3000, 0.0,\n> +                            13000, 0.0\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"lux\": 800,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 0.0,\n> +                            6000, 2.0,\n> +                            13000, 2.0\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"lux\": 1500,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 0.0,\n> +                            4000, 1.0,\n> +                            6000, 6.0,\n> +                            6500, 7.0,\n> +                            7000, 1.0,\n> +                            13000, 1.0\n> +                        ]\n> +                    }\n> +                ],\n> +                \"modes\":\n> +                {\n> +                    \"auto\":\n> +                    {\n> +                        \"lo\": 2500,\n> +                        \"hi\": 8000\n> +                    },\n> +                    \"incandescent\":\n> +                    {\n> +                        \"lo\": 2500,\n> +                        \"hi\": 3000\n> +                    },\n> +                    \"tungsten\":\n> +                    {\n> +                        \"lo\": 3000,\n> +                        \"hi\": 3500\n> +                    },\n> +                    \"fluorescent\":\n> +                    {\n> +                        \"lo\": 4000,\n> +                        \"hi\": 4700\n> +                    },\n> +                    \"indoor\":\n> +                    {\n> +                        \"lo\": 3000,\n> +                        \"hi\": 5000\n> +                    },\n> +                    \"daylight\":\n> +                    {\n> +                        \"lo\": 5500,\n> +                        \"hi\": 6500\n> +                    },\n> +                    \"cloudy\":\n> +                    {\n> +                        \"lo\": 7000,\n> +                        \"hi\": 8600\n> +                    }\n> +                },\n> +                \"bayes\": 1,\n> +                \"ct_curve\":\n> +                [\n> +                    2360.0, 0.6009, 0.3093,\n> +                    2870.0, 0.5047, 0.3936,\n> +                    2970.0, 0.4782, 0.4221,\n> +                    3700.0, 0.4212, 0.4923,\n> +                    3870.0, 0.4037, 0.5166,\n> +                    4000.0, 0.3965, 0.5271,\n> +                    4400.0, 0.3703, 0.5666,\n> +                    4715.0, 0.3411, 0.6147,\n> +                    5920.0, 0.3108, 0.6687,\n> +                    9050.0, 0.2524, 0.7856\n> +                ],\n> +                \"sensitivity_r\": 1.05,\n> +                \"sensitivity_b\": 1.05,\n> +                \"transverse_pos\": 0.0238,\n> +                \"transverse_neg\": 0.04429\n> +            }\n> +        },\n> +        {\n> +            \"rpi.agc\":\n> +            {\n> +                \"metering_modes\":\n> +                {\n> +                    \"centre-weighted\":\n> +                    {\n> +                        \"weights\": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0 ]\n> +                    },\n> +                    \"spot\":\n> +                    {\n> +                        \"weights\": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]\n> +                    },\n> +                    \"matrix\":\n> +                    {\n> +                        \"weights\": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]\n> +                    }\n> +                },\n> +                \"exposure_modes\":\n> +                {\n> +                    \"normal\":\n> +                    {\n> +                        \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n> +                    },\n> +                    \"short\":\n> +                    {\n> +                        \"shutter\": [ 100, 5000, 10000, 20000, 33333 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n> +                    },\n> +                    \"long\":\n> +                    {\n> +                        \"shutter\": [ 100, 10000, 30000, 60000, 120000 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]\n> +                    }\n> +                },\n> +                \"constraint_modes\":\n> +                {\n> +                    \"normal\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.3,\n> +                                1000, 0.3\n> +                            ]\n> +                        }\n> +                    ],\n> +                    \"highlight\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.3,\n> +                                1000, 0.3\n> +                            ]\n> +                        },\n> +                        {\n> +                            \"bound\": \"UPPER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.8,\n> +                                1000, 0.8\n> +                            ]\n> +                        }\n> +                    ],\n> +                    \"shadows\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.0,\n> +                            \"q_hi\": 0.5,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.17,\n> +                                1000, 0.17\n> +                            ]\n> +                        }\n> +                    ]\n> +                },\n> +                \"y_target\":\n> +                [\n> +                    0, 0.16,\n> +                    1000, 0.165,\n> +                    10000, 0.17\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.alsc\":\n> +            {\n> +                \"omega\": 1.3,\n> +                \"n_iter\": 100,\n> +                \"luminance_strength\": 0.5,\n> +                \"calibrations_Cr\": [\n> +                    {\n> +                        \"ct\": 2960,\n> +                        \"table\":\n> +                        [\n> +                            2.088, 2.086, 2.082, 2.081, 2.077, 2.071, 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098,\n> +                            2.086, 2.084, 2.079, 2.078, 2.075, 2.068, 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094,\n> +                            2.083, 2.081, 2.077, 2.072, 2.069, 2.062, 2.059, 2.059, 2.063, 2.067, 2.069, 2.072, 2.079, 2.088, 2.089, 2.089,\n> +                            2.081, 2.077, 2.072, 2.068, 2.065, 2.058, 2.055, 2.054, 2.057, 2.062, 2.066, 2.069, 2.077, 2.084, 2.086, 2.086,\n> +                            2.078, 2.075, 2.069, 2.065, 2.061, 2.055, 2.052, 2.049, 2.051, 2.056, 2.062, 2.065, 2.072, 2.079, 2.081, 2.079,\n> +                            2.079, 2.075, 2.069, 2.064, 2.061, 2.053, 2.049, 2.046, 2.049, 2.051, 2.057, 2.062, 2.069, 2.075, 2.077, 2.075,\n> +                            2.082, 2.079, 2.072, 2.065, 2.061, 2.054, 2.049, 2.047, 2.049, 2.051, 2.056, 2.061, 2.066, 2.073, 2.073, 2.069,\n> +                            2.086, 2.082, 2.075, 2.068, 2.062, 2.054, 2.051, 2.049, 2.051, 2.052, 2.056, 2.061, 2.066, 2.073, 2.073, 2.072,\n> +                            2.088, 2.086, 2.079, 2.074, 2.066, 2.057, 2.051, 2.051, 2.054, 2.055, 2.056, 2.061, 2.067, 2.072, 2.073, 2.072,\n> +                            2.091, 2.087, 2.079, 2.075, 2.068, 2.057, 2.052, 2.052, 2.056, 2.055, 2.055, 2.059, 2.066, 2.072, 2.072, 2.072,\n> +                            2.093, 2.088, 2.081, 2.077, 2.069, 2.059, 2.054, 2.054, 2.057, 2.056, 2.056, 2.058, 2.066, 2.072, 2.073, 2.073,\n> +                            2.095, 2.091, 2.084, 2.078, 2.075, 2.067, 2.057, 2.057, 2.059, 2.059, 2.058, 2.059, 2.068, 2.073, 2.075, 2.078\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4850,\n> +                        \"table\":\n> +                        [\n> +                            2.973, 2.968, 2.956, 2.943, 2.941, 2.932, 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976,\n> +                            2.969, 2.962, 2.951, 2.941, 2.934, 2.928, 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962,\n> +                            2.964, 2.956, 2.944, 2.932, 2.929, 2.924, 2.915, 2.914, 2.915, 2.919, 2.924, 2.928, 2.941, 2.952, 2.958, 2.959,\n> +                            2.957, 2.951, 2.939, 2.928, 2.924, 2.919, 2.913, 2.911, 2.911, 2.915, 2.919, 2.925, 2.936, 2.947, 2.952, 2.953,\n> +                            2.954, 2.947, 2.935, 2.924, 2.919, 2.915, 2.908, 2.906, 2.906, 2.907, 2.914, 2.921, 2.932, 2.941, 2.943, 2.942,\n> +                            2.953, 2.946, 2.932, 2.921, 2.916, 2.911, 2.904, 2.902, 2.901, 2.904, 2.909, 2.919, 2.926, 2.937, 2.939, 2.939,\n> +                            2.953, 2.947, 2.932, 2.918, 2.915, 2.909, 2.903, 2.901, 2.901, 2.906, 2.911, 2.918, 2.924, 2.936, 2.936, 2.932,\n> +                            2.956, 2.948, 2.934, 2.919, 2.916, 2.908, 2.903, 2.901, 2.902, 2.907, 2.909, 2.917, 2.926, 2.936, 2.939, 2.939,\n> +                            2.957, 2.951, 2.936, 2.923, 2.917, 2.907, 2.904, 2.901, 2.902, 2.908, 2.911, 2.919, 2.929, 2.939, 2.942, 2.942,\n> +                            2.961, 2.951, 2.936, 2.922, 2.918, 2.906, 2.904, 2.901, 2.901, 2.907, 2.911, 2.921, 2.931, 2.941, 2.942, 2.944,\n> +                            2.964, 2.954, 2.936, 2.924, 2.918, 2.909, 2.905, 2.905, 2.905, 2.907, 2.912, 2.923, 2.933, 2.942, 2.944, 2.944,\n> +                            2.964, 2.958, 2.943, 2.927, 2.921, 2.914, 2.909, 2.907, 2.907, 2.912, 2.916, 2.928, 2.936, 2.944, 2.947, 2.952\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5930,\n> +                        \"table\":\n> +                        [\n> +                            3.312, 3.308, 3.301, 3.294, 3.288, 3.277, 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312,\n> +                            3.308, 3.304, 3.294, 3.291, 3.283, 3.271, 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299,\n> +                            3.302, 3.296, 3.288, 3.282, 3.276, 3.267, 3.259, 3.254, 3.252, 3.253, 3.256, 3.261, 3.273, 3.289, 3.292, 3.292,\n> +                            3.296, 3.289, 3.282, 3.276, 3.269, 3.263, 3.256, 3.251, 3.248, 3.249, 3.251, 3.257, 3.268, 3.279, 3.284, 3.284,\n> +                            3.292, 3.285, 3.279, 3.271, 3.264, 3.257, 3.249, 3.243, 3.241, 3.241, 3.246, 3.252, 3.261, 3.274, 3.275, 3.273,\n> +                            3.291, 3.285, 3.276, 3.268, 3.259, 3.251, 3.242, 3.239, 3.236, 3.238, 3.244, 3.248, 3.258, 3.268, 3.269, 3.265,\n> +                            3.294, 3.288, 3.275, 3.266, 3.257, 3.248, 3.239, 3.238, 3.237, 3.238, 3.243, 3.246, 3.255, 3.264, 3.264, 3.257,\n> +                            3.297, 3.293, 3.279, 3.268, 3.258, 3.249, 3.238, 3.237, 3.239, 3.239, 3.243, 3.245, 3.255, 3.264, 3.264, 3.263,\n> +                            3.301, 3.295, 3.281, 3.271, 3.259, 3.248, 3.237, 3.237, 3.239, 3.241, 3.243, 3.246, 3.257, 3.265, 3.266, 3.264,\n> +                            3.306, 3.295, 3.279, 3.271, 3.261, 3.247, 3.235, 3.234, 3.239, 3.239, 3.243, 3.247, 3.258, 3.265, 3.265, 3.264,\n> +                            3.308, 3.297, 3.279, 3.272, 3.261, 3.249, 3.239, 3.239, 3.241, 3.243, 3.245, 3.248, 3.261, 3.265, 3.266, 3.265,\n> +                            3.309, 3.301, 3.286, 3.276, 3.267, 3.256, 3.246, 3.242, 3.244, 3.244, 3.249, 3.253, 3.263, 3.267, 3.271, 3.274\n> +                        ]\n> +                    }\n> +                ],\n> +                \"calibrations_Cb\": [\n> +                    {\n> +                        \"ct\": 2960,\n> +                        \"table\":\n> +                        [\n> +                            2.133, 2.134, 2.139, 2.143, 2.148, 2.155, 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151,\n> +                            2.132, 2.133, 2.135, 2.142, 2.147, 2.153, 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148,\n> +                            2.133, 2.133, 2.135, 2.142, 2.149, 2.154, 2.158, 2.158, 2.157, 2.156, 2.158, 2.157, 2.155, 2.153, 2.148, 2.146,\n> +                            2.133, 2.133, 2.138, 2.145, 2.149, 2.154, 2.158, 2.159, 2.158, 2.155, 2.157, 2.156, 2.153, 2.149, 2.146, 2.144,\n> +                            2.133, 2.134, 2.139, 2.146, 2.149, 2.154, 2.158, 2.159, 2.159, 2.156, 2.154, 2.154, 2.149, 2.145, 2.143, 2.139,\n> +                            2.135, 2.135, 2.139, 2.146, 2.151, 2.155, 2.158, 2.159, 2.158, 2.156, 2.153, 2.151, 2.146, 2.143, 2.139, 2.136,\n> +                            2.135, 2.135, 2.138, 2.145, 2.151, 2.154, 2.157, 2.158, 2.157, 2.156, 2.153, 2.151, 2.147, 2.143, 2.141, 2.137,\n> +                            2.135, 2.134, 2.135, 2.141, 2.149, 2.154, 2.157, 2.157, 2.157, 2.157, 2.157, 2.153, 2.149, 2.146, 2.142, 2.139,\n> +                            2.132, 2.133, 2.135, 2.139, 2.148, 2.153, 2.158, 2.159, 2.159, 2.161, 2.161, 2.157, 2.154, 2.149, 2.144, 2.141,\n> +                            2.132, 2.133, 2.135, 2.141, 2.149, 2.155, 2.161, 2.161, 2.162, 2.162, 2.163, 2.159, 2.154, 2.149, 2.144, 2.138,\n> +                            2.136, 2.136, 2.137, 2.143, 2.149, 2.156, 2.162, 2.163, 2.162, 2.163, 2.164, 2.161, 2.157, 2.152, 2.146, 2.138,\n> +                            2.137, 2.137, 2.141, 2.147, 2.152, 2.157, 2.162, 2.162, 2.159, 2.161, 2.162, 2.162, 2.157, 2.152, 2.148, 2.148\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4850,\n> +                        \"table\":\n> +                        [\n> +                            1.463, 1.464, 1.471, 1.478, 1.479, 1.483, 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468,\n> +                            1.463, 1.463, 1.468, 1.476, 1.479, 1.482, 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468,\n> +                            1.463, 1.464, 1.468, 1.476, 1.479, 1.483, 1.484, 1.486, 1.486, 1.485, 1.484, 1.482, 1.477, 1.473, 1.469, 1.468,\n> +                            1.463, 1.464, 1.469, 1.477, 1.481, 1.483, 1.485, 1.487, 1.487, 1.485, 1.485, 1.482, 1.478, 1.474, 1.469, 1.468,\n> +                            1.465, 1.465, 1.471, 1.478, 1.481, 1.484, 1.486, 1.488, 1.488, 1.487, 1.485, 1.482, 1.477, 1.472, 1.468, 1.467,\n> +                            1.465, 1.466, 1.472, 1.479, 1.482, 1.485, 1.486, 1.488, 1.488, 1.486, 1.484, 1.479, 1.475, 1.472, 1.468, 1.466,\n> +                            1.466, 1.466, 1.472, 1.478, 1.482, 1.484, 1.485, 1.488, 1.487, 1.485, 1.483, 1.479, 1.475, 1.472, 1.469, 1.468,\n> +                            1.465, 1.466, 1.469, 1.476, 1.481, 1.485, 1.485, 1.486, 1.486, 1.485, 1.483, 1.479, 1.477, 1.474, 1.471, 1.469,\n> +                            1.464, 1.465, 1.469, 1.476, 1.481, 1.484, 1.485, 1.487, 1.487, 1.486, 1.485, 1.481, 1.478, 1.475, 1.471, 1.469,\n> +                            1.463, 1.464, 1.469, 1.477, 1.481, 1.485, 1.485, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.471, 1.468,\n> +                            1.464, 1.465, 1.471, 1.478, 1.482, 1.486, 1.486, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.472, 1.468,\n> +                            1.465, 1.466, 1.472, 1.481, 1.483, 1.487, 1.487, 1.488, 1.488, 1.486, 1.485, 1.481, 1.479, 1.476, 1.473, 1.472\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5930,\n> +                        \"table\":\n> +                        [\n> +                            1.443, 1.444, 1.448, 1.453, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451,\n> +                            1.443, 1.444, 1.445, 1.451, 1.459, 1.463, 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451,\n> +                            1.444, 1.444, 1.445, 1.451, 1.459, 1.463, 1.466, 1.468, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.449,\n> +                            1.444, 1.444, 1.447, 1.452, 1.459, 1.464, 1.467, 1.469, 1.471, 1.469, 1.467, 1.466, 1.461, 1.456, 1.452, 1.449,\n> +                            1.444, 1.445, 1.448, 1.452, 1.459, 1.465, 1.469, 1.471, 1.471, 1.471, 1.468, 1.465, 1.461, 1.455, 1.451, 1.449,\n> +                            1.445, 1.446, 1.449, 1.453, 1.461, 1.466, 1.469, 1.471, 1.472, 1.469, 1.467, 1.465, 1.459, 1.455, 1.451, 1.447,\n> +                            1.446, 1.446, 1.449, 1.453, 1.461, 1.466, 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.459, 1.455, 1.452, 1.449,\n> +                            1.446, 1.446, 1.447, 1.451, 1.459, 1.466, 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.461, 1.457, 1.454, 1.451,\n> +                            1.444, 1.444, 1.447, 1.451, 1.459, 1.466, 1.469, 1.469, 1.471, 1.471, 1.468, 1.466, 1.462, 1.458, 1.454, 1.452,\n> +                            1.444, 1.444, 1.448, 1.453, 1.459, 1.466, 1.469, 1.471, 1.472, 1.472, 1.468, 1.466, 1.462, 1.458, 1.454, 1.449,\n> +                            1.446, 1.447, 1.449, 1.454, 1.461, 1.466, 1.471, 1.471, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.455, 1.449,\n> +                            1.447, 1.447, 1.452, 1.457, 1.462, 1.468, 1.472, 1.472, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.456, 1.455\n> +                        ]\n> +                    }\n> +                ],\n> +                \"luminance_lut\":\n> +                [\n> +                    1.548, 1.499, 1.387, 1.289, 1.223, 1.183, 1.164, 1.154, 1.153, 1.169, 1.211, 1.265, 1.345, 1.448, 1.581, 1.619,\n> +                    1.513, 1.412, 1.307, 1.228, 1.169, 1.129, 1.105, 1.098, 1.103, 1.127, 1.157, 1.209, 1.272, 1.361, 1.481, 1.583,\n> +                    1.449, 1.365, 1.257, 1.175, 1.124, 1.085, 1.062, 1.054, 1.059, 1.079, 1.113, 1.151, 1.211, 1.293, 1.407, 1.488,\n> +                    1.424, 1.324, 1.222, 1.139, 1.089, 1.056, 1.034, 1.031, 1.034, 1.049, 1.075, 1.115, 1.164, 1.241, 1.351, 1.446,\n> +                    1.412, 1.297, 1.203, 1.119, 1.069, 1.039, 1.021, 1.016, 1.022, 1.032, 1.052, 1.086, 1.135, 1.212, 1.321, 1.439,\n> +                    1.406, 1.287, 1.195, 1.115, 1.059, 1.028, 1.014, 1.012, 1.015, 1.026, 1.041, 1.074, 1.125, 1.201, 1.302, 1.425,\n> +                    1.406, 1.294, 1.205, 1.126, 1.062, 1.031, 1.013, 1.009, 1.011, 1.019, 1.042, 1.079, 1.129, 1.203, 1.302, 1.435,\n> +                    1.415, 1.318, 1.229, 1.146, 1.076, 1.039, 1.019, 1.014, 1.017, 1.031, 1.053, 1.093, 1.144, 1.219, 1.314, 1.436,\n> +                    1.435, 1.348, 1.246, 1.164, 1.094, 1.059, 1.036, 1.032, 1.037, 1.049, 1.072, 1.114, 1.167, 1.257, 1.343, 1.462,\n> +                    1.471, 1.385, 1.278, 1.189, 1.124, 1.084, 1.064, 1.061, 1.069, 1.078, 1.101, 1.146, 1.207, 1.298, 1.415, 1.496,\n> +                    1.522, 1.436, 1.323, 1.228, 1.169, 1.118, 1.101, 1.094, 1.099, 1.113, 1.146, 1.194, 1.265, 1.353, 1.474, 1.571,\n> +                    1.578, 1.506, 1.378, 1.281, 1.211, 1.156, 1.135, 1.134, 1.139, 1.158, 1.194, 1.251, 1.327, 1.427, 1.559, 1.611\n> +                ],\n> +                \"sigma\": 0.00121,\n> +                \"sigma_Cb\": 0.00115\n> +            }\n> +        },\n> +        {\n> +            \"rpi.contrast\":\n> +            {\n> +                \"ce_enable\": 1,\n> +                \"gamma_curve\":\n> +                [\n> +                    0, 0,\n> +                    1024, 5040,\n> +                    2048, 9338,\n> +                    3072, 12356,\n> +                    4096, 15312,\n> +                    5120, 18051,\n> +                    6144, 20790,\n> +                    7168, 23193,\n> +                    8192, 25744,\n> +                    9216, 27942,\n> +                    10240, 30035,\n> +                    11264, 32005,\n> +                    12288, 33975,\n> +                    13312, 35815,\n> +                    14336, 37600,\n> +                    15360, 39168,\n> +                    16384, 40642,\n> +                    18432, 43379,\n> +                    20480, 45749,\n> +                    22528, 47753,\n> +                    24576, 49621,\n> +                    26624, 51253,\n> +                    28672, 52698,\n> +                    30720, 53796,\n> +                    32768, 54876,\n> +                    36864, 57012,\n> +                    40960, 58656,\n> +                    45056, 59954,\n> +                    49152, 61183,\n> +                    53248, 62355,\n> +                    57344, 63419,\n> +                    61440, 64476,\n> +                    65535, 65535\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.ccm\":\n> +            {\n> +                \"ccms\": [\n> +                    {\n> +                        \"ct\": 2360,\n> +                        \"ccm\":\n> +                        [\n> +                            1.66078, -0.23588, -0.42491,\n> +                            -0.47456, 1.82763, -0.35307,\n> +                            -0.00545, -1.44729, 2.45273\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 2870,\n> +                        \"ccm\":\n> +                        [\n> +                            1.78373, -0.55344, -0.23029,\n> +                            -0.39951, 1.69701, -0.29751,\n> +                            0.01986, -1.06525, 2.04539\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 2970,\n> +                        \"ccm\":\n> +                        [\n> +                            1.73511, -0.56973, -0.16537,\n> +                            -0.36338, 1.69878, -0.33539,\n> +                            -0.02354, -0.76813, 1.79168\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3000,\n> +                        \"ccm\":\n> +                        [\n> +                            2.06374, -0.92218, -0.14156,\n> +                            -0.41721, 1.69289, -0.27568,\n> +                            -0.00554, -0.92741, 1.93295\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3700,\n> +                        \"ccm\":\n> +                        [\n> +                            2.13792, -1.08136, -0.05655,\n> +                            -0.34739, 1.58989, -0.24249,\n> +                            -0.00349, -0.76789, 1.77138\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3870,\n> +                        \"ccm\":\n> +                        [\n> +                            1.83834, -0.70528, -0.13307,\n> +                            -0.30499, 1.60523, -0.30024,\n> +                            -0.05701, -0.58313, 1.64014\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4000,\n> +                        \"ccm\":\n> +                        [\n> +                            2.15741, -1.10295, -0.05447,\n> +                            -0.34631, 1.61158, -0.26528,\n> +                            -0.02723, -0.70288, 1.73011\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4400,\n> +                        \"ccm\":\n> +                        [\n> +                            2.05729, -0.95007, -0.10723,\n> +                            -0.41712, 1.78606, -0.36894,\n> +                            -0.11899, -0.55727, 1.67626\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4715,\n> +                        \"ccm\":\n> +                        [\n> +                            1.90255, -0.77478, -0.12777,\n> +                            -0.31338, 1.88197, -0.56858,\n> +                            -0.06001, -0.61785, 1.67786\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5920,\n> +                        \"ccm\":\n> +                        [\n> +                            1.98691, -0.84671, -0.14019,\n> +                            -0.26581, 1.70615, -0.44035,\n> +                            -0.09532, -0.47332, 1.56864\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 9050,\n> +                        \"ccm\":\n> +                        [\n> +                            2.09255, -0.76541, -0.32714,\n> +                            -0.28973, 2.27462, -0.98489,\n> +                            -0.17299, -0.61275, 1.78574\n> +                        ]\n> +                    }\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.sharpen\": { }\n> +        },\n> +        {\n> +            \"rpi.focus\": { }\n> +        }\n> +    ]\n> +}\n> \\ No newline at end of file\n> -- \n> 2.30.2\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 496BDBE08B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 30 Nov 2022 13:13:41 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A2CE663336;\n\tWed, 30 Nov 2022 14:13:40 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CA74B61F23\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 30 Nov 2022 14:13:39 +0100 (CET)","from pendragon.ideasonboard.com\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 5F6D355A;\n\tWed, 30 Nov 2022 14:13:39 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1669814020;\n\tbh=0uAqapjkiMD7K6Sve7M6Zj59NGthRcejmJtKROAyd9k=;\n\th=In-Reply-To:References:To:Date:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=xKbRd+THFXVCwXWnQxiEFXvcjvXAqtE0/rA2FG5l3ndnzWOqfbHMrhF0CaJ5ZpLUE\n\tOiZK3PXOvIIQLmtZOkCx4M2cVHrP6C/zhDheudSG4OwW2JFknpchb/GCh7mNfgvW64\n\tbixXxZyIPB1riwZHlvVnAjJU27qpgF5Qcr13IRt2V9LX5y6JNUcsFybT/mUlCrmb6R\n\teKwQTBEvJ18129pGWlP4crcvLBQaO4xUv7zFv4TRJfrw3GOX9gvB/zgkO+xslGOjsW\n\t5Wm77CIczAwv8aEWntG/f11pL3jIGmZfwtKuspBIhYwn02LKI1Ad2DBozM7t6se2jh\n\tyGuv9EzAstBFw==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1669814019;\n\tbh=0uAqapjkiMD7K6Sve7M6Zj59NGthRcejmJtKROAyd9k=;\n\th=In-Reply-To:References:Subject:From:To:Date:From;\n\tb=r/KtlLvn6JNFl++81mOCbRbOlZo8cxzAZ+RD2dkzORM47Fpa2Glo7/Aym2COTCYCy\n\t+KWixvY6qp7rrRtSLMtgp4U3Qgjf+DcxGP4p5I7cT2K0RU/KO2o2Xdfw/37Cb7OnB/\n\tPujRaUI4mFj1L9/QN0kINiQU8vQmoFZrPQ/7cmfw="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"r/KtlLvn\"; dkim-atps=neutral","Content-Type":"text/plain; charset=\"utf-8\"","MIME-Version":"1.0","Content-Transfer-Encoding":"quoted-printable","In-Reply-To":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","References":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","To":"David Plowman <david.plowman@raspberrypi.com>,\n\tlibcamera-devel@lists.libcamera.org","Date":"Wed, 30 Nov 2022 13:13:36 +0000","Message-ID":"<166981401698.3103093.15361532935861720356@Monstersaurus>","User-Agent":"alot/0.10","Subject":"Re: [libcamera-devel] [PATCH] ipa: raspberrypi: imx477: Update\n\ttuning file for the latest camera modules","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Kieran Bingham via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":25943,"web_url":"https://patchwork.libcamera.org/comment/25943/","msgid":"<CAEmqJPpZBR5rvCp6RRmoXV-hJMBq+5sz9pu7hkKUNrdZ53PbXQ@mail.gmail.com>","date":"2022-11-30T13:39:51","subject":"Re: [libcamera-devel] [PATCH] ipa: raspberrypi: imx477: Update\n\ttuning file for the latest camera modules","submitter":{"id":34,"url":"https://patchwork.libcamera.org/api/people/34/","name":"Naushir Patuck","email":"naush@raspberrypi.com"},"content":"Hi David,\n\nThanks for the changes.\n\n\nOn Wed, 30 Nov 2022 at 12:58, David Plowman via libcamera-devel <\nlibcamera-devel@lists.libcamera.org> wrote:\n\n> The latest camera modules have a very slightly different IR filter, so\n> the tuning file is slightly revised to give best results with both old\n> and new camera modules.\n>\n> The original tuning file is retained as imx477_v1.json in case anyone\n> should wish to continue using it.\n>\n> Signed-off-by: David Plowman <david.plowman@raspberrypi.com>\n>\n\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\n\n\n> ---\n>  src/ipa/raspberrypi/data/imx477.json    |  20 +-\n>  src/ipa/raspberrypi/data/imx477_v1.json | 519 ++++++++++++++++++++++++\n>  2 files changed, 530 insertions(+), 9 deletions(-)\n>  create mode 100644 src/ipa/raspberrypi/data/imx477_v1.json\n>\n> diff --git a/src/ipa/raspberrypi/data/imx477.json\n> b/src/ipa/raspberrypi/data/imx477.json\n> index 5bcaac67..bfc0774f 100644\n> --- a/src/ipa/raspberrypi/data/imx477.json\n> +++ b/src/ipa/raspberrypi/data/imx477.json\n> @@ -115,15 +115,17 @@\n>                  \"ct_curve\":\n>                  [\n>                      2360.0, 0.6009, 0.3093,\n> -                    2870.0, 0.5047, 0.3936,\n> -                    2970.0, 0.4782, 0.4221,\n> -                    3700.0, 0.4212, 0.4923,\n> -                    3870.0, 0.4037, 0.5166,\n> -                    4000.0, 0.3965, 0.5271,\n> -                    4400.0, 0.3703, 0.5666,\n> -                    4715.0, 0.3411, 0.6147,\n> -                    5920.0, 0.3108, 0.6687,\n> -                    9050.0, 0.2524, 0.7856\n> +                    2848.0, 0.5071, 0.4000,\n> +                    2903.0, 0.4905, 0.4392,\n> +                    3628.0, 0.4261, 0.5564,\n> +                    3643.0, 0.4228, 0.5623,\n> +                    4660.0, 0.3529, 0.6800,\n> +                    5579.0, 0.3227, 0.7000,\n> +                    6125.0, 0.3129, 0.7100,\n> +                    6671.0, 0.3065, 0.7200,\n> +                    7217.0, 0.3014, 0.7300,\n> +                    7763.0, 0.2950, 0.7400,\n> +                    9505.0, 0.2524, 0.7856\n>                  ],\n>                  \"sensitivity_r\": 1.05,\n>                  \"sensitivity_b\": 1.05,\n> diff --git a/src/ipa/raspberrypi/data/imx477_v1.json\n> b/src/ipa/raspberrypi/data/imx477_v1.json\n> new file mode 100644\n> index 00000000..5bcaac67\n> --- /dev/null\n> +++ b/src/ipa/raspberrypi/data/imx477_v1.json\n> @@ -0,0 +1,519 @@\n> +{\n> +    \"version\": 2.0,\n> +    \"target\": \"bcm2835\",\n> +    \"algorithms\": [\n> +        {\n> +            \"rpi.black_level\":\n> +            {\n> +                \"black_level\": 4096\n> +            }\n> +        },\n> +        {\n> +            \"rpi.dpc\": { }\n> +        },\n> +        {\n> +            \"rpi.lux\":\n> +            {\n> +                \"reference_shutter_speed\": 27242,\n> +                \"reference_gain\": 1.0,\n> +                \"reference_aperture\": 1.0,\n> +                \"reference_lux\": 830,\n> +                \"reference_Y\": 17755\n> +            }\n> +        },\n> +        {\n> +            \"rpi.noise\":\n> +            {\n> +                \"reference_constant\": 0,\n> +                \"reference_slope\": 2.767\n> +            }\n> +        },\n> +        {\n> +            \"rpi.geq\":\n> +            {\n> +                \"offset\": 204,\n> +                \"slope\": 0.01078\n> +            }\n> +        },\n> +        {\n> +            \"rpi.sdn\": { }\n> +        },\n> +        {\n> +            \"rpi.awb\":\n> +            {\n> +                \"priors\": [\n> +                    {\n> +                        \"lux\": 0,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 1.0,\n> +                            3000, 0.0,\n> +                            13000, 0.0\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"lux\": 800,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 0.0,\n> +                            6000, 2.0,\n> +                            13000, 2.0\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"lux\": 1500,\n> +                        \"prior\":\n> +                        [\n> +                            2000, 0.0,\n> +                            4000, 1.0,\n> +                            6000, 6.0,\n> +                            6500, 7.0,\n> +                            7000, 1.0,\n> +                            13000, 1.0\n> +                        ]\n> +                    }\n> +                ],\n> +                \"modes\":\n> +                {\n> +                    \"auto\":\n> +                    {\n> +                        \"lo\": 2500,\n> +                        \"hi\": 8000\n> +                    },\n> +                    \"incandescent\":\n> +                    {\n> +                        \"lo\": 2500,\n> +                        \"hi\": 3000\n> +                    },\n> +                    \"tungsten\":\n> +                    {\n> +                        \"lo\": 3000,\n> +                        \"hi\": 3500\n> +                    },\n> +                    \"fluorescent\":\n> +                    {\n> +                        \"lo\": 4000,\n> +                        \"hi\": 4700\n> +                    },\n> +                    \"indoor\":\n> +                    {\n> +                        \"lo\": 3000,\n> +                        \"hi\": 5000\n> +                    },\n> +                    \"daylight\":\n> +                    {\n> +                        \"lo\": 5500,\n> +                        \"hi\": 6500\n> +                    },\n> +                    \"cloudy\":\n> +                    {\n> +                        \"lo\": 7000,\n> +                        \"hi\": 8600\n> +                    }\n> +                },\n> +                \"bayes\": 1,\n> +                \"ct_curve\":\n> +                [\n> +                    2360.0, 0.6009, 0.3093,\n> +                    2870.0, 0.5047, 0.3936,\n> +                    2970.0, 0.4782, 0.4221,\n> +                    3700.0, 0.4212, 0.4923,\n> +                    3870.0, 0.4037, 0.5166,\n> +                    4000.0, 0.3965, 0.5271,\n> +                    4400.0, 0.3703, 0.5666,\n> +                    4715.0, 0.3411, 0.6147,\n> +                    5920.0, 0.3108, 0.6687,\n> +                    9050.0, 0.2524, 0.7856\n> +                ],\n> +                \"sensitivity_r\": 1.05,\n> +                \"sensitivity_b\": 1.05,\n> +                \"transverse_pos\": 0.0238,\n> +                \"transverse_neg\": 0.04429\n> +            }\n> +        },\n> +        {\n> +            \"rpi.agc\":\n> +            {\n> +                \"metering_modes\":\n> +                {\n> +                    \"centre-weighted\":\n> +                    {\n> +                        \"weights\": [ 3, 3, 3, 2, 2, 2, 2, 1, 1, 1, 1, 0,\n> 0, 0, 0 ]\n> +                    },\n> +                    \"spot\":\n> +                    {\n> +                        \"weights\": [ 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n> 0, 0, 0 ]\n> +                    },\n> +                    \"matrix\":\n> +                    {\n> +                        \"weights\": [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n> 1, 1, 1 ]\n> +                    }\n> +                },\n> +                \"exposure_modes\":\n> +                {\n> +                    \"normal\":\n> +                    {\n> +                        \"shutter\": [ 100, 10000, 30000, 60000, 66666 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n> +                    },\n> +                    \"short\":\n> +                    {\n> +                        \"shutter\": [ 100, 5000, 10000, 20000, 33333 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]\n> +                    },\n> +                    \"long\":\n> +                    {\n> +                        \"shutter\": [ 100, 10000, 30000, 60000, 120000 ],\n> +                        \"gain\": [ 1.0, 2.0, 4.0, 6.0, 12.0 ]\n> +                    }\n> +                },\n> +                \"constraint_modes\":\n> +                {\n> +                    \"normal\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.3,\n> +                                1000, 0.3\n> +                            ]\n> +                        }\n> +                    ],\n> +                    \"highlight\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.3,\n> +                                1000, 0.3\n> +                            ]\n> +                        },\n> +                        {\n> +                            \"bound\": \"UPPER\",\n> +                            \"q_lo\": 0.98,\n> +                            \"q_hi\": 1.0,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.8,\n> +                                1000, 0.8\n> +                            ]\n> +                        }\n> +                    ],\n> +                    \"shadows\": [\n> +                        {\n> +                            \"bound\": \"LOWER\",\n> +                            \"q_lo\": 0.0,\n> +                            \"q_hi\": 0.5,\n> +                            \"y_target\":\n> +                            [\n> +                                0, 0.17,\n> +                                1000, 0.17\n> +                            ]\n> +                        }\n> +                    ]\n> +                },\n> +                \"y_target\":\n> +                [\n> +                    0, 0.16,\n> +                    1000, 0.165,\n> +                    10000, 0.17\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.alsc\":\n> +            {\n> +                \"omega\": 1.3,\n> +                \"n_iter\": 100,\n> +                \"luminance_strength\": 0.5,\n> +                \"calibrations_Cr\": [\n> +                    {\n> +                        \"ct\": 2960,\n> +                        \"table\":\n> +                        [\n> +                            2.088, 2.086, 2.082, 2.081, 2.077, 2.071,\n> 2.068, 2.068, 2.072, 2.073, 2.075, 2.078, 2.084, 2.092, 2.095, 2.098,\n> +                            2.086, 2.084, 2.079, 2.078, 2.075, 2.068,\n> 2.064, 2.063, 2.068, 2.071, 2.072, 2.075, 2.081, 2.089, 2.092, 2.094,\n> +                            2.083, 2.081, 2.077, 2.072, 2.069, 2.062,\n> 2.059, 2.059, 2.063, 2.067, 2.069, 2.072, 2.079, 2.088, 2.089, 2.089,\n> +                            2.081, 2.077, 2.072, 2.068, 2.065, 2.058,\n> 2.055, 2.054, 2.057, 2.062, 2.066, 2.069, 2.077, 2.084, 2.086, 2.086,\n> +                            2.078, 2.075, 2.069, 2.065, 2.061, 2.055,\n> 2.052, 2.049, 2.051, 2.056, 2.062, 2.065, 2.072, 2.079, 2.081, 2.079,\n> +                            2.079, 2.075, 2.069, 2.064, 2.061, 2.053,\n> 2.049, 2.046, 2.049, 2.051, 2.057, 2.062, 2.069, 2.075, 2.077, 2.075,\n> +                            2.082, 2.079, 2.072, 2.065, 2.061, 2.054,\n> 2.049, 2.047, 2.049, 2.051, 2.056, 2.061, 2.066, 2.073, 2.073, 2.069,\n> +                            2.086, 2.082, 2.075, 2.068, 2.062, 2.054,\n> 2.051, 2.049, 2.051, 2.052, 2.056, 2.061, 2.066, 2.073, 2.073, 2.072,\n> +                            2.088, 2.086, 2.079, 2.074, 2.066, 2.057,\n> 2.051, 2.051, 2.054, 2.055, 2.056, 2.061, 2.067, 2.072, 2.073, 2.072,\n> +                            2.091, 2.087, 2.079, 2.075, 2.068, 2.057,\n> 2.052, 2.052, 2.056, 2.055, 2.055, 2.059, 2.066, 2.072, 2.072, 2.072,\n> +                            2.093, 2.088, 2.081, 2.077, 2.069, 2.059,\n> 2.054, 2.054, 2.057, 2.056, 2.056, 2.058, 2.066, 2.072, 2.073, 2.073,\n> +                            2.095, 2.091, 2.084, 2.078, 2.075, 2.067,\n> 2.057, 2.057, 2.059, 2.059, 2.058, 2.059, 2.068, 2.073, 2.075, 2.078\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4850,\n> +                        \"table\":\n> +                        [\n> +                            2.973, 2.968, 2.956, 2.943, 2.941, 2.932,\n> 2.923, 2.921, 2.924, 2.929, 2.931, 2.939, 2.953, 2.965, 2.966, 2.976,\n> +                            2.969, 2.962, 2.951, 2.941, 2.934, 2.928,\n> 2.919, 2.918, 2.919, 2.923, 2.927, 2.933, 2.945, 2.957, 2.962, 2.962,\n> +                            2.964, 2.956, 2.944, 2.932, 2.929, 2.924,\n> 2.915, 2.914, 2.915, 2.919, 2.924, 2.928, 2.941, 2.952, 2.958, 2.959,\n> +                            2.957, 2.951, 2.939, 2.928, 2.924, 2.919,\n> 2.913, 2.911, 2.911, 2.915, 2.919, 2.925, 2.936, 2.947, 2.952, 2.953,\n> +                            2.954, 2.947, 2.935, 2.924, 2.919, 2.915,\n> 2.908, 2.906, 2.906, 2.907, 2.914, 2.921, 2.932, 2.941, 2.943, 2.942,\n> +                            2.953, 2.946, 2.932, 2.921, 2.916, 2.911,\n> 2.904, 2.902, 2.901, 2.904, 2.909, 2.919, 2.926, 2.937, 2.939, 2.939,\n> +                            2.953, 2.947, 2.932, 2.918, 2.915, 2.909,\n> 2.903, 2.901, 2.901, 2.906, 2.911, 2.918, 2.924, 2.936, 2.936, 2.932,\n> +                            2.956, 2.948, 2.934, 2.919, 2.916, 2.908,\n> 2.903, 2.901, 2.902, 2.907, 2.909, 2.917, 2.926, 2.936, 2.939, 2.939,\n> +                            2.957, 2.951, 2.936, 2.923, 2.917, 2.907,\n> 2.904, 2.901, 2.902, 2.908, 2.911, 2.919, 2.929, 2.939, 2.942, 2.942,\n> +                            2.961, 2.951, 2.936, 2.922, 2.918, 2.906,\n> 2.904, 2.901, 2.901, 2.907, 2.911, 2.921, 2.931, 2.941, 2.942, 2.944,\n> +                            2.964, 2.954, 2.936, 2.924, 2.918, 2.909,\n> 2.905, 2.905, 2.905, 2.907, 2.912, 2.923, 2.933, 2.942, 2.944, 2.944,\n> +                            2.964, 2.958, 2.943, 2.927, 2.921, 2.914,\n> 2.909, 2.907, 2.907, 2.912, 2.916, 2.928, 2.936, 2.944, 2.947, 2.952\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5930,\n> +                        \"table\":\n> +                        [\n> +                            3.312, 3.308, 3.301, 3.294, 3.288, 3.277,\n> 3.268, 3.261, 3.259, 3.261, 3.267, 3.273, 3.285, 3.301, 3.303, 3.312,\n> +                            3.308, 3.304, 3.294, 3.291, 3.283, 3.271,\n> 3.263, 3.259, 3.257, 3.258, 3.261, 3.268, 3.278, 3.293, 3.299, 3.299,\n> +                            3.302, 3.296, 3.288, 3.282, 3.276, 3.267,\n> 3.259, 3.254, 3.252, 3.253, 3.256, 3.261, 3.273, 3.289, 3.292, 3.292,\n> +                            3.296, 3.289, 3.282, 3.276, 3.269, 3.263,\n> 3.256, 3.251, 3.248, 3.249, 3.251, 3.257, 3.268, 3.279, 3.284, 3.284,\n> +                            3.292, 3.285, 3.279, 3.271, 3.264, 3.257,\n> 3.249, 3.243, 3.241, 3.241, 3.246, 3.252, 3.261, 3.274, 3.275, 3.273,\n> +                            3.291, 3.285, 3.276, 3.268, 3.259, 3.251,\n> 3.242, 3.239, 3.236, 3.238, 3.244, 3.248, 3.258, 3.268, 3.269, 3.265,\n> +                            3.294, 3.288, 3.275, 3.266, 3.257, 3.248,\n> 3.239, 3.238, 3.237, 3.238, 3.243, 3.246, 3.255, 3.264, 3.264, 3.257,\n> +                            3.297, 3.293, 3.279, 3.268, 3.258, 3.249,\n> 3.238, 3.237, 3.239, 3.239, 3.243, 3.245, 3.255, 3.264, 3.264, 3.263,\n> +                            3.301, 3.295, 3.281, 3.271, 3.259, 3.248,\n> 3.237, 3.237, 3.239, 3.241, 3.243, 3.246, 3.257, 3.265, 3.266, 3.264,\n> +                            3.306, 3.295, 3.279, 3.271, 3.261, 3.247,\n> 3.235, 3.234, 3.239, 3.239, 3.243, 3.247, 3.258, 3.265, 3.265, 3.264,\n> +                            3.308, 3.297, 3.279, 3.272, 3.261, 3.249,\n> 3.239, 3.239, 3.241, 3.243, 3.245, 3.248, 3.261, 3.265, 3.266, 3.265,\n> +                            3.309, 3.301, 3.286, 3.276, 3.267, 3.256,\n> 3.246, 3.242, 3.244, 3.244, 3.249, 3.253, 3.263, 3.267, 3.271, 3.274\n> +                        ]\n> +                    }\n> +                ],\n> +                \"calibrations_Cb\": [\n> +                    {\n> +                        \"ct\": 2960,\n> +                        \"table\":\n> +                        [\n> +                            2.133, 2.134, 2.139, 2.143, 2.148, 2.155,\n> 2.158, 2.158, 2.158, 2.161, 2.161, 2.162, 2.159, 2.156, 2.152, 2.151,\n> +                            2.132, 2.133, 2.135, 2.142, 2.147, 2.153,\n> 2.158, 2.158, 2.158, 2.158, 2.159, 2.159, 2.157, 2.154, 2.151, 2.148,\n> +                            2.133, 2.133, 2.135, 2.142, 2.149, 2.154,\n> 2.158, 2.158, 2.157, 2.156, 2.158, 2.157, 2.155, 2.153, 2.148, 2.146,\n> +                            2.133, 2.133, 2.138, 2.145, 2.149, 2.154,\n> 2.158, 2.159, 2.158, 2.155, 2.157, 2.156, 2.153, 2.149, 2.146, 2.144,\n> +                            2.133, 2.134, 2.139, 2.146, 2.149, 2.154,\n> 2.158, 2.159, 2.159, 2.156, 2.154, 2.154, 2.149, 2.145, 2.143, 2.139,\n> +                            2.135, 2.135, 2.139, 2.146, 2.151, 2.155,\n> 2.158, 2.159, 2.158, 2.156, 2.153, 2.151, 2.146, 2.143, 2.139, 2.136,\n> +                            2.135, 2.135, 2.138, 2.145, 2.151, 2.154,\n> 2.157, 2.158, 2.157, 2.156, 2.153, 2.151, 2.147, 2.143, 2.141, 2.137,\n> +                            2.135, 2.134, 2.135, 2.141, 2.149, 2.154,\n> 2.157, 2.157, 2.157, 2.157, 2.157, 2.153, 2.149, 2.146, 2.142, 2.139,\n> +                            2.132, 2.133, 2.135, 2.139, 2.148, 2.153,\n> 2.158, 2.159, 2.159, 2.161, 2.161, 2.157, 2.154, 2.149, 2.144, 2.141,\n> +                            2.132, 2.133, 2.135, 2.141, 2.149, 2.155,\n> 2.161, 2.161, 2.162, 2.162, 2.163, 2.159, 2.154, 2.149, 2.144, 2.138,\n> +                            2.136, 2.136, 2.137, 2.143, 2.149, 2.156,\n> 2.162, 2.163, 2.162, 2.163, 2.164, 2.161, 2.157, 2.152, 2.146, 2.138,\n> +                            2.137, 2.137, 2.141, 2.147, 2.152, 2.157,\n> 2.162, 2.162, 2.159, 2.161, 2.162, 2.162, 2.157, 2.152, 2.148, 2.148\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4850,\n> +                        \"table\":\n> +                        [\n> +                            1.463, 1.464, 1.471, 1.478, 1.479, 1.483,\n> 1.484, 1.486, 1.486, 1.484, 1.483, 1.481, 1.478, 1.475, 1.471, 1.468,\n> +                            1.463, 1.463, 1.468, 1.476, 1.479, 1.482,\n> 1.484, 1.487, 1.486, 1.484, 1.483, 1.482, 1.478, 1.473, 1.469, 1.468,\n> +                            1.463, 1.464, 1.468, 1.476, 1.479, 1.483,\n> 1.484, 1.486, 1.486, 1.485, 1.484, 1.482, 1.477, 1.473, 1.469, 1.468,\n> +                            1.463, 1.464, 1.469, 1.477, 1.481, 1.483,\n> 1.485, 1.487, 1.487, 1.485, 1.485, 1.482, 1.478, 1.474, 1.469, 1.468,\n> +                            1.465, 1.465, 1.471, 1.478, 1.481, 1.484,\n> 1.486, 1.488, 1.488, 1.487, 1.485, 1.482, 1.477, 1.472, 1.468, 1.467,\n> +                            1.465, 1.466, 1.472, 1.479, 1.482, 1.485,\n> 1.486, 1.488, 1.488, 1.486, 1.484, 1.479, 1.475, 1.472, 1.468, 1.466,\n> +                            1.466, 1.466, 1.472, 1.478, 1.482, 1.484,\n> 1.485, 1.488, 1.487, 1.485, 1.483, 1.479, 1.475, 1.472, 1.469, 1.468,\n> +                            1.465, 1.466, 1.469, 1.476, 1.481, 1.485,\n> 1.485, 1.486, 1.486, 1.485, 1.483, 1.479, 1.477, 1.474, 1.471, 1.469,\n> +                            1.464, 1.465, 1.469, 1.476, 1.481, 1.484,\n> 1.485, 1.487, 1.487, 1.486, 1.485, 1.481, 1.478, 1.475, 1.471, 1.469,\n> +                            1.463, 1.464, 1.469, 1.477, 1.481, 1.485,\n> 1.485, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.471, 1.468,\n> +                            1.464, 1.465, 1.471, 1.478, 1.482, 1.486,\n> 1.486, 1.488, 1.488, 1.487, 1.486, 1.481, 1.478, 1.475, 1.472, 1.468,\n> +                            1.465, 1.466, 1.472, 1.481, 1.483, 1.487,\n> 1.487, 1.488, 1.488, 1.486, 1.485, 1.481, 1.479, 1.476, 1.473, 1.472\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5930,\n> +                        \"table\":\n> +                        [\n> +                            1.443, 1.444, 1.448, 1.453, 1.459, 1.463,\n> 1.465, 1.467, 1.469, 1.469, 1.467, 1.466, 1.462, 1.457, 1.454, 1.451,\n> +                            1.443, 1.444, 1.445, 1.451, 1.459, 1.463,\n> 1.465, 1.467, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.451,\n> +                            1.444, 1.444, 1.445, 1.451, 1.459, 1.463,\n> 1.466, 1.468, 1.469, 1.469, 1.467, 1.465, 1.461, 1.456, 1.452, 1.449,\n> +                            1.444, 1.444, 1.447, 1.452, 1.459, 1.464,\n> 1.467, 1.469, 1.471, 1.469, 1.467, 1.466, 1.461, 1.456, 1.452, 1.449,\n> +                            1.444, 1.445, 1.448, 1.452, 1.459, 1.465,\n> 1.469, 1.471, 1.471, 1.471, 1.468, 1.465, 1.461, 1.455, 1.451, 1.449,\n> +                            1.445, 1.446, 1.449, 1.453, 1.461, 1.466,\n> 1.469, 1.471, 1.472, 1.469, 1.467, 1.465, 1.459, 1.455, 1.451, 1.447,\n> +                            1.446, 1.446, 1.449, 1.453, 1.461, 1.466,\n> 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.459, 1.455, 1.452, 1.449,\n> +                            1.446, 1.446, 1.447, 1.451, 1.459, 1.466,\n> 1.469, 1.469, 1.469, 1.469, 1.467, 1.465, 1.461, 1.457, 1.454, 1.451,\n> +                            1.444, 1.444, 1.447, 1.451, 1.459, 1.466,\n> 1.469, 1.469, 1.471, 1.471, 1.468, 1.466, 1.462, 1.458, 1.454, 1.452,\n> +                            1.444, 1.444, 1.448, 1.453, 1.459, 1.466,\n> 1.469, 1.471, 1.472, 1.472, 1.468, 1.466, 1.462, 1.458, 1.454, 1.449,\n> +                            1.446, 1.447, 1.449, 1.454, 1.461, 1.466,\n> 1.471, 1.471, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.455, 1.449,\n> +                            1.447, 1.447, 1.452, 1.457, 1.462, 1.468,\n> 1.472, 1.472, 1.471, 1.471, 1.468, 1.466, 1.462, 1.459, 1.456, 1.455\n> +                        ]\n> +                    }\n> +                ],\n> +                \"luminance_lut\":\n> +                [\n> +                    1.548, 1.499, 1.387, 1.289, 1.223, 1.183, 1.164,\n> 1.154, 1.153, 1.169, 1.211, 1.265, 1.345, 1.448, 1.581, 1.619,\n> +                    1.513, 1.412, 1.307, 1.228, 1.169, 1.129, 1.105,\n> 1.098, 1.103, 1.127, 1.157, 1.209, 1.272, 1.361, 1.481, 1.583,\n> +                    1.449, 1.365, 1.257, 1.175, 1.124, 1.085, 1.062,\n> 1.054, 1.059, 1.079, 1.113, 1.151, 1.211, 1.293, 1.407, 1.488,\n> +                    1.424, 1.324, 1.222, 1.139, 1.089, 1.056, 1.034,\n> 1.031, 1.034, 1.049, 1.075, 1.115, 1.164, 1.241, 1.351, 1.446,\n> +                    1.412, 1.297, 1.203, 1.119, 1.069, 1.039, 1.021,\n> 1.016, 1.022, 1.032, 1.052, 1.086, 1.135, 1.212, 1.321, 1.439,\n> +                    1.406, 1.287, 1.195, 1.115, 1.059, 1.028, 1.014,\n> 1.012, 1.015, 1.026, 1.041, 1.074, 1.125, 1.201, 1.302, 1.425,\n> +                    1.406, 1.294, 1.205, 1.126, 1.062, 1.031, 1.013,\n> 1.009, 1.011, 1.019, 1.042, 1.079, 1.129, 1.203, 1.302, 1.435,\n> +                    1.415, 1.318, 1.229, 1.146, 1.076, 1.039, 1.019,\n> 1.014, 1.017, 1.031, 1.053, 1.093, 1.144, 1.219, 1.314, 1.436,\n> +                    1.435, 1.348, 1.246, 1.164, 1.094, 1.059, 1.036,\n> 1.032, 1.037, 1.049, 1.072, 1.114, 1.167, 1.257, 1.343, 1.462,\n> +                    1.471, 1.385, 1.278, 1.189, 1.124, 1.084, 1.064,\n> 1.061, 1.069, 1.078, 1.101, 1.146, 1.207, 1.298, 1.415, 1.496,\n> +                    1.522, 1.436, 1.323, 1.228, 1.169, 1.118, 1.101,\n> 1.094, 1.099, 1.113, 1.146, 1.194, 1.265, 1.353, 1.474, 1.571,\n> +                    1.578, 1.506, 1.378, 1.281, 1.211, 1.156, 1.135,\n> 1.134, 1.139, 1.158, 1.194, 1.251, 1.327, 1.427, 1.559, 1.611\n> +                ],\n> +                \"sigma\": 0.00121,\n> +                \"sigma_Cb\": 0.00115\n> +            }\n> +        },\n> +        {\n> +            \"rpi.contrast\":\n> +            {\n> +                \"ce_enable\": 1,\n> +                \"gamma_curve\":\n> +                [\n> +                    0, 0,\n> +                    1024, 5040,\n> +                    2048, 9338,\n> +                    3072, 12356,\n> +                    4096, 15312,\n> +                    5120, 18051,\n> +                    6144, 20790,\n> +                    7168, 23193,\n> +                    8192, 25744,\n> +                    9216, 27942,\n> +                    10240, 30035,\n> +                    11264, 32005,\n> +                    12288, 33975,\n> +                    13312, 35815,\n> +                    14336, 37600,\n> +                    15360, 39168,\n> +                    16384, 40642,\n> +                    18432, 43379,\n> +                    20480, 45749,\n> +                    22528, 47753,\n> +                    24576, 49621,\n> +                    26624, 51253,\n> +                    28672, 52698,\n> +                    30720, 53796,\n> +                    32768, 54876,\n> +                    36864, 57012,\n> +                    40960, 58656,\n> +                    45056, 59954,\n> +                    49152, 61183,\n> +                    53248, 62355,\n> +                    57344, 63419,\n> +                    61440, 64476,\n> +                    65535, 65535\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.ccm\":\n> +            {\n> +                \"ccms\": [\n> +                    {\n> +                        \"ct\": 2360,\n> +                        \"ccm\":\n> +                        [\n> +                            1.66078, -0.23588, -0.42491,\n> +                            -0.47456, 1.82763, -0.35307,\n> +                            -0.00545, -1.44729, 2.45273\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 2870,\n> +                        \"ccm\":\n> +                        [\n> +                            1.78373, -0.55344, -0.23029,\n> +                            -0.39951, 1.69701, -0.29751,\n> +                            0.01986, -1.06525, 2.04539\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 2970,\n> +                        \"ccm\":\n> +                        [\n> +                            1.73511, -0.56973, -0.16537,\n> +                            -0.36338, 1.69878, -0.33539,\n> +                            -0.02354, -0.76813, 1.79168\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3000,\n> +                        \"ccm\":\n> +                        [\n> +                            2.06374, -0.92218, -0.14156,\n> +                            -0.41721, 1.69289, -0.27568,\n> +                            -0.00554, -0.92741, 1.93295\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3700,\n> +                        \"ccm\":\n> +                        [\n> +                            2.13792, -1.08136, -0.05655,\n> +                            -0.34739, 1.58989, -0.24249,\n> +                            -0.00349, -0.76789, 1.77138\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 3870,\n> +                        \"ccm\":\n> +                        [\n> +                            1.83834, -0.70528, -0.13307,\n> +                            -0.30499, 1.60523, -0.30024,\n> +                            -0.05701, -0.58313, 1.64014\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4000,\n> +                        \"ccm\":\n> +                        [\n> +                            2.15741, -1.10295, -0.05447,\n> +                            -0.34631, 1.61158, -0.26528,\n> +                            -0.02723, -0.70288, 1.73011\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4400,\n> +                        \"ccm\":\n> +                        [\n> +                            2.05729, -0.95007, -0.10723,\n> +                            -0.41712, 1.78606, -0.36894,\n> +                            -0.11899, -0.55727, 1.67626\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 4715,\n> +                        \"ccm\":\n> +                        [\n> +                            1.90255, -0.77478, -0.12777,\n> +                            -0.31338, 1.88197, -0.56858,\n> +                            -0.06001, -0.61785, 1.67786\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 5920,\n> +                        \"ccm\":\n> +                        [\n> +                            1.98691, -0.84671, -0.14019,\n> +                            -0.26581, 1.70615, -0.44035,\n> +                            -0.09532, -0.47332, 1.56864\n> +                        ]\n> +                    },\n> +                    {\n> +                        \"ct\": 9050,\n> +                        \"ccm\":\n> +                        [\n> +                            2.09255, -0.76541, -0.32714,\n> +                            -0.28973, 2.27462, -0.98489,\n> +                            -0.17299, -0.61275, 1.78574\n> +                        ]\n> +                    }\n> +                ]\n> +            }\n> +        },\n> +        {\n> +            \"rpi.sharpen\": { }\n> +        },\n> +        {\n> +            \"rpi.focus\": { }\n> +        }\n> +    ]\n> +}\n> \\ No newline at end of file\n> --\n> 2.30.2\n>\n>","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 3DED0BDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 30 Nov 2022 13:40:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 721D263336;\n\tWed, 30 Nov 2022 14:40:08 +0100 (CET)","from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com\n\t[IPv6:2607:f8b0:4864:20::d2c])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0BE5661F23\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 30 Nov 2022 14:40:06 +0100 (CET)","by mail-io1-xd2c.google.com with SMTP id n188so12285332iof.8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 30 Nov 2022 05:40:05 -0800 (PST)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1669815608;\n\tbh=K4XHq2pcHCZdu2RWfD0Qzg23rVviuVFqDav1lqYhGDE=;\n\th=References:In-Reply-To:Date:To:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=Z7VPGGZgw+PeyLdzzKV5GMlo4NUwz5m27qTqlI48UJmohtglTzIgSl2cLp0JCPiV4\n\tvYZnYkyk1yrQSVVD+t3+b3TCjQc75Tn0dqOodyjNrKCjLR4agubLpDxUW3Rzuorp3y\n\tXPo0KVqEaZ2oZkbbFq2i74MqAoPQCFAHcGXyWe2/L1RkKPe2bYNKvSCB4ZesWe7SOD\n\tC5NcpMQb9/+QZeY9h/marNj31IJu2C9llroBUyo52mveIE0MKHNbeBFpDlGYqvc5wR\n\tqUq9LelVbEn9Wwrb4FoLk0oQ88kky7vsNauuBeXdNdoA575CfaJoH5K8FqDmV2rE39\n\t8Js8MHGTsyUeg==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:from:to:cc:subject:date:message-id:reply-to;\n\tbh=qv0ltS9PMXc6jFvpoLe6i8kXDjaUIs1Ho9HiF9KdkLA=;\n\tb=pUPKG7nc/cbSQapjKZ7Q1aefSd7VqHd+evNaDV+U+Xf7e9mA1mANxiuNUrLBbqrIwN\n\tzZ9/+OYRnFYmJK//o6hcGRYbOM7o/jzeX9FFc6ChjaMrR7Evg0ewxnXaYNvxME0givZB\n\thL/J2Z6EahiTaRXoTnkktuA40Odli5+z1XHDwtA1bqpaMGQOBwaPi1Odz98XQWELfTzD\n\tpQw+ft72c4u3gzVNEgCEveDogJMeiejav2k9/F2KtZDZhkbpSLzMr34o2sl+FTlQiN3h\n\tiUEamCT/2vGVZxnLqxYlcxci+N5i28GWFLHfw6pYnCtl9TOS4HwAMzKxhHn68kLFQ22S\n\tpZGw=="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"pUPKG7nc\"; dkim-atps=neutral","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=cc:to:subject:message-id:date:from:in-reply-to:references\n\t:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id\n\t:reply-to;\n\tbh=qv0ltS9PMXc6jFvpoLe6i8kXDjaUIs1Ho9HiF9KdkLA=;\n\tb=BIfdnQfREgH5UnqJGuXkidIqK7uPlpCVgwY9TUWeFLlyrvuFy7X7N9AoK9HEw5ImVy\n\ttL3LNWYNx+TYzbLDXmu5ugkTGGdObcRiIHmYZXt0ekHV5RH/r4tVZmOnb0tqHenCJAjx\n\tVOgWGgLivHHty3HjdMTK86eodJw4Uk2xvkbjvm419VB5dK4vi703X5p3pr1tk05IcleC\n\tFidQQfZiItVVXY5kVOaMAWfnjiivWugsIbzHFPEs1JeurDijHlxSfpdBLdMPDQISqGrn\n\tYy7+RPZN/mc7ukY6hrtLed2AgFtZyVk/6SkPh9OLb8pI+WMeH4R/cyxm9CEQQvdKSluD\n\ts4eQ==","X-Gm-Message-State":"ANoB5pnopR11y1KZSwwtPbfzoKzTr/5ULIkrNZFgpHUYLPrRyd3tkSot\n\tYDzeorGS6/HnRGddH7/IB2/PmC535/e5sQMkCBYH/h96TxU=","X-Google-Smtp-Source":"AA0mqf6fy6DJLLgJQ7Vr8mzWFol5KJyFKqWKtaZmPknvTwaGEbfqes1wJNlNcOQm1r+mJeT5/e8UykE3bhPdkGjkHEE=","X-Received":"by 2002:a05:6602:4011:b0:6de:a999:203b with SMTP id\n\tbk17-20020a056602401100b006dea999203bmr24861644iob.144.1669815604775;\n\tWed, 30 Nov 2022 05:40:04 -0800 (PST)","MIME-Version":"1.0","References":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","In-Reply-To":"<20221130125840.2719-1-david.plowman@raspberrypi.com>","Date":"Wed, 30 Nov 2022 13:39:51 +0000","Message-ID":"<CAEmqJPpZBR5rvCp6RRmoXV-hJMBq+5sz9pu7hkKUNrdZ53PbXQ@mail.gmail.com>","To":"David Plowman <david.plowman@raspberrypi.com>","Content-Type":"multipart/alternative; boundary=\"000000000000f6a36e05eeb03dc6\"","Subject":"Re: [libcamera-devel] [PATCH] ipa: raspberrypi: imx477: Update\n\ttuning file for the latest camera modules","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","From":"Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>","Reply-To":"Naushir Patuck <naush@raspberrypi.com>","Cc":"libcamera-devel@lists.libcamera.org","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]