From: Colin D Bennett <colin@gibibit.com>
To: grub-devel@gnu.org
Subject: DEFLATE compression
Date: Mon, 23 Jun 2008 06:36:55 -0700 [thread overview]
Message-ID: <20080623063655.068e5154@gibibit.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
How does GRUB support decompressing DEFLATE compressed data? Based on
my reading of io/gzio.c, it looks like a gzip header is required to
inflate deflated data.
I am implementing a new font format and will be embedding multiple
blocks of compressed bitmaps in the font file for a good combination of
space efficient on-disk storage and fast read performance during use.
A block of character bitmaps will only be read from the file
and decompressed at run time when a character within that block is
needed. After that, when any character in the block is needed, it is
already decompressed in memory for quick access.
I was going to use DEFLATE compression, it looks like I may have to add
the gzip structure to it, which seems silly since it's just a block of
data within my file.
Also, is it possible to tell the gzio module to decompress a block of
data beginning at a specific offset in the file?
Regards,
Colin
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next reply other threads:[~2008-06-23 13:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-23 13:36 Colin D Bennett [this message]
2008-06-23 14:15 ` DEFLATE compression Bean
2008-06-23 15:14 ` Vesa Jääskeläinen
2008-06-23 15:25 ` Bean
2008-06-23 15:28 ` Vesa Jääskeläinen
2008-06-23 15:36 ` Colin D Bennett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080623063655.068e5154@gibibit.com \
--to=colin@gibibit.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.