blob: 004c1e5e24fd1dd79bac617714b773976df969ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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_ */
|