/* * render.h * * Created on: 15.01.2018 * Author: Superleo1810 */ #ifndef RENDER_H_ #define RENDER_H_ #include "defs.h" #include "render_cpu.h" #include "render_opencl.h" typedef struct config { CpuConfig config_cpu; OpenCLConfig config_opencl; u8 mode; u8 video; u8 filetype; u16 width; u16 height; u8 videoFPS; u32 bitrate; const char *path; // TODO: key mapping als option in die struct } Config; Config *_config; u32 *s_arr; void init_render(Config *config); void show_render(); #endif /* RENDER_H_ */