[Libdlo] libtubecable 0.1.1

Florian Echtler floe at butterbrot.org
Wed Jun 10 01:03:10 PDT 2009


> > Oops, you're right. I forgot to test the leaf image, and with offset 70,
> > it actually crashes my device. However, with offset 20, I still get
> > pixel errors sometimes.
> I haven't noticed any pixels errors, but then again, I don't know
> exactly how the leaf image is supposed to look.
You'd notice any pixel errors immediately. They are usually whole runs
of 256 horizontal pixels which are randomly colored.

> And a another 5-10% by not reading the previous pixel in
> dl_huffman_compress(). Instead simply reuse the pixel value
> you have just read:
>      uint16_t prev = 0;
>      ...
>      thispix = pixels[pixel];
>      dl_huffman_append( cs, thispix - prev );
>      prev = thispix;
I've added this to my tree, will push it after I've also merged the
changes from Rene.

Florian
-- 
0666 - Filemode of the Beast



More information about the Libdlo mailing list