| 7a8d521f |
1 | #ifndef __CSPACE_H__ |
| 2 | #define __CSPACE_H__ |
| 3 | |
| 495eab93 |
4 | #ifdef __cplusplus |
| 5 | extern "C" |
| 6 | { |
| 7 | #endif |
| 8 | |
| ff847a2e |
9 | void bgr555_to_rgb565(void *dst, const void *src, int bytes); |
| 10 | void bgr888_to_rgb888(void *dst, const void *src, int bytes); |
| 11 | void bgr888_to_rgb565(void *dst, const void *src, int bytes); |
| 00a5d459 |
12 | void rgb888_to_rgb565(void *dst, const void *src, int bytes); |
| 495eab93 |
13 | |
| 35d3fd2e |
14 | void bgr555_to_rgb565_b(void *dst, const void *src, int bytes, |
| 15 | int brightness2k); // 0-0x0800 |
| 16 | |
| 4d99e39b |
17 | void bgr555_to_xrgb8888(void *dst, const void *src, int bytes); |
| 18 | void bgr888_to_xrgb8888(void *dst, const void *src, int bytes); |
| 19 | |
| c9099d02 |
20 | void bgr_to_uyvy_init(void); |
| 5b9aa749 |
21 | void rgb565_to_uyvy(void *d, const void *s, int pixels); |
| 81023939 |
22 | void bgr555_to_uyvy(void *d, const void *s, int pixels, int x2); |
| 23 | void bgr888_to_uyvy(void *d, const void *s, int pixels, int x2); |
| c9099d02 |
24 | |
| 495eab93 |
25 | #ifdef __cplusplus |
| 26 | } |
| 27 | #endif |
| 7a8d521f |
28 | |
| 29 | #endif /* __CSPACE_H__ */ |