aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
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_ */