Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
d41c68cf
Commit
d41c68cf
authored
Oct 20, 2018
by
Ronald S. Bultje
Browse files
Fix looprestoration intermediate upper limit
Fixes
#80
.
parent
80e47425
Pipeline
#1173
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/looprestoration.c
View file @
d41c68cf
...
...
@@ -162,7 +162,7 @@ static void wiener_c(pixel *p, const ptrdiff_t p_stride,
}
hor_ptr
[
i
]
=
iclip
((
sum
+
rounding_off_h
)
>>
round_bits_h
,
0
,
clip_limit
);
iclip
((
sum
+
rounding_off_h
)
>>
round_bits_h
,
0
,
clip_limit
-
1
);
}
tmp_ptr
+=
REST_UNIT_STRIDE
;
hor_ptr
+=
REST_UNIT_STRIDE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment