[Ffmpeg-devel] [PATCH] simple internal lzo decoder

Aurelien Jacobs aurel
Tue Jan 10 23:07:00 CET 2006


On Tue, 10 Jan 2006 13:48:44 -0800
Mike Melanson <mike at multimedia.cx> wrote:

> Reimar D?ffinger wrote:
> > Hi,
> > the attached patch adds a simple and probably slow LZO decoder to ffmpeg and
> > makes the CamStudio decoder use it. For simplicity it also disables support
> > for external liblzo if that is wanted (though currently the external
> > decoder would be the default with --enable-gpl, which I think is not a
> > good idea).
> > Please comment (and of course, test it as well).
> > Btw. since I could not find any specs, I created this decompressor by
> > "converting" the original code in a drawing and reimplementing from
> > there (after some "graph-optimizations"). The first time I tried it like
> > this, I guess I really should put up a picture of the drawing when I get the
> > time :-)
> 
> 	Good work. At least we have plausible deniability that this code is not 
> the same as the original decoder which was littered with labels and 
> gotos and had more #ifdef's than actual code. :)
> 
> 	Let's see, what are all the LZ variants? LZ, LZW, LZO, LZMA. What 
> others am I missing?

Tons of others !
At least : LZ77 LZ78 LZSS LZP LZRW LZJH LZH LZX

Aurel





More information about the ffmpeg-devel mailing list