diff options
| author | Wolfgang Draxinger <code@datenwolf.net> | 2025-07-19 12:34:03 +0200 |
|---|---|---|
| committer | Wolfgang Draxinger <code@datenwolf.net> | 2025-07-19 12:34:03 +0200 |
| commit | ead2b129d2e555a8040bc8178bc82698ef8e3221 (patch) | |
| tree | 42e07a3aee20dd311e989fc0ed2397c39fe69715 | |
| parent | 1a9569912879f52c69a6f301719e5b543fe86cc6 (diff) | |
| download | glsldebayer-dev_dw.tar.gz glsldebayer-dev_dw.tar.bz2 | |
| -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 * |
