boilerplate for plasmas

This commit is contained in:
tth
2021-02-03 19:33:38 +01:00
parent 1b24c65877
commit 75f36c0f6a
6 changed files with 67 additions and 19 deletions

View File

@@ -3,7 +3,7 @@
* ugly code from tTh
*/
#define FIMG_VERSION 116
#define FIMG_VERSION 117
/*
* in memory descriptor
@@ -126,11 +126,12 @@ int fimg_square_root(FloatImg *s, FloatImg *d, double maxval);
int fimg_power_2(FloatImg *s, FloatImg *d, double maxval);
int fimg_cos_01(FloatImg *s, FloatImg *d, double maxval);
int fimg_cos_010(FloatImg *s, FloatImg *d, double maxval);
int fimg_mix_rgb_gray(FloatImg *img, float mix);
int fimg_shift_to_zero(FloatImg *s, FloatImg *d, float coefs[6]);
/* --> funcs/plasmas.c */
int fimg_prototype_plasma(FloatImg *img, char *txt, int type);
/* * * * experimental ! */
int fimg_classif_trial(FloatImg *src, FloatImg*dst, float fval, int notused);
int fimg_qsort_rgb_a(FloatImg *psrc, FloatImg *pdst, int notused);