Commit 0e081561 authored by fbarchard@google.com's avatar fbarchard@google.com

Disable ARGB scaling on gcc 32 bit to avoid running out of GPR registers

BUG=none
TEST=none
Review URL: https://webrtc-codereview.appspot.com/563006

git-svn-id: http://libyuv.googlecode.com/svn/trunk@257 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 4e6c1fd4
...@@ -327,6 +327,9 @@ static void ScaleARGBRowDown2Int_SSE2(const uint8* src_ptr, int src_stride, ...@@ -327,6 +327,9 @@ static void ScaleARGBRowDown2Int_SSE2(const uint8* src_ptr, int src_stride,
); );
} }
#if defined(__x86_64__)
// TODO(fbarchard): 32 bit gcc runs out of registers. fix.
// Bilinear row filtering combines 4x2 -> 4x1. SSE2 version // Bilinear row filtering combines 4x2 -> 4x1. SSE2 version
// TODO(fbarchard): write single inline instead of 3 and use single mul of diff // TODO(fbarchard): write single inline instead of 3 and use single mul of diff
#define HAS_SCALEARGBFILTERROWS_SSE2 #define HAS_SCALEARGBFILTERROWS_SSE2
...@@ -524,6 +527,7 @@ static void ScaleARGBFilterRows_SSSE3(uint8* dst_ptr, ...@@ -524,6 +527,7 @@ static void ScaleARGBFilterRows_SSSE3(uint8* dst_ptr,
} }
return; return;
} }
#endif // 64 bit
#endif #endif
static void ScaleARGBRowDown2_C(const uint8* src_ptr, int, static void ScaleARGBRowDown2_C(const uint8* src_ptr, int,
......
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