lib: force input decoder to YCbCr mode

By writing the second register, the input decoder
seems to be forced to YCbCr mode, irregardless
of what is specified in the AVI info frame or even
the presence of it.
This commit is contained in:
Steve Markgraf 2024-11-20 23:16:08 +01:00
parent f2506f34a4
commit e20acf8c15

View file

@ -190,7 +190,8 @@ void hsdaoh_ms_enable_transparent_mode(hsdaoh_dev_t *dev)
* no warranty! */
/* force YCbCr 4:2:2/YUV input, default is 0x04 (RGB) */
hsdaoh_ms_write_register(dev, 0xf039, 0x06);
hsdaoh_ms_write_register(dev, 0xf039, 0x00);
hsdaoh_ms_write_register(dev, 0xf030, 0x02);
/* disable sharpening */
hsdaoh_ms_write_register(dev, 0xf6b0, 0x00);