refactor some code + bug fix
[pcsx_rearmed.git] / frontend / cspace.h
CommitLineData
495eab93 1#ifdef __cplusplus
2extern "C"
3{
4#endif
5
ff847a2e 6void bgr555_to_rgb565(void *dst, const void *src, int bytes);
7void bgr888_to_rgb888(void *dst, const void *src, int bytes);
8void bgr888_to_rgb565(void *dst, const void *src, int bytes);
00a5d459 9void rgb888_to_rgb565(void *dst, const void *src, int bytes);
495eab93 10
35d3fd2e 11void bgr555_to_rgb565_b(void *dst, const void *src, int bytes,
12 int brightness2k); // 0-0x0800
13
c9099d02 14void bgr_to_uyvy_init(void);
5b9aa749 15void rgb565_to_uyvy(void *d, const void *s, int pixels);
c9099d02 16void bgr555_to_uyvy(void *d, const void *s, int pixels);
17void bgr888_to_uyvy(void *d, const void *s, int pixels);
18
495eab93 19#ifdef __cplusplus
20}
21#endif