ref: e19c769943b7d9b072bc47f545818befa87f4bd3
parent: 8f87eebe9dbd45873ddfa4a40927010c47bc6291
author: James Almer <jamrial@gmail.com>
date: Sat Jan 12 15:52:19 EST 2019
obu: set subsampling to 1 for monochrome
--- a/src/obu.c
+++ b/src/obu.c
@@ -221,7 +221,7 @@
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 &&