Backport the series from https://patchwork.libcamera.org/cover/24169/, fixing 'purple tint' issues on the Pixel 3a and OnePlus6 with Snapshot. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6961>
45 lines
1.1 KiB
Diff
45 lines
1.1 KiB
Diff
From 175bb5ee1932242967e439955b0dad942228158d Mon Sep 17 00:00:00 2001
|
|
From: Robert Mader <robert.mader@collabora.com>
|
|
Date: Sun, 24 Nov 2024 18:21:52 +0100
|
|
Subject: [PATCH 15/17] ipa/simple: Add tuning file for hi846
|
|
|
|
Used by the Librem5
|
|
---
|
|
src/ipa/simple/data/hi846.yaml | 11 +++++++++++
|
|
src/ipa/simple/data/meson.build | 1 +
|
|
2 files changed, 12 insertions(+)
|
|
create mode 100644 src/ipa/simple/data/hi846.yaml
|
|
|
|
diff --git a/src/ipa/simple/data/hi846.yaml b/src/ipa/simple/data/hi846.yaml
|
|
new file mode 100644
|
|
index 000000000..f7d01b738
|
|
--- /dev/null
|
|
+++ b/src/ipa/simple/data/hi846.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 a763edc4f..cae83a3d5 100644
|
|
--- a/src/ipa/simple/data/meson.build
|
|
+++ b/src/ipa/simple/data/meson.build
|
|
@@ -1,6 +1,7 @@
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
conf_files = files([
|
|
+ 'hi846.yaml',
|
|
'imx355.yaml',
|
|
'imx363.yaml',
|
|
's5k3l6xx.yaml',
|
|
--
|
|
2.50.1
|
|
|