fl2k RGB buffer format

Sylvain Munaut 246tnt at gmail.com
Tue Apr 24 16:30:09 UTC 2018


Look at them as 32 bits words :

g1,r1,b2,g2,
b0,g0,r0,b1,
b4,g4,r4,b5,
r2,b3,g3,r3,
r6,b7,g7,r7,
g5,r5,b6,g6

Then imagine them being grouped 2 by two and read in reverse order :
(probably because of endianness)

b0,g0,r0,b1,
g1,r1,b2,g2,
r2,b3,g3,r3,
b4,g4,r4,b5,
g5,r5,b6,g6,
r6,b7,g7,r7,

Cheers,

   Sylvain


More information about the osmocom-sdr mailing list