From be4f2582062196dd6ecf393f55566367bc1dfa9f Mon Sep 17 00:00:00 2001 From: Leonard Kugis Date: Thu, 1 Feb 2018 00:26:36 +0100 Subject: reorganized configs --- src/config.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/config.h (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h new file mode 100644 index 0000000..004c1e5 --- /dev/null +++ b/src/config.h @@ -0,0 +1,46 @@ +/* + * config.h + * + * Created on: 31.01.2018 + * Author: Superleo1810 + */ + +#ifndef CONFIG_H_ +#define CONFIG_H_ + +typedef struct config_cpu { + u8 threads; +} config_cpu_t; + +typedef struct config_opencl { + u8 fpu; + u8 fma; + u8 set_func; // id, not pointer! +} config_opencl_t; + +typedef struct config { + config_cpu_t config_cpu; + config_opencl_t config_opencl; + u8 mode; + u8 zoomSpecific; + u8 video; + u8 filetype; + u16 width; + u16 height; + u8 videoFPS; + u32 bitrate; + u8 renderFPS; + d64 to_x; + d64 to_y; + d64 speed; + d64 (*zoom_func)(d64, d64); + u32 (*set_func)(d64, d64, u32); + GLuint tex; + u32 *arr; + u32 iterations; + u32 colorFrom; + u32 colorTo; + const char *path; +} config_t; + +#endif /* CONFIG_H_ */ -- cgit v1.2.1