From d57557c0644f9294e30657f0c7cf673cf2914695 Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 8 Feb 2013 02:13:03 +0200 Subject: frontend: add armv6 color space converter --- frontend/cspace.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'frontend/cspace.c') 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_; -- cgit v1.2.3