[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why is it called /boot/beastie.4th ?
- To: Oliver Fromme <olli_(_at_)_lurza_(_dot_)_secnetix_(_dot_)_de>
- Subject: Re: why is it called /boot/beastie.4th ?
- From: Dag-Erling Smørgrav <des_(_at_)_des_(_dot_)_no>
- Date: Tue, 05 Feb 2008 16:33:42 +0100
- Cc: freebsd-chat_(_at_)_FreeBSD_(_dot_)_ORG
Dag-Erling Smørgrav <des_(_at_)_des_(_dot_)_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
Dag-Erling Smørgrav - des_(_at_)_des_(_dot_)_no
freebsd-chat_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-chat-unsubscribe_(_at_)_freebsd_(_dot_)_org"