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
690ed688
Commit
690ed688
authored
Oct 22, 2018
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clamp bottom end of vertical tile length
Fixes #69.
parent
74f574ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/decode.c
src/decode.c
+3
-1
No files found.
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
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