added sqrt & pow2 processing

This commit is contained in:
tth 2021-05-08 21:57:10 +02:00
parent c0f3b86d0c
commit 936ea6ceab
2 changed files with 10 additions and 1 deletions

View File

@ -262,6 +262,13 @@ switch (idFx) {
retval = trinitron(image, 0); retval = trinitron(image, 0);
break; 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 */ /* here are the glitches */
case CR_bsombra: /* experiment ! */ case CR_bsombra: /* experiment ! */
retval = des_bords_sombres_a(image, 160); retval = des_bords_sombres_a(image, 160);

View File

@ -19,7 +19,9 @@
18 updown 1 1.0 18 updown 1 1.0
19 hipass 1 1.0 19 hipass 1 1.0
20 octotree 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 24 bsombra 1 1.0
25 vsglitch 1 1.0 25 vsglitch 1 1.0
26 rndblks 1 1.0 26 rndblks 1 1.0