Commit 79b18eec authored by fbarchard@google.com's avatar fbarchard@google.com

ifdef fix for 32 bit gcc

BUG=none
TEST=build on linux
Review URL: http://webrtc-codereview.appspot.com/256003

git-svn-id: http://libyuv.googlecode.com/svn/trunk@52 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 9394ed99
...@@ -368,6 +368,7 @@ static void TransposeWx8_SSSE3(const uint8* src, int src_stride, ...@@ -368,6 +368,7 @@ static void TransposeWx8_SSSE3(const uint8* src, int src_stride,
} }
#if defined (__i386__) #if defined (__i386__)
#define HAS_TRANSPOSE_UVWX8_SSE2
extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride, extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
uint8* dst_a, int dst_stride_a, uint8* dst_a, int dst_stride_a,
uint8* dst_b, int dst_stride_b, uint8* dst_b, int dst_stride_b,
...@@ -495,8 +496,7 @@ extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride, ...@@ -495,8 +496,7 @@ extern "C" void TransposeUVWx8_SSE2(const uint8* src, int src_stride,
"pop %ebx\n" "pop %ebx\n"
"ret\n" "ret\n"
); );
#elif defined (__x86_64__)
#if defined (__x86_64__)
// 64 bit version has enough registers to do 16x8 to 8x16 at a time. // 64 bit version has enough registers to do 16x8 to 8x16 at a time.
#define HAS_TRANSPOSE_WX8_FAST_SSSE3 #define HAS_TRANSPOSE_WX8_FAST_SSSE3
static void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride, static void TransposeWx8_FAST_SSSE3(const uint8* src, int src_stride,
......
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