aboutsummaryrefslogtreecommitdiff
path: root/source/scale.cc
diff options
context:
space:
mode:
authorYuan Tong <tongyuan200097@gmail.com>2022-08-02 17:43:54 +0800
committerFrank Barchard <fbarchard@chromium.org>2022-08-02 20:35:48 +0000
commit98ec7c28d5f4664d0cf5b7631e82a876ccb11c26 (patch)
tree2aedac7439ce92b483cac71e1652743c00d6ed5d /source/scale.cc
parentb028453ba61043a560298acae28eb813ea9bc67d (diff)
downloadlibyuv-98ec7c28d5f4664d0cf5b7631e82a876ccb11c26.tar.gz
Fix SSE2 version of ScalePlaneUp2_16_Bilinear
- Define HAS_SCALEROWUP2_BILINEAR_16_SSE2: it's now fixed. - Correct function name to ScaleRowUp2_Bilinear_16_Any_SSE2: this row function uses only SSE2 instructions. Bug: libyuv:882 Change-Id: Ib1c7ac5b09997cb5b32bc54109d8c566af762433 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3800842 Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'source/scale.cc')
-rw-r--r--source/scale.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/scale.cc b/source/scale.cc
index d673536b..e1335f1e 100644
--- a/source/scale.cc
+++ b/source/scale.cc
@@ -1654,8 +1654,8 @@ void ScalePlaneUp2_16_Bilinear(int src_width,
assert(src_height == ((dst_height + 1) / 2));
#ifdef HAS_SCALEROWUP2_BILINEAR_16_SSE2
- if (TestCpuFlag(kCpuHasSSSE3)) {
- Scale2RowUp = ScaleRowUp2_Bilinear_16_Any_SSSE3;
+ if (TestCpuFlag(kCpuHasSSE2)) {
+ Scale2RowUp = ScaleRowUp2_Bilinear_16_Any_SSE2;
}
#endif