From 936ea6ceab3c5a66410e2a5e5469358b34643aff Mon Sep 17 00:00:00 2001 From: tth Date: Sat, 8 May 2021 21:57:10 +0200 Subject: [PATCH] added sqrt & pow2 processing --- Fonderie/crapulator.c | 7 +++++++ Fonderie/crapulors.liste | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Fonderie/crapulator.c b/Fonderie/crapulator.c index e58d479a..6458ef62 100644 --- a/Fonderie/crapulator.c +++ b/Fonderie/crapulator.c @@ -262,6 +262,13 @@ switch (idFx) { retval = trinitron(image, 0); break; + case CR_sqrt: + retval = fimg_square_root(image, image, 1000.0); + break; + case CR_pow2: + retval = fimg_power_2(image, image, 1000.0); + break; + /* here are the glitches */ case CR_bsombra: /* experiment ! */ retval = des_bords_sombres_a(image, 160); diff --git a/Fonderie/crapulors.liste b/Fonderie/crapulors.liste index 3873558d..7d3054a5 100644 --- a/Fonderie/crapulors.liste +++ b/Fonderie/crapulors.liste @@ -19,7 +19,9 @@ 18 updown 1 1.0 19 hipass 1 1.0 20 octotree 1 1.0 -21 trinitron 3, 0.0 +21 trinitron 3 0.0 +22 sqrt 1 0.0 +23 pow2 1 0.0 24 bsombra 1 1.0 25 vsglitch 1 1.0 26 rndblks 1 1.0