aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorLeonard Kugis <leonardkugis@gmail.com>2018-02-01 00:26:36 +0100
committerLeonard Kugis <leonardkugis@gmail.com>2018-02-01 00:26:36 +0100
commitbe4f2582062196dd6ecf393f55566367bc1dfa9f (patch)
tree9c80c556327097f6ab7e4b97b5b195d45167565f /src/config.h
parent28006d5fa6af63a9bc2f274e7daf7a741eaacde5 (diff)
reorganized configs
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h46
1 files changed, 46 insertions, 0 deletions
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_ */