aboutsummaryrefslogtreecommitdiff
path: root/include/libyuv/scale_row.h
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 /include/libyuv/scale_row.h
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 'include/libyuv/scale_row.h')
-rw-r--r--include/libyuv/scale_row.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libyuv/scale_row.h b/include/libyuv/scale_row.h
index a96078b3..6be21298 100644
--- a/include/libyuv/scale_row.h
+++ b/include/libyuv/scale_row.h
@@ -83,8 +83,7 @@ extern "C" {
#define HAS_SCALEROWUP2_LINEAR_12_SSSE3
#define HAS_SCALEROWUP2_BILINEAR_12_SSSE3
#define HAS_SCALEROWUP2_LINEAR_16_SSE2
-// TODO(libyuv:882): Fix SSE2 version of BILINEAR
-//#define HAS_SCALEROWUP2_BILINEAR_16_SSE2
+#define HAS_SCALEROWUP2_BILINEAR_16_SSE2
#define HAS_SCALEUVROWUP2_LINEAR_SSSE3
#define HAS_SCALEUVROWUP2_BILINEAR_SSSE3
#define HAS_SCALEUVROWUP2_LINEAR_16_SSE41
@@ -693,7 +692,7 @@ void ScaleRowUp2_Bilinear_12_Any_SSSE3(const uint16_t* src_ptr,
void ScaleRowUp2_Linear_16_Any_SSE2(const uint16_t* src_ptr,
uint16_t* dst_ptr,
int dst_width);
-void ScaleRowUp2_Bilinear_16_Any_SSSE3(const uint16_t* src_ptr,
+void ScaleRowUp2_Bilinear_16_Any_SSE2(const uint16_t* src_ptr,
ptrdiff_t src_stride,
uint16_t* dst_ptr,
ptrdiff_t dst_stride,