Index: source/scale_argb.cc |
diff --git a/source/scale_argb.cc b/source/scale_argb.cc |
index 132581cce855dd52f7b1ee784fb381b3ebb2ac86..adddf9db5a4a2bbed6ac9daabac3443557f12a82 100644 |
--- a/source/scale_argb.cc |
+++ b/source/scale_argb.cc |
@@ -210,14 +210,6 @@ static void ScaleARGBBilinearDown(int src_width, int src_height, |
clip_src_width = (int)(xr - xl) * 4; // Width aligned to 4. |
src_argb += xl * 4; |
x -= (int)(xl << 16); |
-#if defined(HAS_INTERPOLATEROW_SSE2) |
- if (TestCpuFlag(kCpuHasSSE2)) { |
- InterpolateRow = InterpolateRow_Any_SSE2; |
- if (IS_ALIGNED(clip_src_width, 16)) { |
- InterpolateRow = InterpolateRow_SSE2; |
- } |
- } |
-#endif |
#if defined(HAS_INTERPOLATEROW_SSSE3) |
if (TestCpuFlag(kCpuHasSSSE3)) { |
InterpolateRow = InterpolateRow_Any_SSSE3; |
@@ -308,14 +300,6 @@ static void ScaleARGBBilinearUp(int src_width, int src_height, |
int dst_width, int x, int dx) = |
filtering ? ScaleARGBFilterCols_C : ScaleARGBCols_C; |
const int max_y = (src_height - 1) << 16; |
-#if defined(HAS_INTERPOLATEROW_SSE2) |
- if (TestCpuFlag(kCpuHasSSE2)) { |
- InterpolateRow = InterpolateRow_Any_SSE2; |
- if (IS_ALIGNED(dst_width, 4)) { |
- InterpolateRow = InterpolateRow_SSE2; |
- } |
- } |
-#endif |
#if defined(HAS_INTERPOLATEROW_SSSE3) |
if (TestCpuFlag(kCpuHasSSSE3)) { |
InterpolateRow = InterpolateRow_Any_SSSE3; |
@@ -494,14 +478,6 @@ static void ScaleYUVToARGBBilinearUp(int src_width, int src_height, |
void (*InterpolateRow)(uint8* dst_argb, const uint8* src_argb, |
ptrdiff_t src_stride, int dst_width, int source_y_fraction) = |
InterpolateRow_C; |
-#if defined(HAS_INTERPOLATEROW_SSE2) |
- if (TestCpuFlag(kCpuHasSSE2)) { |
- InterpolateRow = InterpolateRow_Any_SSE2; |
- if (IS_ALIGNED(dst_width, 4)) { |
- InterpolateRow = InterpolateRow_SSE2; |
- } |
- } |
-#endif |
#if defined(HAS_INTERPOLATEROW_SSSE3) |
if (TestCpuFlag(kCpuHasSSSE3)) { |
InterpolateRow = InterpolateRow_Any_SSSE3; |