2,704 karma · joined October 19, 2011
Working full time on a digital signage service:
https://info-beamer.com
See https://dividuum.de/ for other projects.Contact me at fw@dividuum.de / @dividuum
The raw RGBA output is then received and converted back into PNG or similar. It was a bit tricky to get everything working without additional allocation and using syscalls triggered by glibc somewhere, but works pretty well now and is fast enough for my use case (around 20ms/item).
You now basically have a two step lookup: palette_rgb[colormap[color, light]]
I also used the GCC local labels feature to completely avoid using __LINE__ anywhere, so you could have multiple coReturns in a single code line:
#define LC_SET(s) do { ({ __label__ resume; resume: (s) = &&resume; }); }while(0)
Agreed on the web stuff. But I’d say the web sucks, not the Pi. :-)
We’re still pretty happy with the Pi and the move to more open source APIs (Mesa/DRM/KMS/FFmpeg) is, now that they are finally in a state they feel usable, really promising. As our main use case is still digital signage, the raw processes power isn’t really that relevant as the expensive part (video decoding) is obviously accelerated and the backwards compatibility that’s possible with the Pi is awesome. We still have customers running Pi1B+ devices continuously for almost 10 years with the latest OS release we provide.