diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | debayer.fs.glsl | 3 | ||||
| -rw-r--r-- | debayer.vs.glsl | 3 | ||||
| -rw-r--r-- | glsldebayer.c | 3 | ||||
| -rwxr-xr-x | linpoly.py | 6 |
5 files changed, 18 insertions, 0 deletions
@@ -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 <GLES2/gl2.h> #include <GLES2/gl2ext.h> #include <EGL/egl.h> @@ -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 * |
