Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4495

SDK • HSTX HDMI RGB565 - Changes needed to example?

$
0
0
I've got the HSTX example working nicely and have moved the processing onto the second core. I'm using two linebuffers which one of which is filled while the other is being output rather than outputting from the framebuffer direct. This allows me to do things like merge a top layer over a background layer in the code and then move that composite to the line buffer when required. I also use mapping arrays so a framebuffer that is 640x480x4bits can be mapped to any of 256 colours. All good so far. https://youtu.be/ZaofnupXfx8
I've played with various HSTX parameters so, for example, I can output RGB222 rather than RGB332 by modifying the EXPAND_TDMS register.
However, my attempts to run in RGB565 have so far failed. I think I understand the EXPAND_TDMS and EXPAND_SHIFT registers and the changes needed (?) but presumably I need to do something with CTRL to clock out more bits and I can't see how this should change.

Has anyone got a working RGB565 HDMI example or can give me some pointers?

Thanks

Statistics: Posted by matherp — Sat Aug 17, 2024 7:51 am — Replies 1 — Views 48



Viewing all articles
Browse latest Browse all 4495

Trending Articles