Commit 19a248ab authored by fbarchard@google.com's avatar fbarchard@google.com

fix for underscore on gcc 32 bit for linux

BUG=none
TEST=none
Review URL: http://webrtc-codereview.appspot.com/325001

git-svn-id: http://libyuv.googlecode.com/svn/trunk@102 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent fe5ff7ed
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 101 Version: 102
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
...@@ -37,7 +37,7 @@ uvec8 kShuffleReverseUV = { ...@@ -37,7 +37,7 @@ uvec8 kShuffleReverseUV = {
#else #else
#define DECLARE_FUNCTION(name) \ #define DECLARE_FUNCTION(name) \
".text \n" \ ".text \n" \
".global _" #name " \n" \ ".global " #name " \n" \
#name ": \n" #name ": \n"
#endif #endif
......
...@@ -638,6 +638,9 @@ void BGRAToUVRow_SSSE3(const uint8* src_argb, int src_stride_argb, ...@@ -638,6 +638,9 @@ void BGRAToUVRow_SSSE3(const uint8* src_argb, int src_stride_argb,
#ifdef HAS_REVERSE_ROW_SSSE3 #ifdef HAS_REVERSE_ROW_SSSE3
// TODO(fbarchard): define CONST macro that is static const for linux, but
// does nothing for gcc on OSX (which has an internal compiler fault)
// Shuffle table for reversing the bytes. // Shuffle table for reversing the bytes.
uvec8 kShuffleReverse = { uvec8 kShuffleReverse = {
15u, 14u, 13u, 12u, 11u, 10u, 9u, 8u, 7u, 6u, 5u, 4u, 3u, 2u, 1u, 0u 15u, 14u, 13u, 12u, 11u, 10u, 9u, 8u, 7u, 6u, 5u, 4u, 3u, 2u, 1u, 0u
......
...@@ -528,7 +528,7 @@ static void ScaleRowDown38_2_Int_NEON(const uint8* src_ptr, int src_stride, ...@@ -528,7 +528,7 @@ static void ScaleRowDown38_2_Int_NEON(const uint8* src_ptr, int src_stride,
#else #else
#define DECLARE_FUNCTION(name) \ #define DECLARE_FUNCTION(name) \
".text \n" \ ".text \n" \
".global _" #name " \n" \ ".global " #name " \n" \
#name ": \n" #name ": \n"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment