aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace.h
blob: 8c92d2d95085cea81a7f191b9187aa99c63b8f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifdef __cplusplus
extern "C"
{
#endif

void bgr555_to_rgb565(void *dst, const void *src, int bytes);
void bgr888_to_rgb888(void *dst, const void *src, int bytes);
void bgr888_to_rgb565(void *dst, const void *src, int bytes);
void rgb888_to_rgb565(void *dst, const void *src, int bytes);

void bgr555_to_rgb565_b(void *dst, const void *src, int bytes,
	int brightness2k); // 0-0x0800

void bgr_to_uyvy_init(void);
void rgb565_to_uyvy(void *d, const void *s, int pixels);
void bgr555_to_uyvy(void *d, const void *s, int pixels);
void bgr888_to_uyvy(void *d, const void *s, int pixels);

#ifdef __cplusplus
}
#endif