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
690ed688
Commit
690ed688
authored
Oct 22, 2018
by
Ronald S. Bultje
Browse files
Clamp bottom end of vertical tile length
Fixes
#69
.
parent
74f574ea
Pipeline
#1208
passed with stage
in 2 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/decode.c
View file @
690ed688
...
...
@@ -2652,8 +2652,10 @@ int dav1d_decode_frame(Dav1dFrameContext *const f) {
// and post-filtering, so that the full process runs in-line, so
// that frame threading is still possible
for
(
int
tile_row
=
0
;
tile_row
<
f
->
frame_hdr
.
tiling
.
rows
;
tile_row
++
)
{
const
int
sbh_end
=
imin
(
f
->
frame_hdr
.
tiling
.
row_start_sb
[
tile_row
+
1
],
f
->
sbh
);
for
(
int
sby
=
f
->
frame_hdr
.
tiling
.
row_start_sb
[
tile_row
];
sby
<
f
->
frame_hdr
.
tiling
.
row_start_sb
[
tile_row
+
1
]
;
sby
++
)
sby
<
sbh_end
;
sby
++
)
{
t
->
by
=
sby
<<
(
4
+
f
->
seq_hdr
.
sb128
);
for
(
int
tile_col
=
0
;
tile_col
<
f
->
frame_hdr
.
tiling
.
cols
;
tile_col
++
)
{
...
...
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