mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-19 02:25:16 +03:00
Only containing black levels for now. This should only slightly increase image quality, but apparently also works around a bug in libcamera making the output all black, with occasional purple or red flashes. [ci:skip-build]: already built successfully in CI
44 lines
1.1 KiB
Diff
44 lines
1.1 KiB
Diff
From b221b929e04d63b529eadb625d9f9d04a224d402 Mon Sep 17 00:00:00 2001
|
|
From: Robert Mader <robert.mader@collabora.com>
|
|
Date: Sat, 8 Mar 2025 10:38:06 +0100
|
|
Subject: [PATCH 1/2] ipa/simple: Add tuning file for IMX371
|
|
|
|
The value is guessed from similar IMX sensors.
|
|
---
|
|
src/ipa/simple/data/imx371.yaml | 11 +++++++++++
|
|
src/ipa/simple/data/meson.build | 1 +
|
|
2 files changed, 12 insertions(+)
|
|
create mode 100644 src/ipa/simple/data/imx371.yaml
|
|
|
|
diff --git a/src/ipa/simple/data/imx371.yaml b/src/ipa/simple/data/imx371.yaml
|
|
new file mode 100644
|
|
index 000000000..f7d01b738
|
|
--- /dev/null
|
|
+++ b/src/ipa/simple/data/imx371.yaml
|
|
@@ -0,0 +1,11 @@
|
|
+# SPDX-License-Identifier: CC0-1.0
|
|
+%YAML 1.1
|
|
+---
|
|
+version: 1
|
|
+algorithms:
|
|
+ - BlackLevel:
|
|
+ blackLevel: 4096
|
|
+ - Awb:
|
|
+ - Lut:
|
|
+ - Agc:
|
|
+...
|
|
diff --git a/src/ipa/simple/data/meson.build b/src/ipa/simple/data/meson.build
|
|
index cae83a3d5..19f90c976 100644
|
|
--- a/src/ipa/simple/data/meson.build
|
|
+++ b/src/ipa/simple/data/meson.build
|
|
@@ -4,6 +4,7 @@ conf_files = files([
|
|
'hi846.yaml',
|
|
'imx355.yaml',
|
|
'imx363.yaml',
|
|
+ 'imx371.yaml',
|
|
's5k3l6xx.yaml',
|
|
'uncalibrated.yaml',
|
|
])
|
|
--
|
|
2.48.1
|
|
|