Wren6991 / PicoDVI

Bitbanged DVI on the RP2040 Microcontroller
BSD 3-Clause "New" or "Revised" License
1.23k stars 135 forks source link

Use 2 symbols per word on full res encode #43

Open MichaelBell opened 1 year ago

MichaelBell commented 1 year ago

This changes the last remaining case of using 1 TMDS symbol per word over to using 2.

The performance gain is pretty minor, and comes at the expense of introducing a second set of TMDS symbols, shifted left by 10 bits so that they can be OR'ed together with the first set. This unfortunately means we need to reintroduce clearing of the accumulator of one of the interpolators during the loop.

However, when you are trying to run at full resolution every cycle saved is worthwhile!