summaryrefslogtreecommitdiff
path: root/libcopybit
diff options
context:
space:
mode:
authorSushil Chauhan <sushilchauhan@codeaurora.org>2014-07-31 12:22:31 -0700
committerSushil Chauhan <sushilchauhan@codeaurora.org>2014-07-31 12:46:29 -0700
commit5cc90ddef83b529fe0ff85467913907e3ba67f23 (patch)
treece248e24c7a1c1882ebe04607533fb02d9914192 /libcopybit
parent135aadbf4c17987eead32a96be9e4fe8da8db501 (diff)
downloaddisplay-5cc90ddef83b529fe0ff85467913907e3ba67f23.tar.gz
copybit: Avoid NEON instructions in s/w converter on 64bit
NEON instructions in software converter are specifically written for 32 bit ARM architecture. Do not compile them on 64 bit arch. Change-Id: I1dbac24df519e00a2cc125b35cbd3bc520188457
Diffstat (limited to 'libcopybit')
-rw-r--r--libcopybit/software_converter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcopybit/software_converter.cpp b/libcopybit/software_converter.cpp
index 71e685e8..9ea87670 100644
--- a/libcopybit/software_converter.cpp
+++ b/libcopybit/software_converter.cpp
@@ -60,7 +60,7 @@ int convertYV12toYCrCb420SP(const copybit_image_t *src, private_handle_t *yv12_h
unsigned char* oldChroma = (unsigned char*)(hnd->base + y_size);
memcpy((char *)yv12_handle->base,(char *)hnd->base,y_size);
-#ifdef __ARM_HAVE_NEON
+#if defined(__ARM_HAVE_NEON) && !defined(__aarch64__)
/* interleave */
if(!chromaPadding) {
unsigned char * t1 = newChroma;