[5/6] utils: raspberrypi: ctt: Update vc4 tuning defaults
diff mbox series

Message ID 20250822123709.16966-6-david.plowman@raspberrypi.com
State New
Headers show
Series
  • Camera tuning updates for Raspberry Pi
Related show

Commit Message

David Plowman Aug. 22, 2025, 12:37 p.m. UTC
The sharpening default values are updated to be slightly less
aggressive, and exposure profiles are made slightly more
consistent. This now matches the latest tuning changes.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
---
 utils/raspberrypi/ctt/ctt_vc4.py | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Comments

Naushir Patuck Aug. 26, 2025, 7:13 a.m. UTC | #1
Hi David,

On Fri, 22 Aug 2025 at 13:37, David Plowman
<david.plowman@raspberrypi.com> wrote:
>
> The sharpening default values are updated to be slightly less
> aggressive, and exposure profiles are made slightly more
> consistent. This now matches the latest tuning changes.
>
> Signed-off-by: David Plowman <david.plowman@raspberrypi.com>

Reviewed-by: Naushir Patuck <naush@raspberrypi.com>

> ---
>  utils/raspberrypi/ctt/ctt_vc4.py | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
>
> diff --git a/utils/raspberrypi/ctt/ctt_vc4.py b/utils/raspberrypi/ctt/ctt_vc4.py
> index 7154e110..dd0c5414 100755
> --- a/utils/raspberrypi/ctt/ctt_vc4.py
> +++ b/utils/raspberrypi/ctt/ctt_vc4.py
> @@ -55,12 +55,16 @@ json_template = {
>          },
>          "exposure_modes": {
>              "normal": {
> -                "shutter": [100, 10000, 30000, 60000, 120000],
> -                "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
> +                "shutter": [100, 10000, 30000, 60000, 66666],
> +                "gain": [1.0, 2.0, 4.0, 6.0, 8.0]
>              },
>              "short": {
> -                "shutter": [100, 5000, 10000, 20000, 120000],
> -                "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
> +                "shutter": [100, 5000, 10000, 20000, 66666],
> +                "gain": [1.0, 2.0, 4.0, 6.0, 8.0]
> +            },
> +            "long": {
> +                "shutter": [ 100, 10000, 30000, 60000, 120000 ],
> +                "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
>              }
>          },
>          "constraint_modes": {
> @@ -120,6 +124,9 @@ json_template = {
>      "rpi.ccm": {
>      },
>      "rpi.sharpen": {
> +        "threshold": 0.75,
> +        "limit": 0.5,
> +        "strength": 1.0
>      }
>  }
>
> --
> 2.39.5
>

Patch
diff mbox series

diff --git a/utils/raspberrypi/ctt/ctt_vc4.py b/utils/raspberrypi/ctt/ctt_vc4.py
index 7154e110..dd0c5414 100755
--- a/utils/raspberrypi/ctt/ctt_vc4.py
+++ b/utils/raspberrypi/ctt/ctt_vc4.py
@@ -55,12 +55,16 @@  json_template = {
         },
         "exposure_modes": {
             "normal": {
-                "shutter": [100, 10000, 30000, 60000, 120000],
-                "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
+                "shutter": [100, 10000, 30000, 60000, 66666],
+                "gain": [1.0, 2.0, 4.0, 6.0, 8.0]
             },
             "short": {
-                "shutter": [100, 5000, 10000, 20000, 120000],
-                "gain": [1.0, 2.0, 4.0, 6.0, 6.0]
+                "shutter": [100, 5000, 10000, 20000, 66666],
+                "gain": [1.0, 2.0, 4.0, 6.0, 8.0]
+            },
+            "long": {
+                "shutter": [ 100, 10000, 30000, 60000, 120000 ],
+                "gain": [ 1.0, 2.0, 4.0, 6.0, 8.0 ]
             }
         },
         "constraint_modes": {
@@ -120,6 +124,9 @@  json_template = {
     "rpi.ccm": {
     },
     "rpi.sharpen": {
+        "threshold": 0.75,
+        "limit": 0.5,
+        "strength": 1.0
     }
 }