aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cspace.c')
-rw-r--r--frontend/cspace.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/cspace.c b/frontend/cspace.c
index f0c4912..33a981d 100644
--- a/frontend/cspace.c
+++ b/frontend/cspace.c
@@ -15,7 +15,7 @@
* in favor of NEON version or platform-specific conversion
*/
-#ifndef __ARM_NEON__
+#ifndef __arm__
void bgr555_to_rgb565(void *dst_, const void *src_, int bytes)
{
@@ -32,6 +32,10 @@ void bgr555_to_rgb565(void *dst_, const void *src_, int bytes)
}
}
+#endif
+
+#ifndef __ARM_NEON__
+
void bgr888_to_rgb565(void *dst_, const void *src_, int bytes)
{
const unsigned char *src = src_;