~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: 119b8a923248e482064e6a1f20181470c73191b7 CTU-FEE-B0B35APO-Semestral-project/image-viewer/include/xwin_sdl.h -rw-r--r-- 309 bytes
119b8a92 — František Boháček feat: use NN for downscaling and optimize without using floats 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __XWIN_SDL_H__
#define __XWIN_SDL_H__

#include <stdbool.h>
#include <SDL.h>
#include <stdint.h>

int xwin_init(uint16_t w, uint16_t h);
void xwin_close();
void xwin_redraw(uint16_t w, uint16_t h, uint8_t *img);
bool xwin_poll_event(SDL_Event *event);
void xwin_save_image(char *output_name);

#endif
Do not follow this link