aboutsummaryrefslogtreecommitdiff
path: root/source/scale_common.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2022-04-19 18:08:03 -0700
committerlibyuv LUCI CQ <libyuv-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-20 01:27:33 +0000
commitd62ee21e6627888e84466b5a5ed15775582ac67b (patch)
tree679e84ce19f84c25e23a0e8823c0df5497bfe5af /source/scale_common.cc
parent3c0f408607792088ab3b5dbe914d9d99ced38318 (diff)
downloadlibyuv-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_common.cc')
-rw-r--r--source/scale_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/scale_common.cc b/source/scale_common.cc
index 4f7b063a..d54ab942 100644
--- a/source/scale_common.cc
+++ b/source/scale_common.cc
@@ -1465,7 +1465,7 @@ void ScalePlaneVertical(int src_height,
int x,
int y,
int dy,
- int bpp,
+ int bpp, // bytes per pixel. 4 for ARGB.
enum FilterMode filtering) {
// TODO(fbarchard): Allow higher bpp.
int dst_width_bytes = dst_width * bpp;