Neon constants need address of not value
BUG=19
TEST=none
Review URL: https://webrtc-codereview.appspot.com/510002
git-svn-id: http://libyuv.googlecode.com/svn/trunk@246 16f28f9a-4ce2-e073-06de-1de4eb20be90
diff --git a/source/rotate_neon.cc b/source/rotate_neon.cc
index 7ff9936..8a82974 100644
--- a/source/rotate_neon.cc
+++ b/source/rotate_neon.cc
@@ -19,7 +19,7 @@
#if !defined(YUV_DISABLE_ASM) && defined(__ARM_NEON__)
-static const uvec8 vtbl_4x4_transpose =
+static const uvec8 kVTbl4x4Transpose =
{ 0, 4, 8, 12, 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15 };
void TransposeWx8_NEON(const uint8* src, int src_stride,
@@ -179,12 +179,12 @@
"+r"(dst), // %2
"+r"(dst_stride), // %3
"+r"(width) // %4
- : "r"(vtbl_4x4_transpose) // %5
+ : "r"(&kVTbl4x4Transpose) // %5
: "memory", "cc", "r9", "q0", "q1", "q2", "q3"
);
}
-static const uvec8 vtbl_4x4_transpose_di =
+static const uvec8 kVTbl4x4TransposeDi =
{ 0, 8, 1, 9, 2, 10, 3, 11, 4, 12, 5, 13, 6, 14, 7, 15 };
void TransposeUVWx8_NEON(const uint8* src, int src_stride,
@@ -384,14 +384,14 @@
"4: \n"
- : "+r"(src), // %0
- "+r"(src_stride), // %1
- "+r"(dst_a), // %2
- "+r"(dst_stride_a), // %3
- "+r"(dst_b), // %4
- "+r"(dst_stride_b), // %5
- "+r"(width) // %6
- : "r"(vtbl_4x4_transpose_di)// %7
+ : "+r"(src), // %0
+ "+r"(src_stride), // %1
+ "+r"(dst_a), // %2
+ "+r"(dst_stride_a), // %3
+ "+r"(dst_b), // %4
+ "+r"(dst_stride_b), // %5
+ "+r"(width) // %6
+ : "r"(&kVTbl4x4TransposeDi) // %7
: "memory", "cc", "r9",
"q0", "q1", "q2", "q3", "q8", "q9", "q10", "q11"
);