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
e19c7699
Verified
Commit
e19c7699
authored
Jan 12, 2019
by
James Almer
Browse files
obu: set subsampling to 1 for monochrome
parent
8f87eebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/obu.c
View file @
e19c7699
...
...
@@ -221,7 +221,7 @@ static int parse_seq_hdr(Dav1dContext *const c, GetBits *const gb,
if
(
hdr
->
monochrome
)
{
hdr
->
color_range
=
dav1d_get_bits
(
gb
,
1
);
hdr
->
layout
=
DAV1D_PIXEL_LAYOUT_I400
;
hdr
->
ss_hor
=
hdr
->
ss_ver
=
0
;
hdr
->
ss_hor
=
hdr
->
ss_ver
=
1
;
hdr
->
chr
=
DAV1D_CHR_UNKNOWN
;
hdr
->
separate_uv_delta_q
=
0
;
}
else
if
(
hdr
->
pri
==
DAV1D_COLOR_PRI_BT709
&&
...
...
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