FloatImg/Fonderie/filterstack.h

24 lines
411 B
C
Raw Normal View History

2020-12-03 21:56:45 +01:00
/*
* filterstack.h
*/
typedef struct {
2020-12-07 04:45:51 +01:00
int numero; /* id in rapulator */
2020-12-03 21:56:45 +01:00
int ival;
float fval;
} FilterSlot;
int filterstack_init(int nbre);
int filterstack_add(int code, int ival, float fval);
2020-12-07 04:45:51 +01:00
int filterstack_list(const char *txt); /* XXX */
2020-12-03 21:56:45 +01:00
int filterstack_run(FloatImg *target, int notused);
2020-12-04 19:55:34 +01:00
int load_stack_from_file(char *fname, int notused);
2020-12-07 04:45:51 +01:00
int parse_filter_chain(const char *argument);