blob: 4ae2360b6ab75aa1dedc856b20ceeae581c4e93b (
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
|
/*
* 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_ */
|