+ auto shift to zero

This commit is contained in:
2021-02-24 12:11:59 +01:00
parent 2116d62c63
commit 8bbe639ad5
2 changed files with 30 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
* ugly code from tTh
*/
#define FIMG_VERSION 119
#define FIMG_VERSION 120
/*
* in memory descriptor
@@ -128,7 +128,10 @@ 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);
/* funcs/saturation.c */
int fimg_shift_to_zero(FloatImg *s, FloatImg *d, float coefs[6]);
int fimg_auto_shift_to_zero(FloatImg *s, FloatImg *d);
/* --> funcs/plasmas.c */
int fimg_prototype_plasma(FloatImg *img, double time, int type);