[Ffmpeg-devel] Re: Bethsoft VID demuxer and decoder

Kostya kostya.shishkov
Thu Apr 5 06:48:02 CEST 2007


On Wed, Apr 04, 2007 at 11:39:00AM -0700, Nicholas T wrote:
> Hi,
[...]
> >significantly too complex for a rle decoder
> Perhaps this is an illusion of my using comments and long variable
> names? If you look at Konstantine's Autodesk RLE decoder (aasc.c),
> it's 39 lines with a macro, whereas mine is 30 lines (not counting
> comments, whitespace, and lines with only a brace). Nothing against
> Konstantine...I'm sure that decoder has justification, but mine really
> isn't that complex. What would you suggest to simplify it? It's a bit
> of a pain dealing with the linesize and width.

I have not written it, just modified code from msrle.c. My implementation
is in tscc.c (the same algorithm extended for higher depths), mind you
tscc is also my first decoder for FFmpeg. For simpler RLE see qdrw.c

[...]
> 
> Nicholas
> 
> -- 
> http://ntung.com
> 




More information about the ffmpeg-devel mailing list