platforms: enable emscripten
[pcsx_rearmed.git] / frontend / cspace.h
... / ...
CommitLineData
1#ifndef __CSPACE_H__
2#define __CSPACE_H__
3
4#ifdef __cplusplus
5extern "C"
6{
7#endif
8
9void bgr555_to_rgb565(void *dst, const void *src, int bytes);
10void bgr888_to_rgb888(void *dst, const void *src, int bytes);
11void bgr888_to_rgb565(void *dst, const void *src, int bytes);
12void rgb888_to_rgb565(void *dst, const void *src, int bytes);
13
14void bgr555_to_rgb565_b(void *dst, const void *src, int bytes,
15 int brightness2k); // 0-0x0800
16
17void bgr_to_uyvy_init(void);
18void rgb565_to_uyvy(void *d, const void *s, int pixels);
19void bgr555_to_uyvy(void *d, const void *s, int pixels);
20void bgr888_to_uyvy(void *d, const void *s, int pixels);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif /* __CSPACE_H__ */