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

Nicholas T ntung
Thu Apr 5 08:11:19 CEST 2007


qdrw seems to have the convenience of rle sequences not wrapping, right?

(just a question, not criticism) why are you using rgb24 instead of
pal8 in qdrw?

Nicholas

On 4/4/07, Kostya <kostya.shishkov at gmail.com> wrote:
> 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
> >
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>


-- 
http://ntung.com




More information about the ffmpeg-devel mailing list