mirror of
https://github.com/steve-m/hsdaoh.git
synced 2025-12-10 07:44:41 +01:00
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:
parent
f2506f34a4
commit
e20acf8c15
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue