aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cspace.h')
-rw-r--r--frontend/cspace.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/frontend/cspace.h b/frontend/cspace.h
new file mode 100644
index 0000000..1a9e339
--- /dev/null
+++ b/frontend/cspace.h
@@ -0,0 +1,18 @@
+#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 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