|
maZZoo's blog very low frequency tech postings - code/fbskate.writeback |
||
home blog feed eyes info code [12] dect [4] hard [8] meta [5] security [5] |
Mon, 03 Oct 2005fbskate - bouncing jpegs on framebuffer devicesa quick and dirty hack to display jpegs on a framebuffer device. images larger or smaller than the framebuffer will bounce off the edges in good old pong style. this code does not do any errorchecking, all is "works for me" quality! BUGS: I don't do propper /dev/fb0 handling, just enough to run on my 32 bit framebuffer devices. Virtual resolutions are probably unsupported. I don't do propper JPEG decoding. BW images and somewhat rare color mappings won't work. writebacks... comment... |
||