aboutsummaryrefslogtreecommitdiff
path: root/source/convert.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2022-08-17 11:20:36 -0700
committerFrank Barchard <fbarchard@chromium.org>2022-08-17 18:39:05 +0000
commit3e38ce50589d9319badc0501f96d6c5b2b177472 (patch)
tree52ab2947f8d91d9463d6685099a0360e016a1421 /source/convert.cc
parent65e7c9d5706a77d1949da59bfcb0817c252ef8d6 (diff)
downloadlibyuv-3e38ce50589d9319badc0501f96d6c5b2b177472.tar.gz
SSE2 MM21->YUY2 conversion
Add SSE2 optimization for MM21ToYUY2 conversion. Bug: b/238137982 Change-Id: I189f712514308322f651b082b496bce9c015c4ee Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3832525 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: Justin Green <greenjustin@google.com>
Diffstat (limited to 'source/convert.cc')
-rw-r--r--source/convert.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/convert.cc b/source/convert.cc
index 37066721..a740d5ca 100644
--- a/source/convert.cc
+++ b/source/convert.cc
@@ -262,10 +262,10 @@ int I210ToI420(const uint16_t* src_y,
height);
ScalePlaneVertical_16To8(height, uv_width, uv_height, src_stride_u,
dst_stride_u, src_u, dst_u, 0, 32768, dy,
- /*wpp=*/1, scale, kFilterBilinear);
+ /*bpp=*/1, scale, kFilterBilinear);
ScalePlaneVertical_16To8(height, uv_width, uv_height, src_stride_v,
dst_stride_v, src_v, dst_v, 0, 32768, dy,
- /*wpp=*/1, scale, kFilterBilinear);
+ /*bpp=*/1, scale, kFilterBilinear);
}
return 0;
}