Saturday, 6 June 2009

Blending two RGBA 5551 layers

I've just stumbled accross a small piece of code, written one year and a half ago, that blends two 512x512 RGBA 5551 images. It was originally written for a (good!) GIS, so the piece of code blends roads with rivers (and displays the result in a GdkPixbuf). The only thing interesting is that it uses some MMX, SSE2 and rdtsc instructions. You can have a look at the code in its git repository.

2 comments:

  1. Hi, very nice post. I have been wonder'n bout this issue,so thanks for posting

    ReplyDelete
  2. Why are you so mad about this javascript, I don't understand gnome fame choice this time...

    ReplyDelete