aboutsummaryrefslogtreecommitdiff
path: root/source/scale_argb.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2020-09-29 15:49:57 -0700
committerCommit Bot <commit-bot@chromium.org>2020-09-29 23:49:05 +0000
commite647902212ddce08d004bc34cf9720ac960b5d54 (patch)
tree953f61de2a2bc3592618a4cc324868b96f6a78e6 /source/scale_argb.cc
parent7a52fde1c4eb00790bd647b50842797daa5222e6 (diff)
downloadlibyuv-e647902212ddce08d004bc34cf9720ac960b5d54.tar.gz
NV12Scale function and ScaleUV for packed UV plane bilinear scaling
Bug: libyuv:718, libyuv:838, b/168918847 Change-Id: I3300c1e7d51407b9c3201cf52b68e2e11346ff5f Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2427868 Commit-Queue: Frank Barchard <fbarchard@chromium.org> Reviewed-by: richard winterton <rrwinterton@gmail.com>
Diffstat (limited to 'source/scale_argb.cc')
-rw-r--r--source/scale_argb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/scale_argb.cc b/source/scale_argb.cc
index 411a35a8..451d4ec4 100644
--- a/source/scale_argb.cc
+++ b/source/scale_argb.cc
@@ -981,7 +981,7 @@ static void ScaleARGB(const uint8_t* src,
}
}
if (dx == 0x10000 && (x & 0xffff) == 0) {
- // Arbitrary scale vertically, but unscaled vertically.
+ // Arbitrary scale vertically, but unscaled horizontally.
ScalePlaneVertical(src_height, clip_width, clip_height, src_stride,
dst_stride, src, dst, x, y, dy, 4, filtering);
return;