why is it called /boot/beastie.4th ?

Dag-Erling Smørgrav des at des.no
Tue Feb 5 07:33:51 PST 2008


Dag-Erling Smørgrav <des at des.no> writes:
> The kernel splash code supports both BMP (courtesy of Mike Smith, IIRC)
> and PCX (courtesy of yours truly).

I've written a number of PCX decoders over the years, BTW, and I
remember that I once wrote a codec for a stripped-down version which
supported only single-plane 8-bit color.  It turns out that for that
specific case, which was the most common at the time, you could achieve
considerably better compression by dropping the padding at the end of
each scan line, and allowing runs to cross from the end of one scan line
to the beginning of the next (with due consideration given to not
exceeding the width of the run length counter).

Of course, RLE pales in comparison with most other lossless algorithms,
even contemporary ones such as the LZ family.  Considering that an LZ
codec can be implemented with a fairly small amount of code and requires
a fairly small amount of memory for the dictionary, and how poorly RLE
performs with anything more complex than line drawings, it is surprising
that ZSoft even considered it, much less used it in their finished
product.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-chat mailing list