summaryrefslogtreecommitdiff
authorTellen Yu <tellen.yu@amlogic.com>2015-05-22 14:19:05 (GMT)
committer Tellen Yu <tellen.yu@amlogic.com>2015-05-22 14:19:05 (GMT)
commitc36c82655e4b9be33e3a6f3dd1e999a0a9595339 (patch)
tree69809e5da198677046c841e0b889cd4df156c8b4
parent83447c531fba19a3f921ecd36d2fcb81b180f47b (diff)
downloadcamera-c36c82655e4b9be33e3a6f3dd1e999a0a9595339.zip
camera-c36c82655e4b9be33e3a6f3dd1e999a0a9595339.tar.gz
camera-c36c82655e4b9be33e3a6f3dd1e999a0a9595339.tar.bz2
modify for compatibility 64bit
Change-Id: I5e40c68368a0523969953ddb46f1866c35b14685
Diffstat
-rwxr-xr-xv3/fake-pipeline2/JpegCompressor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/v3/fake-pipeline2/JpegCompressor.cpp b/v3/fake-pipeline2/JpegCompressor.cpp
index 6678116..35730b8 100755
--- a/v3/fake-pipeline2/JpegCompressor.cpp
+++ b/v3/fake-pipeline2/JpegCompressor.cpp
@@ -465,6 +465,7 @@ static void yuyv_to_yuv(uint8_t* dst, uint32_t* src, int width) {
}
} else {
int n = width;
+#if defined(__arm__)
asm volatile (
" pld [%[src], %[src_stride], lsl #2] \n\t"
" cmp %[n], #16 \n\t"
@@ -489,6 +490,8 @@ static void yuyv_to_yuv(uint8_t* dst, uint32_t* src, int width) {
: [src_stride] "r" (width)
: "cc", "memory", "q0", "q1", "q2"
);
+#elif defined(__aarch64__)
+#endif
}
}