[comp.compression] Y coding

goer@ellis.uchicago.edu (Richard L. Goerwitz) (04/18/91)

Some months ago, an introduction to Y coding was posted (one which
served more as a general intro to compression techniques).  I can't
seem to find my copy around.  Does someone have a copy they would
be willing to mail.

Note:  This introduction was quite good.

-Richard
-- 

   -Richard L. Goerwitz              goer%sophist@uchicago.bitnet
   goer@sophist.uchicago.edu         rutgers!oddjob!gide!sophist!goer

brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (04/19/91)

In article <1991Apr18.051541.21742@midway.uchicago.edu> goer@ellis.uchicago.edu (Richard L. Goerwitz) writes:
> Some months ago, an introduction to Y coding was posted (one which
> served more as a general intro to compression techniques).

Well, it only covers the methods leading up to Y---LZW, MW, and AP---
and then Y takes up the second half of the paper. There are lots of
other methods around, such as arithmetic coding (which Peter Gutmann
describes in his introductory paper).

> I can't
> seem to find my copy around.  Does someone have a copy they would
> be willing to mail.

The latest draft (4b) is in the yabbawhap package, comp.sources.unix
volume 24.

> Note:  This introduction was quite good.

Thanks! (So, can I get you a job? :-))

---Dan

ra2@doc.ic.ac.uk (Roger Attrill) (05/09/91)

Sorry if this has been asked before, but I've been absent from the group
for a while. Does anyone have some code - preferably C - implementing
the Y coding which was described here some time ago.
 Thanks.

 Ciao

 Roger

rjwalsh@unix2.tcd.ie (Robert Walsh) (05/09/91)

In <1991May8.194136.3683@doc.ic.ac.uk> ra2@doc.ic.ac.uk (Roger Attrill) writes:

>Sorry if this has been asked before, but I've been absent from the group
>for a while. Does anyone have some code - preferably C - implementing
>the Y coding which was described here some time ago.
> Thanks.

Could someone mail me a copy of this also? Thanx.
--
********************************************************************************
*					*				       *
*	Robert Walsh			*				       *
*	School of Engineering		*	Email: rjwalsh@unix2.tcd.ie    *

brnstnd@kramden.acf.nyu.edu (Dan Bernstein) (05/14/91)

In article <1991May8.194136.3683@doc.ic.ac.uk> ra2@doc.ic.ac.uk (Roger Attrill) writes:
> Sorry if this has been asked before, but I've been absent from the group
> for a while. Does anyone have some code - preferably C - implementing
> the Y coding which was described here some time ago.

The reference implementation of Y coding is my yabbawhap package, in
comp.sources.unix volume 24. The source is in C, and it's been reported
to work under a variety of UNIX and non-UNIX systems.

---Dan

gtoal@tharr.UUCP (Graham Toal) (05/19/91)

In article <26227:May1416:59:4091@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
:In article <1991May8.194136.3683@doc.ic.ac.uk> ra2@doc.ic.ac.uk (Roger Attrill) writes:
:> Sorry if this has been asked before, but I've been absent from the group
:> for a while. Does anyone have some code - preferably C - implementing
:> the Y coding which was described here some time ago.
:
:The reference implementation of Y coding is my yabbawhap package, in
:comp.sources.unix volume 24. The source is in C, and it's been reported
:to work under a variety of UNIX and non-UNIX systems.

Dan - has anyone hacked yabba yet so that it can be used as an
encapsulated part of other programs - for instance, an interface
like  'init_yabba(); compress_yabba(inblock, insize, outblock, &outsize);
terminate_yabba()' would be ideal! (to fit in my program :-) )

I've almost finished a shell for compression algorithms, which is
a layer of procedures on top of stdio.h -- fopen(file, mode) for
example would open a compressed file, which you could then read from
with fread().  The compressed file is compressed in blocks, and
there is a spine-block for fast access to random bytes within the
file.  The compression is totally transparent; for instance seeking
to the end of the file and doing an ftell() returns the size of
the expanded file.

(If you use the fake fopen() (which is a macro calling qfopen() ), and
the file doesn't have a compressed magic number, you'll still be able
to read it with the fake calls - at the lowish cost of one extra
level of procedure entry)

I'd quite like to include yabba as one of the base compression algorithms,
hence why I'm asking if anyone has mangled it into a blocked interface...

Regards
Graham
-- 
(* Posted from tharr.uucp - Public Access Unix - +44 (234) 841503 *)