Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2018-11-15 20:47:09 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-11-15 20:47:37 +0300
commite55107960922779d14452db670eb5c6918f1b03f (patch)
tree38cb19ab5073c06e19aad9d551b9c3272f40292c
parent4149c72b5fd580858f5629d304688e36b27b4b33 (diff)
Don't clip in prep_8tap_scaled_c
-rw-r--r--src/mc_tmpl.c2
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;