diff options
author | Frank Barchard <fbarchard@google.com> | 2017-12-13 17:38:52 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2017-12-14 18:22:16 +0000 |
commit | 3b81288ecef7ff63ca773040431cba728c9a3621 (patch) | |
tree | 05d07d0a6af8541c11e338aab6074a6408fe66f7 /source/scale_common.cc | |
parent | bb3180ae807ddf55335926d5f53b3856e2882b1c (diff) | |
download | libyuv-3b81288ecef7ff63ca773040431cba728c9a3621.tar.gz |
Remove Mips DSPR2 code
Bug: libyuv:765
Test: build for mips still passes
Change-Id: I99105ad3951d2210c0793e3b9241c178442fdc37
Reviewed-on: https://chromium-review.googlesource.com/826404
Reviewed-by: Weiyong Yao <braveyao@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'source/scale_common.cc')
-rw-r--r-- | source/scale_common.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/scale_common.cc b/source/scale_common.cc index fefb027b..e060c3cb 100644 --- a/source/scale_common.cc +++ b/source/scale_common.cc @@ -1063,16 +1063,6 @@ void ScalePlaneVertical(int src_height, } } #endif -#if defined(HAS_INTERPOLATEROW_DSPR2) - if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(src_argb, 4) && - IS_ALIGNED(src_stride, 4) && IS_ALIGNED(dst_argb, 4) && - IS_ALIGNED(dst_stride, 4)) { - InterpolateRow = InterpolateRow_Any_DSPR2; - if (IS_ALIGNED(dst_width_bytes, 4)) { - InterpolateRow = InterpolateRow_DSPR2; - } - } -#endif #if defined(HAS_INTERPOLATEROW_MSA) if (TestCpuFlag(kCpuHasMSA)) { InterpolateRow = InterpolateRow_Any_MSA; @@ -1151,16 +1141,6 @@ void ScalePlaneVertical_16(int src_height, } } #endif -#if defined(HAS_INTERPOLATEROW_16_DSPR2) - if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(src_argb, 4) && - IS_ALIGNED(src_stride, 4) && IS_ALIGNED(dst_argb, 4) && - IS_ALIGNED(dst_stride, 4)) { - InterpolateRow = InterpolateRow_Any_16_DSPR2; - if (IS_ALIGNED(dst_width_bytes, 4)) { - InterpolateRow = InterpolateRow_16_DSPR2; - } - } -#endif for (j = 0; j < dst_height; ++j) { int yi; int yf; |