diff options
author | Frank Barchard <fbarchard@google.com> | 2022-04-19 18:08:03 -0700 |
---|---|---|
committer | libyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-04-20 01:27:33 +0000 |
commit | d62ee21e6627888e84466b5a5ed15775582ac67b (patch) | |
tree | 679e84ce19f84c25e23a0e8823c0df5497bfe5af /source/scale_argb.cc | |
parent | 3c0f408607792088ab3b5dbe914d9d99ced38318 (diff) | |
download | libyuv-d62ee21e6627888e84466b5a5ed15775582ac67b.tar.gz |
UVScale fix for vertical-only scaling
Bug: b/228841445
Change-Id: I0342856e1bfcea69851d718459d66926bb170219
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3595240
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Reviewed-by: Miguel Casas-Sanchez <mcasas@chromium.org>
Commit-Queue: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'source/scale_argb.cc')
-rw-r--r-- | source/scale_argb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/scale_argb.cc b/source/scale_argb.cc index 3238df05..10b5c8fe 100644 --- a/source/scale_argb.cc +++ b/source/scale_argb.cc @@ -1017,7 +1017,7 @@ static void ScaleARGB(const uint8_t* src, if (dx == 0x10000 && (x & 0xffff) == 0) { // Arbitrary scale vertically, but unscaled horizontally. ScalePlaneVertical(src_height, clip_width, clip_height, src_stride, - dst_stride, src, dst, x, y, dy, 4, filtering); + dst_stride, src, dst, x, y, dy, /*bpp=*/4, filtering); return; } if (filtering && dy < 65536) { |