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
718bb971
Commit
718bb971
authored
Sep 27, 2018
by
Ronald S. Bultje
Browse files
Fix upper bound of loopfilter hev strength.
Fixes
#21
.
parent
de3a894a
Pipeline
#502
passed with stage
in 1 minute and 7 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/loopfilter.c
View file @
718bb971
...
...
@@ -130,7 +130,7 @@ loop_filter(pixel *dst, int E, int I, int H,
int
hev
=
abs
(
p1
-
p0
)
>
H
||
abs
(
q1
-
q0
)
>
H
;
#define iclip_diff(v) iclip(v, -128 * (1 << (BITDEPTH - 8)), \
12
7
* (1 << (BITDEPTH - 8)))
12
8
* (1 << (BITDEPTH - 8))
- 1
)
if
(
hev
)
{
int
f
=
iclip_diff
(
p1
-
q1
),
f1
,
f2
;
...
...
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