diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-15 20:47:09 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-15 20:47:37 +0300 |
commit | e55107960922779d14452db670eb5c6918f1b03f (patch) | |
tree | 38cb19ab5073c06e19aad9d551b9c3272f40292c | |
parent | 4149c72b5fd580858f5629d304688e36b27b4b33 (diff) |
Don't clip in prep_8tap_scaled_c
-rw-r--r-- | src/mc_tmpl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mc_tmpl.c b/src/mc_tmpl.c index 04e6fa8..1881243 100644 --- a/src/mc_tmpl.c +++ b/src/mc_tmpl.c @@ -273,7 +273,7 @@ prep_8tap_scaled_c(coef *tmp, const pixel *src, ptrdiff_t src_stride, GET_V_FILTER(my >> 6); for (x = 0; x < w; x++) - tmp[x] = fv ? FILTER_8TAP_CLIP(mid_ptr, x, fv, 128, 6) : mid_ptr[x]; + tmp[x] = fv ? FILTER_8TAP_RND(mid_ptr, x, fv, 128, 6) : mid_ptr[x]; my += dy; mid_ptr += (my >> 10) * 128; |