From ead2b129d2e555a8040bc8178bc82698ef8e3221 Mon Sep 17 00:00:00 2001 From: Wolfgang Draxinger Date: Sat, 19 Jul 2025 12:34:03 +0200 Subject: zlib/libpng licensed --- Makefile | 3 +++ debayer.fs.glsl | 3 +++ debayer.vs.glsl | 3 +++ glsldebayer.c | 3 +++ linpoly.py | 6 ++++++ 5 files changed, 18 insertions(+) diff --git a/Makefile b/Makefile index e4d2f8c..1dcde3f 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: zlib-acknowledgement +# (c) 2025 Wolfgang 'datenwolf' Draxinger + .PHONY: all clean allclean all: glsldebayer diff --git a/debayer.fs.glsl b/debayer.fs.glsl index e6eace4..e4a1f23 100644 --- a/debayer.fs.glsl +++ b/debayer.fs.glsl @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: zlib-acknowledgement */ +/* (c) 2025 Wolfgang 'datenwolf' Draxinger */ + uniform sampler2D u_sampler; uniform highp mat4 u_coef_r; uniform highp mat4 u_coef_g; diff --git a/debayer.vs.glsl b/debayer.vs.glsl index 149b18c..f7d81cd 100644 --- a/debayer.vs.glsl +++ b/debayer.vs.glsl @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: zlib-acknowledgement */ +/* (c) 2025 Wolfgang 'datenwolf' Draxinger */ + attribute highp vec2 a_position; varying highp vec2 v_position; void main(){ diff --git a/glsldebayer.c b/glsldebayer.c index 1e0720e..ec94044 100644 --- a/glsldebayer.c +++ b/glsldebayer.c @@ -1,3 +1,6 @@ +/* SPDX-License-Identifier: zlib-acknowledgement */ +/* (c) 2025 Wolfgang 'datenwolf' Draxinger */ + #include #include #include diff --git a/linpoly.py b/linpoly.py index 3419a07..fb58985 100755 --- a/linpoly.py +++ b/linpoly.py @@ -1,4 +1,10 @@ #!/usr/bin/env -S python3 +# SPDX-License-Identifier: zlib-acknowledgement +# (c) 2025 Wolfgang 'datenwolf' Draxinger +# +# Fit a power polynomial of degree 16 to a tristimulus linearization LUT +# and output the coefficients in the form of C-style arrays + import numpy from numpy.polynomial import Polynomial, Chebyshev from matplotlib.pyplot import * -- cgit v1.3.1