/* * render.h * * Created on: 15.01.2018 * Author: Superleo1810 */ #ifndef RENDER_H_ #define RENDER_H_ #include "defs.h" #include "render_opencl.h" #include "render_cpu.h" #include typedef struct config { CpuConfig config_cpu; OpenCLConfig config_opencl; u8 mode; u8 zoomSpecific; 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; GLuint tex; d64 zoom_func(d64 ft, d64 s); void init_render(Config *config); void show_render(); #endif /* RENDER_H_ */