| 7a8d521f |
1 | #ifndef __CSPACE_H__ |
| 2 | #define __CSPACE_H__ |
| 3 | |
| 495eab93 |
4 | #ifdef __cplusplus |
| 5 | extern "C" |
| 6 | { |
| 7 | #endif |
| 8 | |
| b7354977 |
9 | void bgr555_to_rgb565(void *dst, const void *src, int pixels); |
| 10 | void bgr888_to_rgb888(void *dst, const void *src, int pixels); |
| 11 | void bgr888_to_rgb565(void *dst, const void *src, int pixels); |
| 12 | void rgb888_to_rgb565(void *dst, const void *src, int pixels); |
| 495eab93 |
13 | |
| b7354977 |
14 | void bgr555_to_rgb565_b(void *dst, const void *src, int pixels, |
| 35d3fd2e |
15 | int brightness2k); // 0-0x0800 |
| 16 | |
| b7354977 |
17 | void bgr555_to_xrgb8888(void *dst, const void *src, int pixels); |
| 18 | void bgr888_to_xrgb8888(void *dst, const void *src, int pixels); |
| 19 | |
| 20 | void bgr555_to_rgb565_640_to_320(void *dst, const void *src, int dst_pixels); |
| 21 | void bgr888_to_rgb565_640_to_320(void *dst, const void *src, int dst_pixels); |
| 22 | void bgr888_to_rgb888_640_to_320(void *dst, const void *src, int dst_pixels); |
| 23 | void bgr555_to_xrgb8888_640_to_320(void *dst, const void *src, int dst_pixels); |
| 24 | void bgr888_to_xrgb8888_640_to_320(void *dst, const void *src, int dst_pixels); |
| 25 | void bgr555_to_rgb565_512_to_320(void *dst, const void *src, int dst_pixels); |
| 26 | void bgr888_to_rgb565_512_to_320(void *dst, const void *src, int dst_pixels); |
| 27 | void bgr888_to_rgb888_512_to_320(void *dst, const void *src, int dst_pixels); |
| 28 | void bgr555_to_xrgb8888_512_to_320(void *dst, const void *src, int dst_pixels); |
| 29 | void bgr888_to_xrgb8888_512_to_320(void *dst, const void *src, int dst_pixels); |
| 4d99e39b |
30 | |
| c9099d02 |
31 | void bgr_to_uyvy_init(void); |
| 5b9aa749 |
32 | void rgb565_to_uyvy(void *d, const void *s, int pixels); |
| 81023939 |
33 | void bgr555_to_uyvy(void *d, const void *s, int pixels, int x2); |
| 34 | void bgr888_to_uyvy(void *d, const void *s, int pixels, int x2); |
| c9099d02 |
35 | |
| 495eab93 |
36 | #ifdef __cplusplus |
| 37 | } |
| 38 | #endif |
| 7a8d521f |
39 | |
| 40 | #endif /* __CSPACE_H__ */ |