Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
François Cartegnie
dav1d
Commits
d41c68cf
Commit
d41c68cf
authored
Oct 20, 2018
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix looprestoration intermediate upper limit
Fixes #80.
parent
80e47425
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/looprestoration.c
src/looprestoration.c
+1
-1
No files found.
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
Markdown
is supported
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