All of lore.kernel.org
 help / color / mirror / Atom feed
* DEFLATE compression
@ 2008-06-23 13:36 Colin D Bennett
  2008-06-23 14:15 ` Bean
  0 siblings, 1 reply; 6+ messages in thread
From: Colin D Bennett @ 2008-06-23 13:36 UTC (permalink / raw)
  To: grub-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-23 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 13:36 DEFLATE compression Colin D Bennett
2008-06-23 14:15 ` 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

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.