Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
c3fce69f
Commit
c3fce69f
authored
Oct 23, 2018
by
Janne Grunau
Committed by
Ronald S. Bultje
Oct 24, 2018
Browse files
fix sign compare warnings in dav1d_loopfilter_sbrow
See
#97
.
parent
0bb53898
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lf_apply.c
View file @
c3fce69f
...
...
@@ -157,8 +157,8 @@ void bytefn(dav1d_loopfilter_sbrow)(const Dav1dFrameContext *const f,
const
int
halign
=
(
f
->
bh
+
31
)
&
~
31
;
const
int
ss_ver
=
f
->
cur
.
p
.
p
.
layout
==
DAV1D_PIXEL_LAYOUT_I420
;
const
int
ss_hor
=
f
->
cur
.
p
.
p
.
layout
!=
DAV1D_PIXEL_LAYOUT_I444
;
const
int
endy4
=
starty4
+
imin
(
hy4
-
sby
*
sbsz
,
sbsz
);
const
int
uv_endy4
=
(
endy4
+
ss_ver
)
>>
ss_ver
;
const
unsigned
endy4
=
starty4
+
imin
(
hy4
-
sby
*
sbsz
,
sbsz
);
const
unsigned
uv_endy4
=
(
endy4
+
ss_ver
)
>>
ss_ver
;
// fix lpf strength at tile col boundaries
const
uint8_t
*
lpf_y
=
&
f
->
lf
.
tx_lpf_right_edge
[
0
][
sby
<<
sbl2
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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